ATLAS Offline Software
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
()
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
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition:
SysListHandle.h:33
SysWriteDecorHandle.h
CP::InDetTrackExtraVarDecoratorAlg::initialize
virtual StatusCode initialize() override
Definition:
InDetTrackExtraVarDecoratorAlg.cxx:11
SysListHandle.h
CP::InDetTrackExtraVarDecoratorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
Definition:
InDetTrackExtraVarDecoratorAlg.h:27
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition:
SysReadHandle.h:32
CP
Select isolated Photons, Electrons and Muons.
Definition:
Control/xAODRootAccess/xAODRootAccess/TEvent.h:25
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition:
AnaAlgorithm.cxx:40
SysReadHandle.h
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition:
AnaAlgorithm.h:73
CP::InDetTrackExtraVarDecoratorAlg::m_momentumDecor
CP::SysWriteDecorHandle< float > m_momentumDecor
Definition:
InDetTrackExtraVarDecoratorAlg.h:30
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::InDetTrackExtraVarDecoratorAlg::m_tracksHandle
CP::SysReadHandle< xAOD::TrackParticleContainer > m_tracksHandle
Definition:
InDetTrackExtraVarDecoratorAlg.h:28
columnar::final
CM final
Definition:
ColumnAccessor.h:106
CP::InDetTrackExtraVarDecoratorAlg
Definition:
InDetTrackExtraVarDecoratorAlg.h:19
CP::InDetTrackExtraVarDecoratorAlg::m_etaDecor
CP::SysWriteDecorHandle< float > m_etaDecor
Definition:
InDetTrackExtraVarDecoratorAlg.h:32
CP::InDetTrackExtraVarDecoratorAlg::execute
virtual StatusCode execute() override
Definition:
InDetTrackExtraVarDecoratorAlg.cxx:22
CP::InDetTrackExtraVarDecoratorAlg::m_chargeDecor
CP::SysWriteDecorHandle< float > m_chargeDecor
Definition:
InDetTrackExtraVarDecoratorAlg.h:34
CP::SysWriteDecorHandle< float >
TrackParticleContainer.h
Generated on Thu Nov 6 2025 21:13:37 for ATLAS Offline Software by
1.8.18