ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
AsgAnalysisAlgorithms
EventSelectionByObjectFlagAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
#ifndef ASG_ANALYSIS_ALGORITHMS__EVENT_SELECTION_BY_OBJECT_FLAG_ALG_H
8
#define ASG_ANALYSIS_ALGORITHMS__EVENT_SELECTION_BY_OBJECT_FLAG_ALG_H
9
10
#include <
AnaAlgorithm/AnaAlgorithm.h
>
11
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
12
#include <
SystematicsHandles/SysFilterReporterParams.h
>
13
#include <
SystematicsHandles/SysListHandle.h
>
14
#include <
SystematicsHandles/SysReadHandle.h
>
15
#include <
xAODBase/IParticleContainer.h
>
16
17
namespace
CP
{
20
class
EventSelectionByObjectFlagAlg
final :
public
EL::AnaAlgorithm
{
21
public
:
22
EventSelectionByObjectFlagAlg
(
const
std::string &
name
,
23
ISvcLocator *svcLoc =
nullptr
);
24
25
public
:
26
StatusCode
initialize
()
override
;
27
28
public
:
29
StatusCode
execute
(
const
EventContext& ctx)
override
;
30
31
public
:
32
StatusCode
finalize
()
override
;
33
35
private
:
36
SysListHandle
m_systematicsList
{
this
};
37
39
private
:
40
SysFilterReporterParams
m_filterParams
{
this
,
"object flag selection"
};
41
43
private
:
44
SysReadHandle<xAOD::IParticleContainer>
m_particleHandle
{
45
this
,
"particles"
,
""
,
"the particle collection to run on"
};
46
48
private
:
49
SysReadSelectionHandle
m_preselection
{
this
,
"preselection"
,
""
,
"the preselection to apply"
};
50
52
private
:
53
SysReadSelectionHandle
m_veto
{
this
,
"veto"
,
""
,
"selection upon which events are vetoed"
};
54
};
55
56
}
// namespace CP
57
58
#endif
AnaAlgorithm.h
SysFilterReporterParams.h
SysListHandle.h
SysReadHandle.h
SysReadSelectionHandle.h
CP::EventSelectionByObjectFlagAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
EventSelectionByObjectFlagAlg.h:36
CP::EventSelectionByObjectFlagAlg::m_filterParams
SysFilterReporterParams m_filterParams
the filter reporter
Definition
EventSelectionByObjectFlagAlg.h:40
CP::EventSelectionByObjectFlagAlg::m_particleHandle
SysReadHandle< xAOD::IParticleContainer > m_particleHandle
the particle collection we run on
Definition
EventSelectionByObjectFlagAlg.h:44
CP::EventSelectionByObjectFlagAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
EventSelectionByObjectFlagAlg.h:49
CP::EventSelectionByObjectFlagAlg::EventSelectionByObjectFlagAlg
EventSelectionByObjectFlagAlg(const std::string &name, ISvcLocator *svcLoc=nullptr)
Definition
EventSelectionByObjectFlagAlg.cxx:21
CP::EventSelectionByObjectFlagAlg::finalize
StatusCode finalize() override
Definition
EventSelectionByObjectFlagAlg.cxx:64
CP::EventSelectionByObjectFlagAlg::initialize
StatusCode initialize() override
Definition
EventSelectionByObjectFlagAlg.cxx:25
CP::EventSelectionByObjectFlagAlg::m_veto
SysReadSelectionHandle m_veto
the preselection we apply to our input
Definition
EventSelectionByObjectFlagAlg.h:53
CP::SysFilterReporterParams
the properties and persistent data for systematics aware filter reporters
Definition
SysFilterReporterParams.h:39
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
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