ATLAS Offline Software
Loading...
Searching...
No Matches
TrackParticleTruthDecorationAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ACTSTRK_TRACKPARTICLETRUTHDECORATIONALG_H
6#define ACTSTRK_TRACKPARTICLETRUTHDECORATIONALG_H 1
7
8#undef NDEBUG
9// Base Class
11
12// Gaudi includes
13#include "Gaudi/Property.h"
14
15// Handle Keys
17
22
23namespace ActsTrk
24{
26 {
27 public:
29
30 virtual StatusCode initialize() override;
31 virtual StatusCode finalize() override;
32 virtual StatusCode execute(const EventContext &ctx) const override;
33
34 private:
36 {this, "TrackToTruthAssociationMaps",{},
37 "Association maps from tracks to generator particles for all Acts tracks linked from the given track particle." };
38
40 {this,"TrackParticleContainerName", "InDetTrackParticles",""};
41
43 std::vector<SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> > m_floatDecor;
44
46 std::vector<SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> > m_intDecor;
48 {this, "TruthClassification", m_trkParticleName, "truthClassification"};
49
50 ToolHandle<IMCTruthClassifier> m_truthClassifier
51 {this, "MCTruthClassifier", "MCTruthClassifier/MCTruthClassifier"};
52
55
56 };
57
58} // namespace
59
60#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKeyArray< TrackToTruthParticleAssociation > m_trackToTruth
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trkParticleName
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_truthClassDecor
std::vector< SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > > m_floatDecor
TrackTruthMatchingBaseAlg(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > > m_intDecor
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_linkDecor
TrackTruthMatchingBaseAlg(const std::string &name, ISvcLocator *pSvcLocator)
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.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray