|
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_write_mutex_ |
| protect multi-threaded writes | |
| TFile * | m_output_file_ |
| the output file name | |
| TTree * | m_output_tree_ |
| the output tree | |
| int | m_event_nr_ |
| the event number of | |
| std::vector< int > | m_boundary_id_ |
| boundary identifier | |
| std::vector< int > | m_layer_id_ |
| layer identifier if | |
| std::vector< int > | m_approach_id_ |
| surface identifier | |
| std::vector< int > | m_sensitive_id_ |
| 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::file_mode_, tracking::sim::PropagatorStepWriter::Config::file_path_, m_approach_id_, m_boundary_id_, m_cfg_, m_dx_, m_dy_, m_dz_, m_event_nr_, m_hit_x_, m_hit_y_, m_hit_z_, m_layer_id_, m_output_file_, m_output_tree_, m_sensitive_id_, 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::tree_name_.
| tracking::sim::PropagatorStepWriter::~PropagatorStepWriter | ( | ) |
Close the file if it's yours
Definition at line 64 of file PropagatorStepWriter.cxx.
References m_cfg_, m_output_file_, m_output_tree_, and tracking::sim::PropagatorStepWriter::Config::root_file_.
| 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 73 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().