ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
AsgAnalysisAlgorithms
AsgLeptonTrackSelectionAlg.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
8
9
#ifndef ASG_ANALYSIS_ALGORITHMS__ASG_LEPTON_TRACK_SELECTION_ALG_H
10
#define ASG_ANALYSIS_ALGORITHMS__ASG_LEPTON_TRACK_SELECTION_ALG_H
11
12
#include <
AnaAlgorithm/AnaReentrantAlgorithm.h
>
13
#include <
PATCore/IAsgSelectionTool.h
>
14
#include <
SelectionHelpers/ISelectionNameSvc.h
>
15
#include <
SelectionHelpers/SysWriteSelectionHandle.h
>
16
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
17
#include <
SystematicsHandles/SysListHandle.h
>
18
#include <
SystematicsHandles/SysReadHandle.h
>
19
#include <
xAODBase/IParticleContainer.h
>
20
#include <
AsgTools/PropertyWrapper.h
>
21
#include "
AsgDataHandles/ReadHandleKey.h
"
22
#include <
AsgDataHandles/ReadHandle.h
>
23
#include <
xAODTracking/VertexContainer.h
>
24
#include <
xAODEventInfo/EventInfo.h
>
25
26
namespace
CP
27
{
40
41
class
AsgLeptonTrackSelectionAlg
final :
public
EL::AnaReentrantAlgorithm
42
{
44
public
:
45
using
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
;
46
StatusCode
initialize
()
override
;
47
StatusCode
execute
(
const
EventContext &ctx)
const override
;
48
49
52
53
private
:
54
Gaudi::Property<float>
m_maxD0Significance
{
this
,
"maxD0Significance"
, 0,
"maximum d0 significance (or 0 for no cut)"
};
55
Gaudi::Property<float>
m_maxDeltaZ0SinTheta
{
this
,
"maxDeltaZ0SinTheta"
, 0,
"maximum Delta z0 sin theta (or 0 for no cut)"
};
56
Gaudi::Property<int>
m_nMinPixelHits
{
this
,
"nMinPixelHits"
, -1,
"minimum number of required Pixel hits (or -1 for no cut)"
};
57
Gaudi::Property<int>
m_nMaxPixelHits
{
this
,
"nMaxPixelHits"
, -1,
"maximum number of required Pixel hits (or -1 for no cut)"
};
58
Gaudi::Property<int>
m_nMinSCTHits
{
this
,
"nMinSCTHits"
, -1,
"minimum number of required SCT hits (or -1 for no cut)"
};
59
Gaudi::Property<int>
m_nMaxSCTHits
{
this
,
"nMaxSCTHits"
, -1,
"maximum number of required SCT hits (or -1 for no cut)"
};
60
62
63
65
private
:
66
SysListHandle
m_systematicsList
{
this
};
67
69
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
this
,
"eventInfo"
,
"EventInfo"
,
"the name of the EventInfo object to retrieve"
};
70
72
SG::ReadHandleKey<xAOD::VertexContainer>
m_primaryVerticesKey
{
this
,
"primaryVertices"
,
"PrimaryVertices"
,
"the name of the PrimaryVertex container to retrieve"
};
73
75
private
:
76
SysReadHandle<xAOD::IParticleContainer>
m_particlesHandle
{
77
this
,
"particles"
,
""
,
"the asg collection to run on"
};
78
80
private
:
81
SysReadSelectionHandle
m_preselection
{
82
this
,
"preselection"
,
""
,
"the preselection to apply"
};
83
85
private
:
86
SysWriteSelectionHandle
m_selectionHandle
{
87
this
,
"selectionDecoration"
,
"trackSelection"
,
"the decoration for the asg selection"
};
88
90
private
:
91
ServiceHandle<ISelectionNameSvc>
m_nameSvc
{
"SelectionNameSvc"
,
"AsgLeptonTrackSelectionAlg"
};
92
94
private
:
95
asg::AcceptInfo
m_accept
;
96
};
97
}
98
99
#endif
AnaReentrantAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ReadHandle.h
Handle class for reading from StoreGate.
IAsgSelectionTool.h
ISelectionNameSvc.h
PropertyWrapper.h
SysListHandle.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteSelectionHandle.h
VertexContainer.h
CP::AsgLeptonTrackSelectionAlg
an algorithm for performing track-vertex selection on leptons
Definition
AsgLeptonTrackSelectionAlg.h:42
CP::AsgLeptonTrackSelectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
AsgLeptonTrackSelectionAlg.h:66
CP::AsgLeptonTrackSelectionAlg::m_nameSvc
ServiceHandle< ISelectionNameSvc > m_nameSvc
the ISelectionNameSvc
Definition
AsgLeptonTrackSelectionAlg.h:91
CP::AsgLeptonTrackSelectionAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
AsgLeptonTrackSelectionAlg.cxx:72
CP::AsgLeptonTrackSelectionAlg::m_nMinPixelHits
Gaudi::Property< int > m_nMinPixelHits
Definition
AsgLeptonTrackSelectionAlg.h:56
CP::AsgLeptonTrackSelectionAlg::m_maxDeltaZ0SinTheta
Gaudi::Property< float > m_maxDeltaZ0SinTheta
Definition
AsgLeptonTrackSelectionAlg.h:55
CP::AsgLeptonTrackSelectionAlg::m_selectionHandle
SysWriteSelectionHandle m_selectionHandle
the accessor for m_selectionDecoration
Definition
AsgLeptonTrackSelectionAlg.h:86
CP::AsgLeptonTrackSelectionAlg::m_nMaxPixelHits
Gaudi::Property< int > m_nMaxPixelHits
Definition
AsgLeptonTrackSelectionAlg.h:57
CP::AsgLeptonTrackSelectionAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
the EventInfo key
Definition
AsgLeptonTrackSelectionAlg.h:69
CP::AsgLeptonTrackSelectionAlg::m_primaryVerticesKey
SG::ReadHandleKey< xAOD::VertexContainer > m_primaryVerticesKey
the PrimaryVertex key
Definition
AsgLeptonTrackSelectionAlg.h:72
CP::AsgLeptonTrackSelectionAlg::initialize
StatusCode initialize() override
Definition
AsgLeptonTrackSelectionAlg.cxx:27
CP::AsgLeptonTrackSelectionAlg::m_nMaxSCTHits
Gaudi::Property< int > m_nMaxSCTHits
Definition
AsgLeptonTrackSelectionAlg.h:59
CP::AsgLeptonTrackSelectionAlg::m_nMinSCTHits
Gaudi::Property< int > m_nMinSCTHits
Definition
AsgLeptonTrackSelectionAlg.h:58
CP::AsgLeptonTrackSelectionAlg::m_particlesHandle
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle container we run on
Definition
AsgLeptonTrackSelectionAlg.h:76
CP::AsgLeptonTrackSelectionAlg::m_maxD0Significance
Gaudi::Property< float > m_maxD0Significance
algorithm properties
Definition
AsgLeptonTrackSelectionAlg.h:54
CP::AsgLeptonTrackSelectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
AsgLeptonTrackSelectionAlg.h:81
CP::AsgLeptonTrackSelectionAlg::m_accept
asg::AcceptInfo m_accept
the asg::AcceptInfo we are using
Definition
AsgLeptonTrackSelectionAlg.h:95
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::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition
SysReadSelectionHandle.h:32
CP::SysWriteSelectionHandle
a data handle for writing systematically varied selection properties from objects
Definition
SysWriteSelectionHandle.h:32
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition
AnaReentrantAlgorithm.h:51
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaReentrantAlgorithm.cxx:29
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
asg::AcceptInfo
Definition
AcceptInfo.h:28
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