ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
TauAnalysisAlgorithms
TauAnalysisAlgorithms
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
10
#include <
AnaAlgorithm/AnaReentrantAlgorithm.h
>
11
#include <
AsgDataHandles/ReadHandleKey.h
>
12
#include <
AsgDataHandles/WriteDecorHandleKey.h
>
13
#include <
xAODTau/DiTauJetContainer.h
>
14
15
namespace
CP
{
16
17
class
DiTauExtraVariablesAlg
final :
public
EL::AnaReentrantAlgorithm
{
18
19
public
:
20
using
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
;
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_nSubjetsKey
{
this
,
"nSubjets"
,
"nSubjets"
,
"decoration for the number of subjets"
};
28
29
SG::WriteDecorHandleKey<xAOD::DiTauJetContainer>
m_omniScoreKey
{
this
,
"omniScore"
,
"omniScore"
,
"decoration name for the ditau ID"
};
30
31
SG::WriteDecorHandleKey<xAOD::DiTauJetContainer>
m_leadSubjetPtKey
{
this
,
"leadSubjetPt"
,
"leadSubjetPt"
,
"decoration name for leading subjet pt"
};
32
SG::WriteDecorHandleKey<xAOD::DiTauJetContainer>
m_leadSubjetEtaKey
{
this
,
"leadSubjetEta"
,
"leadSubjetEta"
,
"decoration name for leading subjet eta"
};
33
SG::WriteDecorHandleKey<xAOD::DiTauJetContainer>
m_leadSubjetPhiKey
{
this
,
"leadSubjetPhi"
,
"leadSubjetPhi"
,
"decoration name for leading subjet phi"
};
34
SG::WriteDecorHandleKey<xAOD::DiTauJetContainer>
m_leadSubjetEKey
{
this
,
"leadSubjetE"
,
"leadSubjetE"
,
"decoration name for leading subjet energy"
};
35
SG::WriteDecorHandleKey<xAOD::DiTauJetContainer>
m_leadSubjetNTracksKey
{
this
,
"leadSubjetNTracks"
,
"leadSubjetNTracks"
,
"decoration name for leading subjet number of tracks"
};
36
SG::WriteDecorHandleKey<xAOD::DiTauJetContainer>
m_leadSubjetChargeKey
{
this
,
"leadSubjetCharge"
,
"leadSubjetCharge"
,
"decoration name for leading subjet charge"
};
37
38
SG::WriteDecorHandleKey<xAOD::DiTauJetContainer>
m_subleadSubjetPtKey
{
this
,
"subleadSubjetPt"
,
"subleadSubjetPt"
,
"decoration name for subleading subjet pt"
};
39
SG::WriteDecorHandleKey<xAOD::DiTauJetContainer>
m_subleadSubjetEtaKey
{
this
,
"subleadSubjetEta"
,
"subleadSubjetEta"
,
"decoration name for subleading subjet eta"
};
40
SG::WriteDecorHandleKey<xAOD::DiTauJetContainer>
m_subleadSubjetPhiKey
{
this
,
"subleadSubjetPhi"
,
"subleadSubjetPhi"
,
"decoration name for subleading subjet phi"
};
41
SG::WriteDecorHandleKey<xAOD::DiTauJetContainer>
m_subleadSubjetEKey
{
this
,
"subleadSubjetE"
,
"subleadSubjetE"
,
"decoration name for subleading subjet energy"
};
42
SG::WriteDecorHandleKey<xAOD::DiTauJetContainer>
m_subleadSubjetNTracksKey
{
this
,
"subleadSubjetNTracks"
,
"subleadSubjetNTracks"
,
"decoration name for subleading subjet number of tracks"
};
43
SG::WriteDecorHandleKey<xAOD::DiTauJetContainer>
m_subleadSubjetChargeKey
{
this
,
"subleadSubjetCharge"
,
"subleadSubjetCharge"
,
"decoration name for subleading subjet charge"
};
44
45
};
46
47
}
// namespace
48
49
#endif
AnaReentrantAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
DiTauJetContainer.h
CP::DiTauExtraVariablesAlg
Definition
DiTauExtraVariablesAlg.h:17
CP::DiTauExtraVariablesAlg::m_subleadSubjetPhiKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_subleadSubjetPhiKey
Definition
DiTauExtraVariablesAlg.h:40
CP::DiTauExtraVariablesAlg::m_nSubjetsKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_nSubjetsKey
Definition
DiTauExtraVariablesAlg.h:27
CP::DiTauExtraVariablesAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
DiTauExtraVariablesAlg.cxx:93
CP::DiTauExtraVariablesAlg::initialize
virtual StatusCode initialize() override
Definition
DiTauExtraVariablesAlg.cxx:14
CP::DiTauExtraVariablesAlg::m_subleadSubjetEtaKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_subleadSubjetEtaKey
Definition
DiTauExtraVariablesAlg.h:39
CP::DiTauExtraVariablesAlg::m_ditausKey
SG::ReadHandleKey< xAOD::DiTauJetContainer > m_ditausKey
Definition
DiTauExtraVariablesAlg.h:25
CP::DiTauExtraVariablesAlg::m_leadSubjetEKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_leadSubjetEKey
Definition
DiTauExtraVariablesAlg.h:34
CP::DiTauExtraVariablesAlg::m_omniScoreKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_omniScoreKey
Definition
DiTauExtraVariablesAlg.h:29
CP::DiTauExtraVariablesAlg::m_subleadSubjetPtKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_subleadSubjetPtKey
Definition
DiTauExtraVariablesAlg.h:38
CP::DiTauExtraVariablesAlg::m_leadSubjetPhiKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_leadSubjetPhiKey
Definition
DiTauExtraVariablesAlg.h:33
CP::DiTauExtraVariablesAlg::m_subleadSubjetChargeKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_subleadSubjetChargeKey
Definition
DiTauExtraVariablesAlg.h:43
CP::DiTauExtraVariablesAlg::m_subleadSubjetNTracksKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_subleadSubjetNTracksKey
Definition
DiTauExtraVariablesAlg.h:42
CP::DiTauExtraVariablesAlg::m_leadSubjetPtKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_leadSubjetPtKey
Definition
DiTauExtraVariablesAlg.h:31
CP::DiTauExtraVariablesAlg::m_leadSubjetChargeKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_leadSubjetChargeKey
Definition
DiTauExtraVariablesAlg.h:36
CP::DiTauExtraVariablesAlg::m_leadSubjetNTracksKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_leadSubjetNTracksKey
Definition
DiTauExtraVariablesAlg.h:35
CP::DiTauExtraVariablesAlg::m_subleadSubjetEKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_subleadSubjetEKey
Definition
DiTauExtraVariablesAlg.h:41
CP::DiTauExtraVariablesAlg::m_leadSubjetEtaKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_leadSubjetEtaKey
Definition
DiTauExtraVariablesAlg.h:32
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition
AnaReentrantAlgorithm.h:51
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaReentrantAlgorithm.cxx:29
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
Generated on
for ATLAS Offline Software by
1.17.0