ATLAS Offline Software
TrackParticleCaloCellDecorator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /* TrackParticleCaloCellDecorator.h */
6 /* Decorates the InDetTrackParticles Container with calorimeter */
7 /* cell information. */
8 
9 #ifndef DERIVATIONFRAMEWORK_TRACKPARTICLECALOCELLDECORATOR_H
10 #define DERIVATIONFRAMEWORK_TRACKPARTICLECALOCELLDECORATOR_H
11 
12 #include <string>
13 
18 
19 namespace DerivationFramework {
20 
21  class TrackParticleCaloCellDecorator : public extends<AthAlgTool, IAugmentationTool> {
22  public:
23  TrackParticleCaloCellDecorator(const std::string& t, const std::string& n, const IInterface* p);
24  virtual StatusCode initialize() override;
25  virtual StatusCode addBranches() const override;
26 
27  private:
28  StringProperty m_sgName {
29  this, "DecorationPrefix", "", "decoration prefix"};
31  this, "ContainerName", "", "track particle container name"};
32 
34  this, "decCellEtaKey", "_CaloCellEta"};
36  this, "decCellPhiKey", "_CaloCellPhi"};
38  this, "decCellRKey", "_CaloCellR"};
40  this, "decCelldEtaKey", "_CaloCelldEta"};
42  this, "decCelldPhiKey", "_CaloCelldPhi"};
44  this, "decCelldRKey", "_CaloCelldR"};
46  this, "decCellXKey", "_CaloCellX"};
48  this, "decCellYKey", "_CaloCellY"};
50  this, "decCellZKey", "_CaloCellZ"};
52  this, "decCelldXKey", "_CaloCelldX"};
54  this, "decCelldYKey", "_CaloCelldY"};
56  this, "decCelldZKey", "_CaloCelldZ"};
58  this, "decCellTKey", "_CaloCellTime"};
60  this, "decCellEKey", "_CaloCellE"};
62  this, "decCellIDKey", "_CaloCellID"};
64  this, "decCellSamplingKey", "_CaloCellSampling"};
66  this, "decCellQualityKey", "_CaloCellQuality"};
68  this, "decCellProvenanceKey", "_CaloCellProvenance"};
70  this, "decCellGainKey", "_CaloCellGain"};
72  this, "decCellEneDiffKey", "_CaloCellEneDiff"};
74  this, "decCellTimeDiffKey", "_CaloCellTimeDiff"};
75  };
76 }
77 
78 #endif // DERIVATIONFRAMEWORK_TRACKPARTICLECALOCELLDECORATOR_H
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer >
DerivationFramework::TrackParticleCaloCellDecorator::m_trackContainerKey
SG::ReadHandleKey< xAOD::TrackParticleClusterAssociationContainer > m_trackContainerKey
Definition: TrackParticleCaloCellDecorator.h:30
DerivationFramework::TrackParticleCaloCellDecorator::m_sgName
StringProperty m_sgName
Definition: TrackParticleCaloCellDecorator.h:28
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellGainKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellGainKey
Definition: TrackParticleCaloCellDecorator.h:69
TrackParticleClusterAssociationContainer.h
DerivationFramework::TrackParticleCaloCellDecorator::m_decCelldPhiKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCelldPhiKey
Definition: TrackParticleCaloCellDecorator.h:41
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellTimeDiffKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellTimeDiffKey
Definition: TrackParticleCaloCellDecorator.h:73
IAugmentationTool.h
DerivationFramework::TrackParticleCaloCellDecorator::m_decCelldEtaKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCelldEtaKey
Definition: TrackParticleCaloCellDecorator.h:39
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellZKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellZKey
Definition: TrackParticleCaloCellDecorator.h:49
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellYKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellYKey
Definition: TrackParticleCaloCellDecorator.h:47
DerivationFramework::TrackParticleCaloCellDecorator::m_decCelldXKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCelldXKey
Definition: TrackParticleCaloCellDecorator.h:51
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellEtaKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellEtaKey
Definition: TrackParticleCaloCellDecorator.h:33
DerivationFramework::TrackParticleCaloCellDecorator::m_decCelldRKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCelldRKey
Definition: TrackParticleCaloCellDecorator.h:43
DerivationFramework::TrackParticleCaloCellDecorator
Definition: TrackParticleCaloCellDecorator.h:21
DerivationFramework::TrackParticleCaloCellDecorator::TrackParticleCaloCellDecorator
TrackParticleCaloCellDecorator(const std::string &t, const std::string &n, const IInterface *p)
Definition: TrackParticleCaloCellDecorator.cxx:15
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework::TrackParticleCaloCellDecorator::m_decCelldZKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCelldZKey
Definition: TrackParticleCaloCellDecorator.h:55
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellXKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellXKey
Definition: TrackParticleCaloCellDecorator.h:45
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellPhiKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellPhiKey
Definition: TrackParticleCaloCellDecorator.h:35
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellIDKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellIDKey
Definition: TrackParticleCaloCellDecorator.h:61
DerivationFramework::TrackParticleCaloCellDecorator::initialize
virtual StatusCode initialize() override
Definition: TrackParticleCaloCellDecorator.cxx:20
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::TrackParticleCaloCellDecorator::m_decCelldYKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCelldYKey
Definition: TrackParticleCaloCellDecorator.h:53
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellTKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellTKey
Definition: TrackParticleCaloCellDecorator.h:57
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellSamplingKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellSamplingKey
Definition: TrackParticleCaloCellDecorator.h:63
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellRKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellRKey
Definition: TrackParticleCaloCellDecorator.h:37
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellEKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellEKey
Definition: TrackParticleCaloCellDecorator.h:59
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellQualityKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellQualityKey
Definition: TrackParticleCaloCellDecorator.h:65
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellProvenanceKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellProvenanceKey
Definition: TrackParticleCaloCellDecorator.h:67
TrackParticleContainer.h
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellEneDiffKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellEneDiffKey
Definition: TrackParticleCaloCellDecorator.h:71
DerivationFramework::TrackParticleCaloCellDecorator::addBranches
virtual StatusCode addBranches() const override
Definition: TrackParticleCaloCellDecorator.cxx:81