ATLAS Offline Software
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/AnaAlgorithm.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::AnaAlgorithm
{
18
19
public
:
20
using
EL::AnaAlgorithm::AnaAlgorithm
;
21
virtual
StatusCode
initialize
()
override
;
22
virtual
StatusCode
execute
()
override
;
23
24
private
:
25
SG::ReadHandleKey<xAOD::TauJetContainer>
m_tausKey
{
this
,
"taus"
,
""
,
"the input tau jet container"
};
26
SG::WriteDecorHandleKey<xAOD::TauJetContainer>
m_nTracksKey
{
this
,
"nTracks"
,
"nTracks"
,
"decoration name for tau number of tracks"
};
27
};
28
29
}
// namespace
30
31
#endif
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition:
StoreGate/StoreGate/WriteDecorHandleKey.h:89
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition:
StoreGate/StoreGate/ReadHandleKey.h:39
CP
Select isolated Photons, Electrons and Muons.
Definition:
Control/xAODRootAccess/xAODRootAccess/TEvent.h:49
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition:
AnaAlgorithm.cxx:40
CP::TauExtraVariablesAlg::m_tausKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_tausKey
Definition:
TauExtraVariablesAlg.h:25
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition:
AnaAlgorithm.h:73
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.
TauJetContainer.h
CP::TauExtraVariablesAlg::execute
virtual StatusCode execute() override
Definition:
TauExtraVariablesAlg.cxx:28
CP::TauExtraVariablesAlg::m_nTracksKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_nTracksKey
Definition:
TauExtraVariablesAlg.h:26
CP::TauExtraVariablesAlg
Definition:
TauExtraVariablesAlg.h:17
CP::TauExtraVariablesAlg::initialize
virtual StatusCode initialize() override
Definition:
TauExtraVariablesAlg.cxx:16
WriteDecorHandleKey.h
Generated on Wed Jan 8 2025 21:17:51 for ATLAS Offline Software by
1.8.18