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/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
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::TauExtraVariablesAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition:
TauExtraVariablesAlg.cxx:27
CP
Select isolated Photons, Electrons and Muons.
Definition:
Control/xAODRootAccess/xAODRootAccess/TEvent.h:49
CP::TauExtraVariablesAlg::m_tausKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_tausKey
Definition:
TauExtraVariablesAlg.h:25
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::TauExtraVariablesAlg::m_nTracksChargedKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_nTracksChargedKey
Definition:
TauExtraVariablesAlg.h:26
TauJetContainer.h
columnar::final
CM final
Definition:
ColumnAccessor.h:106
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition:
AnaReentrantAlgorithm.cxx:29
CP::TauExtraVariablesAlg
Definition:
TauExtraVariablesAlg.h:17
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition:
AnaReentrantAlgorithm.h:51
CP::TauExtraVariablesAlg::initialize
virtual StatusCode initialize() override
Definition:
TauExtraVariablesAlg.cxx:15
WriteDecorHandleKey.h
AnaReentrantAlgorithm.h
Generated on Mon Sep 29 2025 21:19:32 for ATLAS Offline Software by
1.8.18