ATLAS Offline Software
|
#include <ActsMaterialTrackWriterSvc.h>
Public Member Functions | |
virtual StatusCode | initialize () override |
virtual StatusCode | finalize () override |
ActsMaterialTrackWriterSvc (const std::string &name, ISvcLocator *svc) | |
virtual void | write (const Acts::RecordedMaterialTrack &mTrack) override |
Private Member Functions | |
void | writerThread () |
void | doWrite (const Acts::RecordedMaterialTrack &mTrack) |
Private Attributes | |
std::deque< Acts::RecordedMaterialTrack > | m_mTracks |
std::mutex | m_writeMutex |
std::thread | m_writeThread |
std::atomic< bool > | m_doEnd |
TFile * | p_tFile {} |
TTree * | p_tree {} |
float | m_v_x {} |
start global x More... | |
float | m_v_y {} |
start global y More... | |
float | m_v_z {} |
start global z More... | |
float | m_v_px {} |
start global momentum x More... | |
float | m_v_py {} |
start global momentum y More... | |
float | m_v_pz {} |
start global momentum z More... | |
float | m_v_phi {} |
start phi direction More... | |
float | m_v_eta {} |
start eta direction More... | |
float | m_tX0 {} |
thickness in X0/L0 More... | |
float | m_tL0 {} |
thickness in X0/L0 More... | |
std::vector< float > | m_step_sx |
step x (start) position (optional) More... | |
std::vector< float > | m_step_sy |
step y (start) position (optional) More... | |
std::vector< float > | m_step_sz |
step z (start) position (optional) More... | |
std::vector< float > | m_step_x |
step x position More... | |
std::vector< float > | m_step_y |
step y position More... | |
std::vector< float > | m_step_z |
step z position More... | |
std::vector< float > | m_step_ex |
step x (end) position (optional) More... | |
std::vector< float > | m_step_ey |
step y (end) position (optional) More... | |
std::vector< float > | m_step_ez |
step z (end) position (optional) More... | |
std::vector< float > | m_step_dx |
step x direction More... | |
std::vector< float > | m_step_dy |
step y direction More... | |
std::vector< float > | m_step_dz |
step z direction More... | |
std::vector< float > | m_step_length |
step length More... | |
std::vector< float > | m_step_X0 |
step material x0 More... | |
std::vector< float > | m_step_L0 |
step material l0 More... | |
std::vector< float > | m_step_A |
step material A More... | |
std::vector< float > | m_step_Z |
step material Z More... | |
std::vector< float > | m_step_rho |
step material rho More... | |
std::vector< std::uint64_t > | m_sur_id |
ID of the suface associated with the step. More... | |
std::vector< int32_t > | m_sur_type |
Type of the suface associated with the step. More... | |
std::vector< float > | m_sur_x |
x position of the center of the suface associated with the step More... | |
std::vector< float > | m_sur_y |
y position of the center of the suface associated with the step More... | |
std::vector< float > | m_sur_z |
z position of the center of the suface associated with the step More... | |
std::vector< float > | m_sur_range_min |
Min range of the suface associated with the step. More... | |
std::vector< float > | m_sur_range_max |
Max range of the suface associated with the step. More... | |
std::vector< std::uint64_t > | m_vol_id |
ID of the volume associated with the step More... | |
ServiceHandle< IActsTrackingGeometrySvc > | m_trackingGeometrySvc |
Gaudi::Property< std::string > | m_filePath {this, "FilePath", "MaterialTracks.root", "Output root file for charged particle"} |
Gaudi::Property< std::string > | m_treeName {this, "TreeName", "material-tracks", ""} |
Gaudi::Property< bool > | m_storeSurface {this, "StoreSurface", true, "Store the surface info in the root file"} |
Gaudi::Property< bool > | m_storeVolume {this, "StoreVolume", true, "Store the volume info in the root file"} |
Gaudi::Property< size_t > | m_maxQueueSize {this, "MaxQueueSize", 5000, "Limit the write queue to this size"} |
Definition at line 24 of file ActsMaterialTrackWriterSvc.h.
ActsMaterialTrackWriterSvc::ActsMaterialTrackWriterSvc | ( | const std::string & | name, |
ISvcLocator * | svc | ||
) |
Definition at line 25 of file ActsMaterialTrackWriterSvc.cxx.
|
private |
Definition at line 171 of file ActsMaterialTrackWriterSvc.cxx.
|
overridevirtual |
Definition at line 87 of file ActsMaterialTrackWriterSvc.cxx.
|
overridevirtual |
Definition at line 31 of file ActsMaterialTrackWriterSvc.cxx.
|
overridevirtual |
Definition at line 107 of file ActsMaterialTrackWriterSvc.cxx.
|
private |
Definition at line 116 of file ActsMaterialTrackWriterSvc.cxx.
|
private |
Definition at line 40 of file ActsMaterialTrackWriterSvc.h.
|
private |
Definition at line 99 of file ActsMaterialTrackWriterSvc.h.
|
private |
Definition at line 103 of file ActsMaterialTrackWriterSvc.h.
|
private |
Definition at line 37 of file ActsMaterialTrackWriterSvc.h.
|
private |
step material A
Definition at line 70 of file ActsMaterialTrackWriterSvc.h.
|
private |
step x direction
Definition at line 64 of file ActsMaterialTrackWriterSvc.h.
|
private |
step y direction
Definition at line 65 of file ActsMaterialTrackWriterSvc.h.
|
private |
step z direction
Definition at line 66 of file ActsMaterialTrackWriterSvc.h.
|
private |
step x (end) position (optional)
Definition at line 61 of file ActsMaterialTrackWriterSvc.h.
|
private |
step y (end) position (optional)
Definition at line 62 of file ActsMaterialTrackWriterSvc.h.
|
private |
step z (end) position (optional)
Definition at line 63 of file ActsMaterialTrackWriterSvc.h.
|
private |
step material l0
Definition at line 69 of file ActsMaterialTrackWriterSvc.h.
|
private |
step length
Definition at line 67 of file ActsMaterialTrackWriterSvc.h.
|
private |
step material rho
Definition at line 72 of file ActsMaterialTrackWriterSvc.h.
|
private |
step x (start) position (optional)
Definition at line 55 of file ActsMaterialTrackWriterSvc.h.
|
private |
step y (start) position (optional)
Definition at line 56 of file ActsMaterialTrackWriterSvc.h.
|
private |
step z (start) position (optional)
Definition at line 57 of file ActsMaterialTrackWriterSvc.h.
|
private |
step x position
Definition at line 58 of file ActsMaterialTrackWriterSvc.h.
|
private |
step material x0
Definition at line 68 of file ActsMaterialTrackWriterSvc.h.
|
private |
step y position
Definition at line 59 of file ActsMaterialTrackWriterSvc.h.
|
private |
step z position
Definition at line 60 of file ActsMaterialTrackWriterSvc.h.
|
private |
step material Z
Definition at line 71 of file ActsMaterialTrackWriterSvc.h.
|
private |
Definition at line 101 of file ActsMaterialTrackWriterSvc.h.
|
private |
Definition at line 102 of file ActsMaterialTrackWriterSvc.h.
|
private |
ID of the suface associated with the step.
Definition at line 75 of file ActsMaterialTrackWriterSvc.h.
|
private |
Max range of the suface associated with the step.
Definition at line 88 of file ActsMaterialTrackWriterSvc.h.
|
private |
Min range of the suface associated with the step.
Definition at line 86 of file ActsMaterialTrackWriterSvc.h.
|
private |
Type of the suface associated with the step.
Definition at line 77 of file ActsMaterialTrackWriterSvc.h.
|
private |
x position of the center of the suface associated with the step
Definition at line 78 of file ActsMaterialTrackWriterSvc.h.
|
private |
y position of the center of the suface associated with the step
Definition at line 80 of file ActsMaterialTrackWriterSvc.h.
|
private |
z position of the center of the suface associated with the step
Definition at line 82 of file ActsMaterialTrackWriterSvc.h.
|
private |
thickness in X0/L0
Definition at line 53 of file ActsMaterialTrackWriterSvc.h.
|
private |
Definition at line 96 of file ActsMaterialTrackWriterSvc.h.
|
private |
Definition at line 100 of file ActsMaterialTrackWriterSvc.h.
|
private |
thickness in X0/L0
Definition at line 52 of file ActsMaterialTrackWriterSvc.h.
|
private |
start eta direction
Definition at line 51 of file ActsMaterialTrackWriterSvc.h.
|
private |
start phi direction
Definition at line 50 of file ActsMaterialTrackWriterSvc.h.
|
private |
start global momentum x
Definition at line 47 of file ActsMaterialTrackWriterSvc.h.
|
private |
start global momentum y
Definition at line 48 of file ActsMaterialTrackWriterSvc.h.
|
private |
start global momentum z
Definition at line 49 of file ActsMaterialTrackWriterSvc.h.
|
private |
start global x
Definition at line 44 of file ActsMaterialTrackWriterSvc.h.
|
private |
start global y
Definition at line 45 of file ActsMaterialTrackWriterSvc.h.
|
private |
start global z
Definition at line 46 of file ActsMaterialTrackWriterSvc.h.
|
private |
ID of the volume associated with the step
Definition at line 91 of file ActsMaterialTrackWriterSvc.h.
|
private |
Definition at line 38 of file ActsMaterialTrackWriterSvc.h.
|
private |
Definition at line 39 of file ActsMaterialTrackWriterSvc.h.
|
private |
Definition at line 41 of file ActsMaterialTrackWriterSvc.h.
|
private |
Definition at line 42 of file ActsMaterialTrackWriterSvc.h.