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
18
23
24namespace ActsTrk
25{
27 {
28 public:
29 using TrackTruthMatchingBaseAlg::TrackTruthMatchingBaseAlg;
30
31 virtual StatusCode initialize() override;
32 virtual StatusCode execute(const EventContext &ctx) const override;
33
34 private:
37 {this, "TrackToTruthAssociationMaps",{},
38 "Association maps from tracks to generator particles for all Acts tracks linked from the given track particle." };
39
41 {this,"TrackParticleContainerName", "InDetTrackParticles",""};
42
46
49
53 {this, "TruthClassification", m_trkParticleName, "truthClassification"};
54
55 ToolHandle<IMCTruthClassifier> m_truthClassifier
56 {this, "MCTruthClassifier", "MCTruthClassifier/MCTruthClassifier"};
57
60
61 };
62
63} // namespace
64
65#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKeyArray< xAOD::TrackParticleContainer > m_floatDecor
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_derivateTruthKey
Muon tracks are matched to the truth particle container insert a bypass to bend the link to the desir...
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKeyArray< TrackToTruthParticleAssociation > m_trackToTruth
Hit-based truth matching from the Acts::Track -> truth particle.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trkParticleName
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_truthClassDecor
SG::WriteDecorHandleKeyArray< xAOD::TrackParticleContainer > m_intDecor
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_linkDecor
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...
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray