ATLAS Offline Software
AugOriginalCounts.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
11 #ifndef DERIVATIONFRAMEWORKBPHYS_AUGORIGINALCOUNTS_H
12 #define DERIVATIONFRAMEWORKBPHYS_AUGORIGINALCOUNTS_H
13 
15 
16 
19 
23 
24 #include <string>
25 
26 
31 #include <string>
34 
35 namespace DerivationFramework {
61  public:
63  AugOriginalCounts(const std::string& t, const std::string& n,
64  const IInterface* p);
66  virtual StatusCode addBranches() const override;
67  virtual StatusCode initialize() override;
68  private:
72  SG::WriteDecorHandleKey<xAOD::EventInfo> m_OrigPVNTracks{this, "DO_NOT_SET1", "", "internal property"};
73  SG::WriteDecorHandleKey<xAOD::EventInfo> m_OrigNTracksKeys{this, "DO_NOT_SET2", "", "internal property"};
74  SG::WriteDecorHandleKey<xAOD::EventInfo> m_OrigNTracksLRTKeys{this, "DO_NOT_SET22", "", "internal property"};
75  SG::WriteDecorHandleKey<xAOD::EventInfo> m_OrigNtype0{this, "DO_NOT_SET3", "", "internal property"};
76  SG::WriteDecorHandleKey<xAOD::EventInfo> m_OrigNtype1{this, "DO_NOT_SET4", "", "internal property"};
77  SG::WriteDecorHandleKey<xAOD::EventInfo> m_OrigNtype2{this, "DO_NOT_SET5", "", "internal property"};
78  SG::WriteDecorHandleKey<xAOD::EventInfo> m_OrigNtype3{this, "DO_NOT_SET6", "", "internal property"};
79  SG::WriteDecorHandleKey<xAOD::EventInfo> m_OrigNtypeUnknown{this, "DO_NOT_SET7", "", "internal property"};
80 
81  SG::WriteDecorHandleKey<xAOD::VertexContainer> m_OrigSqrtPt2Sum{this, "DO_NOT_SET8", "", "internal property"};
82  SG::WriteDecorHandleKey<xAOD::VertexContainer> m_d_nPVTracks{this, "DO_NOT_SET9", "", "internal property"};
90  };
91 }
92 
93 #endif // DERIVATIONFRAMEWORKBPHYS_AUGORIGINALCOUNTS_H
SG::WriteDecorHandleKey< xAOD::EventInfo >
DerivationFramework::AugOriginalCounts::m_PVContainername
SG::ReadHandleKey< xAOD::VertexContainer > m_PVContainername
Definition: AugOriginalCounts.h:85
IAugmentationTool.h
DerivationFramework::AugOriginalCounts::m_OrigPVNTracks
SG::WriteDecorHandleKey< xAOD::EventInfo > m_OrigPVNTracks
Definition: AugOriginalCounts.h:72
DerivationFramework::AugOriginalCounts::AugOriginalCounts
AugOriginalCounts(const std::string &t, const std::string &n, const IInterface *p)
Main constructor.
Definition: AugOriginalCounts.cxx:17
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::ReadHandleKey< xAOD::TrackParticleContainer >
DerivationFramework::AugOriginalCounts::m_OrigNtype1
SG::WriteDecorHandleKey< xAOD::EventInfo > m_OrigNtype1
Definition: AugOriginalCounts.h:76
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::AugOriginalCounts::initialize
virtual StatusCode initialize() override
Definition: AugOriginalCounts.cxx:37
DerivationFramework::AugOriginalCounts::m_addNTracksToPVs
bool m_addNTracksToPVs
Definition: AugOriginalCounts.h:87
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
DerivationFramework::AugOriginalCounts
Augmentation with primary vertex counts (before thinning)
Definition: AugOriginalCounts.h:60
DerivationFramework::AugOriginalCounts::m_OrigNTracksLRTKeys
SG::WriteDecorHandleKey< xAOD::EventInfo > m_OrigNTracksLRTKeys
Definition: AugOriginalCounts.h:74
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
DerivationFramework::AugOriginalCounts::m_OrigNtypeUnknown
SG::WriteDecorHandleKey< xAOD::EventInfo > m_OrigNtypeUnknown
Definition: AugOriginalCounts.h:79
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::AugOriginalCounts::m_addPVCountsByType
bool m_addPVCountsByType
Definition: AugOriginalCounts.h:86
DerivationFramework::AugOriginalCounts::m_OrigNtype3
SG::WriteDecorHandleKey< xAOD::EventInfo > m_OrigNtype3
Definition: AugOriginalCounts.h:78
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::AugOriginalCounts::addBranches
virtual StatusCode addBranches() const override
Main method called for each event.
Definition: AugOriginalCounts.cxx:90
DerivationFramework::AugOriginalCounts::m_d_nPVTracks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_d_nPVTracks
Definition: AugOriginalCounts.h:82
DerivationFramework::AugOriginalCounts::m_addSqrtPt2SumToPVs
bool m_addSqrtPt2SumToPVs
Definition: AugOriginalCounts.h:88
DerivationFramework::AugOriginalCounts::m_OrigNTracksKeys
SG::WriteDecorHandleKey< xAOD::EventInfo > m_OrigNTracksKeys
Definition: AugOriginalCounts.h:73
DerivationFramework::AugOriginalCounts::m_OrigNtype2
SG::WriteDecorHandleKey< xAOD::EventInfo > m_OrigNtype2
Definition: AugOriginalCounts.h:77
DerivationFramework::AugOriginalCounts::m_OrigNtype0
SG::WriteDecorHandleKey< xAOD::EventInfo > m_OrigNtype0
Definition: AugOriginalCounts.h:75
EventInfo.h
DerivationFramework::AugOriginalCounts::m_TrackContainerLRTname
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrackContainerLRTname
Definition: AugOriginalCounts.h:84
DerivationFramework::AugOriginalCounts::m_OrigSqrtPt2Sum
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_OrigSqrtPt2Sum
Definition: AugOriginalCounts.h:81
VertexContainer.h
DerivationFramework::AugOriginalCounts::m_TrackContainername
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrackContainername
Definition: AugOriginalCounts.h:83
AthAlgTool
Definition: AthAlgTool.h:26
TrackParticleContainer.h