ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
AsgAnalysisAlgorithms
AsgLeptonTrackDecorationAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#ifndef ASG_ANALYSIS_ALGORITHMS__ASG_LEPTON_TRACK_DECORATION_ALG_H
7
#define ASG_ANALYSIS_ALGORITHMS__ASG_LEPTON_TRACK_DECORATION_ALG_H
8
9
#include <
AnaAlgorithm/AnaAlgorithm.h
>
10
#include <
InDetTrackSystematicsTools/IInDetTrackBiasingTool.h
>
11
#include <
InDetTrackSystematicsTools/IInDetTrackSmearingTool.h
>
12
#include <
SelectionHelpers/OutOfValidityHelper.h
>
13
#include <
SystematicsHandles/SysListHandle.h
>
14
#include <
SystematicsHandles/SysReadHandle.h
>
15
#include <
SystematicsHandles/SysWriteDecorHandle.h
>
16
17
#include <
xAODBase/IParticleContainer.h
>
18
19
#include "
AsgDataHandles/ReadHandleKey.h
"
20
#include <
xAODTracking/VertexContainer.h
>
21
#include <
xAODEventInfo/EventInfo.h
>
22
23
namespace
CP
24
{
26
27
class
AsgLeptonTrackDecorationAlg
final :
public
EL::AnaAlgorithm
28
{
30
public
:
31
using
EL::AnaAlgorithm::AnaAlgorithm
;
32
StatusCode
initialize
()
override
;
33
StatusCode
execute
(
const
EventContext& ctx)
override
;
34
35
private
:
37
ToolHandle<InDet::IInDetTrackBiasingTool>
m_biasingTool
{
38
this
,
"biasingTool"
,
""
,
"the biasing tool we apply"
};
39
41
ToolHandle<InDet::IInDetTrackSmearingTool>
m_smearingTool
{
42
this
,
"smearingTool"
,
""
,
"the smearing tool we apply"
};
43
45
SysListHandle
m_systematicsList
{
this
};
46
48
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
49
this
,
"eventInfo"
,
"EventInfo"
,
"the name of the EventInfo object to retrieve"
};
50
52
SG::ReadHandleKey<xAOD::VertexContainer>
m_primaryVerticesKey
{
53
this
,
"primaryVertices"
,
"PrimaryVertices"
,
54
"the name of the PrimaryVertex container to retrieve"
};
55
57
SysReadHandle<xAOD::IParticleContainer>
m_particlesHandle
{
58
this
,
"particles"
,
""
,
"the asg collection to run on"
};
59
60
SysWriteDecorHandle<float>
m_d0Handle
{
61
this
,
"d0"
,
"d0_%SYS%"
,
"decoration name for d0"
};
62
63
SysWriteDecorHandle<float>
m_d0sigHandle
{
64
this
,
"d0sig"
,
"d0sig_%SYS%"
,
"decoration name for d0 significance"
};
65
66
SysWriteDecorHandle<float>
m_z0Handle
{
67
this
,
"z0"
,
"z0_%SYS%"
,
"decoration name for z0"
};
68
69
SysWriteDecorHandle<float>
m_z0sinthetaHandle
{
70
this
,
"z0sintheta"
,
"z0sintheta_%SYS%"
,
"decoration name for z0*sin(theta)"
};
71
72
SysWriteDecorHandle<float>
m_z0sinthetasigHandle
{
73
this
,
"z0sinthetasig"
,
"z0sinthetasig_%SYS%"
,
"decoration name for z0*sin(theta) significance"
};
74
76
OutOfValidityHelper
m_outOfValidity
{
this
};
77
};
78
79
}
80
81
#endif
AnaAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
IInDetTrackBiasingTool.h
IInDetTrackSmearingTool.h
OutOfValidityHelper.h
SysListHandle.h
SysReadHandle.h
SysWriteDecorHandle.h
VertexContainer.h
CP::AsgLeptonTrackDecorationAlg
an algorithm for decorating track variables on leptons
Definition
AsgLeptonTrackDecorationAlg.h:28
CP::AsgLeptonTrackDecorationAlg::m_smearingTool
ToolHandle< InDet::IInDetTrackSmearingTool > m_smearingTool
the smearing tool
Definition
AsgLeptonTrackDecorationAlg.h:41
CP::AsgLeptonTrackDecorationAlg::m_d0sigHandle
SysWriteDecorHandle< float > m_d0sigHandle
Definition
AsgLeptonTrackDecorationAlg.h:63
CP::AsgLeptonTrackDecorationAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
the EventInfo key
Definition
AsgLeptonTrackDecorationAlg.h:48
CP::AsgLeptonTrackDecorationAlg::m_particlesHandle
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle container we run on
Definition
AsgLeptonTrackDecorationAlg.h:57
CP::AsgLeptonTrackDecorationAlg::m_z0Handle
SysWriteDecorHandle< float > m_z0Handle
Definition
AsgLeptonTrackDecorationAlg.h:66
CP::AsgLeptonTrackDecorationAlg::m_d0Handle
SysWriteDecorHandle< float > m_d0Handle
Definition
AsgLeptonTrackDecorationAlg.h:60
CP::AsgLeptonTrackDecorationAlg::initialize
StatusCode initialize() override
Definition
AsgLeptonTrackDecorationAlg.cxx:18
CP::AsgLeptonTrackDecorationAlg::m_biasingTool
ToolHandle< InDet::IInDetTrackBiasingTool > m_biasingTool
the biasing tool
Definition
AsgLeptonTrackDecorationAlg.h:37
CP::AsgLeptonTrackDecorationAlg::m_z0sinthetasigHandle
SysWriteDecorHandle< float > m_z0sinthetasigHandle
Definition
AsgLeptonTrackDecorationAlg.h:72
CP::AsgLeptonTrackDecorationAlg::m_z0sinthetaHandle
SysWriteDecorHandle< float > m_z0sinthetaHandle
Definition
AsgLeptonTrackDecorationAlg.h:69
CP::AsgLeptonTrackDecorationAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
AsgLeptonTrackDecorationAlg.h:45
CP::AsgLeptonTrackDecorationAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition
AsgLeptonTrackDecorationAlg.h:76
CP::AsgLeptonTrackDecorationAlg::m_primaryVerticesKey
SG::ReadHandleKey< xAOD::VertexContainer > m_primaryVerticesKey
the PrimaryVertex key
Definition
AsgLeptonTrackDecorationAlg.h:52
CP::OutOfValidityHelper
a helper to translate a CP::CorrectionCode into a StatusCode
Definition
OutOfValidityHelper.h:73
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
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
IParticleContainer.h
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0