|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ACTSGEOMETRY_ACTSPROPSTEPROOTWRITERSVC_H
6 #define ACTSGEOMETRY_ACTSPROPSTEPROOTWRITERSVC_H
9 #include "GaudiKernel/IInterface.h"
10 #include "Gaudi/Property.h"
14 #include "Acts/EventData/TrackParameters.hpp"
29 class ExtrapolationCell;
64 Gaudi::Property<std::string>
m_filePath{
this,
"FilePath",
"propsteps.root",
"Output root file for charged particle"};
65 Gaudi::Property<std::string>
m_treeName{
this,
"TreeName",
"propsteps",
""};
std::vector< int > m_s_sensitiveID
sensitive identification
virtual StatusCode initialize() override
std::deque< queue_item_t > m_queue
TTree * m_outputTree
the output tree
virtual StatusCode finalize() override
std::vector< int > m_s_layerID
layer identification
void write(const StepVector &steps) override
std::vector< float > m_s_pY
global position y of the step
std::vector< int > m_s_boundaryID
boundary identification
void doWrite(const StepVector &steps, size_t evtNum)
ActsPropStepRootWriterSvc(const std::string &name, ISvcLocator *svc)
std::vector< float > m_s_pX
global position x of the step
::StatusCode StatusCode
StatusCode definition for legacy code.
AthROOTErrorHandlerSvc * svc
std::vector< Acts::detail::Step > StepVector
std::vector< int > m_s_approachID
approach identification
Gaudi::Property< std::string > m_treeName
std::vector< float > m_s_pZ
global position z of the step
std::vector< float > m_s_pR
global position z of the step
std::pair< size_t, StepVector > queue_item_t
TFile * m_outputFile
the output file
std::vector< int > m_s_volumeID
volume identification
Gaudi::Property< std::string > m_filePath
std::thread m_writeThread
std::atomic< bool > m_doEnd