ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
TrackingAnalysisAlgorithms
TrackingAnalysisAlgorithms
InDetTrackExtraVarDecoratorAlg.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 TRACKING_ANALYSIS_ALGORITHMS__EXTRAVARDECORATOR_ALG__H
8
#define TRACKING_ANALYSIS_ALGORITHMS__EXTRAVARDECORATOR_ALG__H
9
10
#include <
AnaAlgorithm/AnaAlgorithm.h
>
11
#include <
SystematicsHandles/SysListHandle.h
>
12
#include <
SystematicsHandles/SysReadHandle.h
>
13
#include <
SystematicsHandles/SysWriteDecorHandle.h
>
14
15
#include <
xAODTracking/TrackParticleContainer.h
>
16
17
namespace
CP
{
18
19
class
InDetTrackExtraVarDecoratorAlg
final :
public
EL::AnaAlgorithm
{
20
21
public
:
22
using
EL::AnaAlgorithm::AnaAlgorithm
;
23
virtual
StatusCode
initialize
()
override
;
24
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
25
26
private
:
27
CP::SysListHandle
m_systematicsList
{
this
};
28
CP::SysReadHandle<xAOD::TrackParticleContainer>
m_tracksHandle
{
29
this
,
"inDetTracks"
,
""
,
"the track collection to run on"
};
30
CP::SysWriteDecorHandle<float>
m_momentumDecor
{
31
this
,
"momentumDecoration"
,
"pt_%SYS%"
,
"decoration for per-object transverse momentum"
};
32
CP::SysWriteDecorHandle<float>
m_etaDecor
{
33
this
,
"etaDecoration"
,
"eta_%SYS%"
,
"decoration for per-object pseudorapidity"
};
34
CP::SysWriteDecorHandle<float>
m_chargeDecor
{
35
this
,
"chargeDecoration"
,
"charge_%SYS%"
,
"decoration for per-object charge"
};
36
37
};
38
39
}
// namespace
40
41
#endif
AnaAlgorithm.h
TrackParticleContainer.h
SysListHandle.h
SysReadHandle.h
SysWriteDecorHandle.h
CP::InDetTrackExtraVarDecoratorAlg
Definition
InDetTrackExtraVarDecoratorAlg.h:19
CP::InDetTrackExtraVarDecoratorAlg::m_momentumDecor
CP::SysWriteDecorHandle< float > m_momentumDecor
Definition
InDetTrackExtraVarDecoratorAlg.h:30
CP::InDetTrackExtraVarDecoratorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
Definition
InDetTrackExtraVarDecoratorAlg.h:27
CP::InDetTrackExtraVarDecoratorAlg::m_chargeDecor
CP::SysWriteDecorHandle< float > m_chargeDecor
Definition
InDetTrackExtraVarDecoratorAlg.h:34
CP::InDetTrackExtraVarDecoratorAlg::m_etaDecor
CP::SysWriteDecorHandle< float > m_etaDecor
Definition
InDetTrackExtraVarDecoratorAlg.h:32
CP::InDetTrackExtraVarDecoratorAlg::initialize
virtual StatusCode initialize() override
Definition
InDetTrackExtraVarDecoratorAlg.cxx:11
CP::InDetTrackExtraVarDecoratorAlg::m_tracksHandle
CP::SysReadHandle< xAOD::TrackParticleContainer > m_tracksHandle
Definition
InDetTrackExtraVarDecoratorAlg.h:28
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition
SysListHandle.h:33
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition
SysReadHandle.h:33
CP::SysWriteDecorHandle
a data handle for reading systematics varied input data
Definition
SysWriteDecorHandle.h:42
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition
AnaAlgorithm.h:74
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaAlgorithm.cxx:40
EL::AnaAlgorithm::execute
virtual::StatusCode execute()
execute this algorithm
Definition
AnaAlgorithm.cxx:315
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
Generated on
for ATLAS Offline Software by
1.17.0