ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
TauAnalysisAlgorithms
TauAnalysisAlgorithms
TauExtraVariablesAlg.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 TAU_EXTRA_VARIABLES_ALG_H
8
#define TAU_EXTRA_VARIABLES_ALG_H
9
10
#include <
AnaAlgorithm/AnaReentrantAlgorithm.h
>
11
#include <
AsgDataHandles/ReadHandleKey.h
>
12
#include <
AsgDataHandles/WriteDecorHandleKey.h
>
13
#include <
xAODTau/TauJetContainer.h
>
14
15
namespace
CP
{
16
17
class
TauExtraVariablesAlg
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::TauJetContainer>
m_tausKey
{
this
,
"taus"
,
""
,
"the input tau jet container"
};
26
SG::WriteDecorHandleKey<xAOD::TauJetContainer>
m_nTracksChargedKey
{
this
,
"nTracksCharged"
,
"nTracksCharged"
,
"decoration name for tau number of tracks"
};
27
};
28
29
}
// namespace
30
31
#endif
AnaReentrantAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
TauJetContainer.h
CP::TauExtraVariablesAlg
Definition
TauExtraVariablesAlg.h:17
CP::TauExtraVariablesAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
TauExtraVariablesAlg.cxx:30
CP::TauExtraVariablesAlg::initialize
virtual StatusCode initialize() override
Definition
TauExtraVariablesAlg.cxx:15
CP::TauExtraVariablesAlg::m_nTracksChargedKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_nTracksChargedKey
Definition
TauExtraVariablesAlg.h:26
CP::TauExtraVariablesAlg::m_tausKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_tausKey
Definition
TauExtraVariablesAlg.h:25
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