|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ACTSGEOMETRY_ACTSMATERIALTRACKWRITERSVC_H
6 #define ACTSGEOMETRY_ACTSMATERIALTRACKWRITERSVC_H
12 #include "GaudiKernel/IInterface.h"
13 #include "Gaudi/Property.h"
74 std::vector<std::uint64_t>
90 std::vector<std::uint64_t>
99 Gaudi::Property<std::string>
m_filePath{
this,
"FilePath",
"MaterialTracks.root",
"Output root file for charged particle"};
100 Gaudi::Property<std::string>
m_treeName{
this,
"TreeName",
"material-tracks",
""};
101 Gaudi::Property<bool>
m_storeSurface{
this,
"StoreSurface",
true,
"Store the surface info in the root file"};
102 Gaudi::Property<bool>
m_storeVolume{
this,
"StoreVolume",
true,
"Store the volume info in the root file"};
103 Gaudi::Property<size_t>
m_maxQueueSize{
this,
"MaxQueueSize", 5000,
"Limit the write queue to this size"};
ServiceHandle< IActsTrackingGeometrySvc > m_trackingGeometrySvc
std::vector< float > m_step_dy
step y direction
float m_v_py
start global momentum y
Gaudi::Property< bool > m_storeVolume
std::thread m_writeThread
std::vector< float > m_sur_range_min
Min range of the suface associated with the step.
std::pair< std::pair< Acts::Vector3, Acts::Vector3 >, RecordedMaterial > RecordedMaterialTrack
Recorded material track.
float m_v_eta
start eta direction
float m_v_y
start global y
std::deque< Acts::RecordedMaterialTrack > m_mTracks
std::vector< float > m_sur_x
x position of the center of the suface associated with the step
Gaudi::Property< bool > m_storeSurface
float m_v_pz
start global momentum z
std::vector< float > m_step_A
step material A
std::vector< float > m_step_sz
step z (start) position (optional)
std::vector< int32_t > m_sur_type
Type of the suface associated with the step.
std::vector< float > m_step_dx
step x direction
std::vector< float > m_step_sy
step y (start) position (optional)
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< float > m_step_x
step x position
float m_v_phi
start phi direction
std::vector< float > m_sur_z
z position of the center of the suface associated with the step
std::vector< float > m_sur_y
y position of the center of the suface associated with the step
std::atomic< bool > m_doEnd
std::vector< float > m_step_y
step y position
Gaudi::Property< std::string > m_filePath
AthROOTErrorHandlerSvc * svc
std::vector< float > m_step_dz
step z direction
std::vector< float > m_step_Z
step material Z
std::vector< float > m_step_rho
step material rho
std::vector< float > m_step_L0
step material l0
ActsMaterialTrackWriterSvc(const std::string &name, ISvcLocator *svc)
std::vector< float > m_step_ex
step x (end) position (optional)
float m_v_x
start global x
std::vector< std::uint64_t > m_vol_id
ID of the volume associated with the step
std::vector< float > m_step_ey
step y (end) position (optional)
float m_v_px
start global momentum x
virtual StatusCode initialize() override
virtual StatusCode finalize() override
virtual void write(const Acts::RecordedMaterialTrack &mTrack) override
float m_tL0
thickness in X0/L0
std::vector< float > m_step_z
step z position
Gaudi::Property< std::string > m_treeName
std::vector< float > m_step_ez
step z (end) position (optional)
std::vector< float > m_sur_range_max
Max range of the suface associated with the step.
Gaudi::Property< size_t > m_maxQueueSize
std::vector< std::uint64_t > m_sur_id
ID of the suface associated with the step.
std::vector< float > m_step_length
step length
float m_v_z
start global z
float m_tX0
thickness in X0/L0
std::vector< float > m_step_X0
step material x0
void doWrite(const Acts::RecordedMaterialTrack &mTrack)
std::vector< float > m_step_sx
step x (start) position (optional)