ATLAS Offline Software
TrackParticleCaloCellDecorator.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 /* 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 
24  using base_class::base_class;
25 
26  virtual StatusCode initialize() override final;
27  virtual StatusCode addBranches(const EventContext& ctx) const override final;
28 
29  private:
31  this, "ContainerName", "", "track particle container name"};
32 
34  this, "ClusterAssocContainerName", "", "track particle container name"};
35 
37  this, "decCellEtaKey", m_trackParticleContainerKey, "_CaloCellEta"};
39  this, "decCellPhiKey", m_trackParticleContainerKey, "_CaloCellPhi"};
41  this, "decCellRKey", m_trackParticleContainerKey, "_CaloCellR"};
43  this, "decCelldEtaKey", m_trackParticleContainerKey, "_CaloCelldEta"};
45  this, "decCelldPhiKey", m_trackParticleContainerKey, "_CaloCelldPhi"};
47  this, "decCelldRKey", m_trackParticleContainerKey, "_CaloCelldR"};
49  this, "decCellXKey", m_trackParticleContainerKey, "_CaloCellX"};
51  this, "decCellYKey", m_trackParticleContainerKey, "_CaloCellY"};
53  this, "decCellZKey", m_trackParticleContainerKey, "_CaloCellZ"};
55  this, "decCelldXKey", m_trackParticleContainerKey, "_CaloCelldX"};
57  this, "decCelldYKey", m_trackParticleContainerKey, "_CaloCelldY"};
59  this, "decCelldZKey", m_trackParticleContainerKey, "_CaloCelldZ"};
61  this, "decCellTKey", m_trackParticleContainerKey, "_CaloCellTime"};
63  this, "decCellEKey", m_trackParticleContainerKey, "_CaloCellE"};
65  this, "decCellIDKey", m_trackParticleContainerKey, "_CaloCellID"};
67  this, "decCellSamplingKey", m_trackParticleContainerKey, "_CaloCellSampling"};
69  this, "decCellQualityKey", m_trackParticleContainerKey, "_CaloCellQuality"};
71  this, "decCellProvenanceKey", m_trackParticleContainerKey, "_CaloCellProvenance"};
73  this, "decCellGainKey", m_trackParticleContainerKey, "_CaloCellGain"};
75  this, "decCellEneDiffKey", m_trackParticleContainerKey, "_CaloCellEneDiff"};
77  this, "decCellTimeDiffKey", m_trackParticleContainerKey, "_CaloCellTimeDiff"};
78  };
79 }
80 
81 #endif // DERIVATIONFRAMEWORK_TRACKPARTICLECALOCELLDECORATOR_H
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer >
DerivationFramework::TrackParticleCaloCellDecorator::m_trackContainerKey
SG::ReadHandleKey< xAOD::TrackParticleClusterAssociationContainer > m_trackContainerKey
Definition: TrackParticleCaloCellDecorator.h:33
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellGainKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellGainKey
Definition: TrackParticleCaloCellDecorator.h:72
TrackParticleClusterAssociationContainer.h
DerivationFramework::TrackParticleCaloCellDecorator::m_decCelldPhiKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCelldPhiKey
Definition: TrackParticleCaloCellDecorator.h:44
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellTimeDiffKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellTimeDiffKey
Definition: TrackParticleCaloCellDecorator.h:76
IAugmentationTool.h
DerivationFramework::TrackParticleCaloCellDecorator::m_decCelldEtaKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCelldEtaKey
Definition: TrackParticleCaloCellDecorator.h:42
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellZKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellZKey
Definition: TrackParticleCaloCellDecorator.h:52
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellYKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellYKey
Definition: TrackParticleCaloCellDecorator.h:50
DerivationFramework::TrackParticleCaloCellDecorator::m_decCelldXKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCelldXKey
Definition: TrackParticleCaloCellDecorator.h:54
SG::ReadHandleKey< xAOD::TrackParticleContainer >
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellEtaKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellEtaKey
Definition: TrackParticleCaloCellDecorator.h:36
DerivationFramework::TrackParticleCaloCellDecorator::m_decCelldRKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCelldRKey
Definition: TrackParticleCaloCellDecorator.h:46
DerivationFramework::TrackParticleCaloCellDecorator
Definition: TrackParticleCaloCellDecorator.h:21
DerivationFramework::TrackParticleCaloCellDecorator::initialize
virtual StatusCode initialize() override final
Definition: TrackParticleCaloCellDecorator.cxx:15
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:58
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellXKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellXKey
Definition: TrackParticleCaloCellDecorator.h:48
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellPhiKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellPhiKey
Definition: TrackParticleCaloCellDecorator.h:38
DerivationFramework::TrackParticleCaloCellDecorator::m_trackParticleContainerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackParticleContainerKey
Definition: TrackParticleCaloCellDecorator.h:30
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellIDKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellIDKey
Definition: TrackParticleCaloCellDecorator.h:64
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::TrackParticleCaloCellDecorator::m_decCelldYKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCelldYKey
Definition: TrackParticleCaloCellDecorator.h:56
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellTKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellTKey
Definition: TrackParticleCaloCellDecorator.h:60
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellSamplingKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellSamplingKey
Definition: TrackParticleCaloCellDecorator.h:66
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellRKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellRKey
Definition: TrackParticleCaloCellDecorator.h:40
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellEKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellEKey
Definition: TrackParticleCaloCellDecorator.h:62
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellQualityKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellQualityKey
Definition: TrackParticleCaloCellDecorator.h:68
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellProvenanceKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellProvenanceKey
Definition: TrackParticleCaloCellDecorator.h:70
TrackParticleContainer.h
DerivationFramework::TrackParticleCaloCellDecorator::m_decCellEneDiffKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decCellEneDiffKey
Definition: TrackParticleCaloCellDecorator.h:74
DerivationFramework::TrackParticleCaloCellDecorator::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition: TrackParticleCaloCellDecorator.cxx:46