ATLAS Offline Software
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 
18 
19 namespace CP {
23  public:
24  EventSelectionByObjectFlagAlg(const std::string &name,
25  ISvcLocator *svcLoc = nullptr);
26 
27  public:
28  StatusCode initialize() override;
29 
30  public:
31  StatusCode execute() override;
32 
33  public:
34  StatusCode finalize() override;
35 
37  private:
39 
41  private:
42  SysFilterReporterParams m_filterParams {this, "object flag selection"};
43 
45  private:
47  this, "particles", "", "the particle collection to run on"};
48 
50  private:
51  SysReadSelectionHandle m_preselection{this, "preselection", "", "the preselection to apply"};
52 
54  private:
55  SysReadSelectionHandle m_veto{this, "veto", "", "selection upon which events are vetoed"};
56 };
57 
58 } // namespace CP
59 
60 #endif
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CP::EventSelectionByObjectFlagAlg::m_particleHandle
SysReadHandle< xAOD::IParticleContainer > m_particleHandle
the particle collection we run on
Definition: EventSelectionByObjectFlagAlg.h:46
SysListHandle.h
SysCopyHandle.h
CP::EventSelectionByObjectFlagAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: EventSelectionByObjectFlagAlg.h:38
CP::EventSelectionByObjectFlagAlg::initialize
StatusCode initialize() override
Definition: EventSelectionByObjectFlagAlg.cxx:25
CP::EventSelectionByObjectFlagAlg::m_filterParams
SysFilterReporterParams m_filterParams
the filter reporter
Definition: EventSelectionByObjectFlagAlg.h:42
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:48
SysReadHandle.h
CP::EventSelectionByObjectFlagAlg::execute
StatusCode execute() override
Definition: EventSelectionByObjectFlagAlg.cxx:36
AnaAlgorithm.h
CP::EventSelectionByObjectFlagAlg::m_veto
SysReadSelectionHandle m_veto
the preselection we apply to our input
Definition: EventSelectionByObjectFlagAlg.h:55
CP::EventSelectionByObjectFlagAlg::finalize
StatusCode finalize() override
Definition: EventSelectionByObjectFlagAlg.cxx:64
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
CP::EventSelectionByObjectFlagAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: EventSelectionByObjectFlagAlg.h:51
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IParticleContainer.h
SysFilterReporterParams.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SysReadSelectionHandle.h
EventInfo.h
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::SysFilterReporterParams
the properties and persistent data for systematics aware filter reporters
Definition: SysFilterReporterParams.h:38
CP::EventSelectionByObjectFlagAlg::EventSelectionByObjectFlagAlg
EventSelectionByObjectFlagAlg(const std::string &name, ISvcLocator *svcLoc=nullptr)
Definition: EventSelectionByObjectFlagAlg.cxx:21
CP::EventSelectionByObjectFlagAlg
an algorithm for selecting events based on object flags (e.g.
Definition: EventSelectionByObjectFlagAlg.h:22