ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
AsgAnalysisAlgorithms
CopyNominalSelectionAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
9
#ifndef ASG_ANALYSIS_ALGORITHMS__COPY_NOMINAL_SELECTION_ALG_H
10
#define ASG_ANALYSIS_ALGORITHMS__COPY_NOMINAL_SELECTION_ALG_H
11
12
#include <
AnaAlgorithm/AnaAlgorithm.h
>
13
#include <
PATCore/IAsgSelectionTool.h
>
14
#include <
SelectionHelpers/ISelectionNameSvc.h
>
15
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
16
#include <
SelectionHelpers/SysWriteSelectionHandle.h
>
17
#include <
SystematicsHandles/SysReadHandle.h
>
18
#include <
SystematicsHandles/SysListHandle.h
>
19
#include <
xAODBase/IParticleContainer.h
>
20
21
namespace
CP
22
{
38
39
class
CopyNominalSelectionAlg
final :
public
EL::AnaAlgorithm
40
{
42
public
:
43
CopyNominalSelectionAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
44
45
46
public
:
47
StatusCode
initialize
()
override
;
48
49
public
:
50
StatusCode
execute
(
const
EventContext& ctx)
override
;
51
52
53
55
private
:
56
SysListHandle
m_systematicsList
{
this
};
57
59
private
:
60
SysReadHandle<xAOD::IParticleContainer>
m_particlesHandle
{
61
this
,
"particles"
,
""
,
"the asg collection to run on"
};
62
64
private
:
65
SysReadSelectionHandle
m_preselection
{
66
this
,
"preselection"
,
""
,
"the preselection to apply"
};
67
69
private
:
70
SysWriteSelectionHandle
m_selectionHandle
{
71
this
,
"selectionDecoration"
,
""
,
"the decoration for the asg selection"
};
72
74
private
:
75
std::unique_ptr<ISelectionReadAccessor>
m_readAccessor
;
76
};
77
}
78
79
#endif
AnaAlgorithm.h
IAsgSelectionTool.h
ISelectionNameSvc.h
SysListHandle.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteSelectionHandle.h
CP::CopyNominalSelectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
CopyNominalSelectionAlg.h:65
CP::CopyNominalSelectionAlg::initialize
StatusCode initialize() override
Definition
CopyNominalSelectionAlg.cxx:32
CP::CopyNominalSelectionAlg::CopyNominalSelectionAlg
CopyNominalSelectionAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition
CopyNominalSelectionAlg.cxx:24
CP::CopyNominalSelectionAlg::m_selectionHandle
SysWriteSelectionHandle m_selectionHandle
the decoration for the asg selection
Definition
CopyNominalSelectionAlg.h:70
CP::CopyNominalSelectionAlg::m_particlesHandle
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle continer we run on
Definition
CopyNominalSelectionAlg.h:60
CP::CopyNominalSelectionAlg::m_readAccessor
std::unique_ptr< ISelectionReadAccessor > m_readAccessor
the accessor we use
Definition
CopyNominalSelectionAlg.h:75
CP::CopyNominalSelectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
CopyNominalSelectionAlg.h:56
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::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition
AnaAlgorithm.h:74
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
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
IParticleContainer.h
Generated on
for ATLAS Offline Software by
1.17.0