5#ifndef XAODCREATORALGS_TRACKPARTICLECREATOR_H
6#define XAODCREATORALGS_TRACKPARTICLECREATOR_H
52 using AthReentrantAlgorithm::AthReentrantAlgorithm;
57 virtual StatusCode
execute(
const EventContext& ctx)
const;
67 ToolHandle<Trk::ITrackParticleCreatorTool>
m_particleCreator{
this,
"TrackParticleCreator",
"Trk::TrackParticleCreatorTool/TrackParticleCreatorTool" };
69 ToolHandle<IMCTruthClassifier>
m_truthClassifier{
this,
"MCTruthClassifier",
"MCTruthClassifier/MCTruthClassifier",
70 " MCTruthClassifier Instance to use "};
73 ToolHandle<xAODMaker::ITrackCollectionCnvTool>
m_TrackCollectionCnvTool{
this,
"TrackCollectionCnvTool",
"xAODMaker::TrackCollectionCnvTool/TrackCollectionCnvTool"};
93 ToolHandle<ITrackParticleMonitoring>
m_trackMonitoringTool{
this,
"TrkMonTool",
"",
"Tracking Monitoring tool" };
96 ToolHandle<GenericMonitoringTool >
m_monTool {
this,
"MonTool",
"",
"Monitoring tool" };
105 StatusCode
convert(
const EventContext& ctx,
Maintain a set of objects, one per slot.
std::map< int, std::tuple< Trk::Track *, double, xAOD::RejectionStep, xAOD::RejectionReason, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, float, float, int, std::vector< xAOD::RejectionStep >, std::vector< xAOD::RejectionReason > > > ObservedTrackMap
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Algorithm creating xAOD::TrackParticles from TrackParticles.
SG::ReadHandleKey< xAODTruthParticleLinkVector > m_truthParticleLinkVec
ToolHandle< GenericMonitoringTool > m_monTool
StatusCode convert(const EventContext &ctx, const TrackCollection &trackColl, const TrackTruthCollection *assocTruthColl, xAOD::TrackParticleContainer &outTrackCont, const xAODTruthParticleLinkVector *, const xAOD::Vertex *primaryVertex, const ObservedTrackMap *obs_track_map) const
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_truthOriginKey
ToolHandle< ITrackParticleMonitoring > m_trackMonitoringTool
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_truthTypeKey
ToolHandle< xAODMaker::ITrackCollectionCnvTool > m_TrackCollectionCnvTool
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_truthProbKey
virtual StatusCode initialize()
Function initialising the algorithm.
Gaudi::Property< bool > m_addTruthLink
toggle on adding truth links
virtual StatusCode execute(const EventContext &ctx) const
Function executing the algorithm.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_trackLinkKey
SG::ReadHandleKey< TrackTruthCollection > m_trackTruth
SG::ReadHandleKey< ObservedTrackMap > m_tracksMap
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_xaodout
Gaudi::Property< bool > m_augmentObservedTracks
SG::ReadHandleKey< TrackCollection > m_tracks
SG::ReadHandleKey< xAOD::VertexContainer > m_primaryVertexContainer
Gaudi::Property< bool > m_convertTracks
toggle on converting tracks to xAOD
ToolHandle< IMCTruthClassifier > m_truthClassifier
ToolHandle to truth classifier.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_truthClassKey
Gaudi::Property< bool > m_doMonitoring
ToolHandle< Trk::ITrackParticleCreatorTool > m_particleCreator
The key for the input TrackParticleTruthCollection.
Vertex_v1 Vertex
Define the latest version of the vertex class.
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".