LDMX Software
|
Classes | |
struct | Config |
Public Member Functions | |
PropagatorStepWriter (const Config &cfg) | |
Constructor with. | |
~PropagatorStepWriter () | |
bool | WriteSteps (framework::Event &event, const std::vector< PropagationSteps > &stepCollection, const std::vector< ldmx::Measurement > &measurements, const Acts::Vector3 &start_pos, const Acts::Vector3 &start_mom) |
Protected Attributes | |
Config | m_cfg |
the configuration object | |
std::mutex | m_writeMutex |
protect multi-threaded writes | |
TFile * | m_outputFile |
the output file name | |
TTree * | m_outputTree |
the output tree | |
int | m_eventNr |
the event number of | |
std::vector< int > | m_boundaryID |
boundary identifier | |
std::vector< int > | m_layerID |
layer identifier if | |
std::vector< int > | m_approachID |
surface identifier | |
std::vector< int > | m_sensitiveID |
surface identifier | |
std::vector< float > | m_x |
global x | |
std::vector< float > | m_y |
global y | |
std::vector< float > | m_z |
global z | |
std::vector< float > | m_dx |
global direction x | |
std::vector< float > | m_dy |
global direction y | |
std::vector< float > | m_dz |
global direction z | |
std::vector< int > | m_step_type |
step type | |
std::vector< float > | m_step_acc |
accuracy | |
std::vector< float > | m_step_act |
actor check | |
std::vector< float > | m_step_abt |
aborter | |
std::vector< float > | m_step_usr |
user | |
std::vector< float > | m_hit_x |
hit location X | |
std::vector< float > | m_hit_y |
hit location Y | |
std::vector< float > | m_hit_z |
hit location Z | |
std::vector< float > | m_start_pos |
start position of the particle propagated | |
std::vector< float > | m_start_mom |
start momentum of the particle propagated | |
Definition at line 29 of file PropagatorStepWriter.h.
tracking::sim::PropagatorStepWriter::PropagatorStepWriter | ( | const Config & | cfg | ) |
Constructor with.
cfg | configuration struct |
output | logging level |
Definition at line 17 of file PropagatorStepWriter.cxx.
References tracking::sim::PropagatorStepWriter::Config::fileMode, tracking::sim::PropagatorStepWriter::Config::filePath, m_approachID, m_boundaryID, m_cfg, m_dx, m_dy, m_dz, m_eventNr, m_hit_x, m_hit_y, m_hit_z, m_layerID, m_outputFile, m_outputTree, m_sensitiveID, m_start_mom, m_start_pos, m_step_abt, m_step_acc, m_step_act, m_step_type, m_step_usr, m_x, m_y, m_z, and tracking::sim::PropagatorStepWriter::Config::treeName.
tracking::sim::PropagatorStepWriter::~PropagatorStepWriter | ( | ) |
Close the file if it's yours
Definition at line 63 of file PropagatorStepWriter.cxx.
References m_cfg, m_outputFile, m_outputTree, and tracking::sim::PropagatorStepWriter::Config::rootFile.
bool tracking::sim::PropagatorStepWriter::WriteSteps | ( | framework::Event & | event, |
const std::vector< PropagationSteps > & | stepCollection, | ||
const std::vector< ldmx::Measurement > & | measurements, | ||
const Acts::Vector3 & | start_pos, | ||
const Acts::Vector3 & | start_mom | ||
) |
Definition at line 72 of file PropagatorStepWriter.cxx.
|
protected |
surface identifier
Definition at line 64 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
boundary identifier
Definition at line 62 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
the configuration object
Definition at line 55 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter(), and ~PropagatorStepWriter().
|
protected |
global direction x
Definition at line 69 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
global direction y
Definition at line 70 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
global direction z
Definition at line 71 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
the event number of
Definition at line 59 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
hit location X
Definition at line 77 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
hit location Y
Definition at line 78 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
hit location Z
Definition at line 79 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
layer identifier if
Definition at line 63 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
the output file name
Definition at line 57 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter(), and ~PropagatorStepWriter().
|
protected |
the output tree
Definition at line 58 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter(), and ~PropagatorStepWriter().
|
protected |
surface identifier
Definition at line 65 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
start momentum of the particle propagated
Definition at line 83 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
start position of the particle propagated
Definition at line 81 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
|
protected |
accuracy
Definition at line 73 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
actor check
Definition at line 74 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
step type
Definition at line 72 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
|
protected |
protect multi-threaded writes
Definition at line 56 of file PropagatorStepWriter.h.
|
protected |
global x
Definition at line 66 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
global y
Definition at line 67 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().
|
protected |
global z
Definition at line 68 of file PropagatorStepWriter.h.
Referenced by PropagatorStepWriter().