ATLAS Offline Software
Loading...
Searching...
No Matches
TrackParticleTruthAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRACKPARTICLETRUTHALG_H
6#define TRACKPARTICLETRUTHALG_H
7
8
16
18public:
19 using AthReentrantAlgorithm::AthReentrantAlgorithm;
20
21 virtual StatusCode initialize() override;
22 virtual StatusCode execute(const EventContext& ctx) const override;
23
24private:
25
26SG::ReadHandleKey<xAOD::TrackParticleContainer> m_trkKey{this, "TrackParticleName", "InDetTrackParticles",
27 "TrackParticle input name"};
34
36 {this, "xAODTruthLinkVector", "xAODTruthLinks",
37 "link vector to map HepMC onto xAOD truth"};
39 {this, "TrackTruthName", "TrackTruthCollection",
40 "Track(Particle)TruthCollection input name"};
41
42 ToolHandle<IMCTruthClassifier> m_truthClassifier{this, "MCTruthClassifier",
43 "MCTruthClassifier/MCTruthClassifier"};
44};
45
46#endif/*TRACKTRUTHSELECTOR_H*/
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.
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.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_particlesOriginKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_particlesTypeKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trkKey
virtual StatusCode initialize() override
ToolHandle< IMCTruthClassifier > m_truthClassifier
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< TrackTruthCollection > m_truthTracksKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_particlesLinkKey
SG::ReadHandleKey< xAODTruthParticleLinkVector > m_truthParticleLinkVecKey