ATLAS Offline Software
DiTauExtraVariablesAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #ifndef DITAU_EXTRA_VARIABLES_ALG_H
8 #define DITAU_EXTRA_VARIABLES_ALG_H
9 
14 
15 namespace CP {
16 
18 
19  public:
21  virtual StatusCode initialize() override;
22  virtual StatusCode execute(const EventContext &ctx) const override;
23 
24  private:
25  SG::ReadHandleKey<xAOD::DiTauJetContainer> m_ditausKey { this, "ditaus", "", "the input ditau jet container" };
26 
27  SG::WriteDecorHandleKey<xAOD::DiTauJetContainer> m_omniScoreKey{this, "omniScore", "omniScore", "decoration name for the ditau ID"};
28 
29  SG::WriteDecorHandleKey<xAOD::DiTauJetContainer> m_leadSubjetPtKey{this, "leadSubjetPt", "leadSubjetPt", "decoration name for leading subjet pt"};
30  SG::WriteDecorHandleKey<xAOD::DiTauJetContainer> m_leadSubjetEtaKey{this, "leadSubjetEta", "leadSubjetEta", "decoration name for leading subjet eta"};
31  SG::WriteDecorHandleKey<xAOD::DiTauJetContainer> m_leadSubjetPhiKey{this, "leadSubjetPhi", "leadSubjetPhi", "decoration name for leading subjet phi"};
32  SG::WriteDecorHandleKey<xAOD::DiTauJetContainer> m_leadSubjetEKey{this, "leadSubjetE", "leadSubjetE", "decoration name for leading subjet energy"};
33  SG::WriteDecorHandleKey<xAOD::DiTauJetContainer> m_leadSubjetNTracksKey{this, "leadSubjetNTracks", "leadSubjetNTracks", "decoration name for leading subjet number of tracks"};
34  SG::WriteDecorHandleKey<xAOD::DiTauJetContainer> m_leadSubjetChargeKey{this, "leadSubjetCharge", "leadSubjetCharge", "decoration name for leading subjet charge"};
35 
36  SG::WriteDecorHandleKey<xAOD::DiTauJetContainer> m_subleadSubjetPtKey{this, "subleadSubjetPt", "subleadSubjetPt", "decoration name for subleading subjet pt"};
37  SG::WriteDecorHandleKey<xAOD::DiTauJetContainer> m_subleadSubjetEtaKey{this, "subleadSubjetEta", "subleadSubjetEta", "decoration name for subleading subjet eta"};
38  SG::WriteDecorHandleKey<xAOD::DiTauJetContainer> m_subleadSubjetPhiKey{this, "subleadSubjetPhi", "subleadSubjetPhi", "decoration name for subleading subjet phi"};
39  SG::WriteDecorHandleKey<xAOD::DiTauJetContainer> m_subleadSubjetEKey{this, "subleadSubjetE", "subleadSubjetE", "decoration name for subleading subjet energy"};
40  SG::WriteDecorHandleKey<xAOD::DiTauJetContainer> m_subleadSubjetNTracksKey{this, "subleadSubjetNTracks", "subleadSubjetNTracks", "decoration name for subleading subjet number of tracks"};
41  SG::WriteDecorHandleKey<xAOD::DiTauJetContainer> m_subleadSubjetChargeKey{this, "subleadSubjetCharge", "subleadSubjetCharge", "decoration name for subleading subjet charge"};
42 
43  };
44 
45 } // namespace
46 
47 #endif
CP::DiTauExtraVariablesAlg::m_leadSubjetEKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_leadSubjetEKey
Definition: DiTauExtraVariablesAlg.h:32
CP::DiTauExtraVariablesAlg::m_subleadSubjetChargeKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_subleadSubjetChargeKey
Definition: DiTauExtraVariablesAlg.h:41
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
CP::DiTauExtraVariablesAlg::m_ditausKey
SG::ReadHandleKey< xAOD::DiTauJetContainer > m_ditausKey
Definition: DiTauExtraVariablesAlg.h:25
CP::DiTauExtraVariablesAlg::m_omniScoreKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_omniScoreKey
Definition: DiTauExtraVariablesAlg.h:27
CP::DiTauExtraVariablesAlg::m_subleadSubjetNTracksKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_subleadSubjetNTracksKey
Definition: DiTauExtraVariablesAlg.h:40
CP::DiTauExtraVariablesAlg::m_subleadSubjetPtKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_subleadSubjetPtKey
Definition: DiTauExtraVariablesAlg.h:36
DiTauJetContainer.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
CP::DiTauExtraVariablesAlg::m_subleadSubjetEKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_subleadSubjetEKey
Definition: DiTauExtraVariablesAlg.h:39
CP::DiTauExtraVariablesAlg::m_leadSubjetNTracksKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_leadSubjetNTracksKey
Definition: DiTauExtraVariablesAlg.h:33
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:25
CP::DiTauExtraVariablesAlg::m_leadSubjetChargeKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_leadSubjetChargeKey
Definition: DiTauExtraVariablesAlg.h:34
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CP::DiTauExtraVariablesAlg::m_subleadSubjetPhiKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_subleadSubjetPhiKey
Definition: DiTauExtraVariablesAlg.h:38
CP::DiTauExtraVariablesAlg::m_leadSubjetEtaKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_leadSubjetEtaKey
Definition: DiTauExtraVariablesAlg.h:30
columnar::final
CM final
Definition: ColumnAccessor.h:106
CP::DiTauExtraVariablesAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: DiTauExtraVariablesAlg.cxx:88
CP::DiTauExtraVariablesAlg::initialize
virtual StatusCode initialize() override
Definition: DiTauExtraVariablesAlg.cxx:14
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaReentrantAlgorithm.cxx:29
CP::DiTauExtraVariablesAlg::m_leadSubjetPtKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_leadSubjetPtKey
Definition: DiTauExtraVariablesAlg.h:29
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition: AnaReentrantAlgorithm.h:51
WriteDecorHandleKey.h
CP::DiTauExtraVariablesAlg::m_subleadSubjetEtaKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_subleadSubjetEtaKey
Definition: DiTauExtraVariablesAlg.h:37
AnaReentrantAlgorithm.h
CP::DiTauExtraVariablesAlg
Definition: DiTauExtraVariablesAlg.h:17
CP::DiTauExtraVariablesAlg::m_leadSubjetPhiKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_leadSubjetPhiKey
Definition: DiTauExtraVariablesAlg.h:31