ATLAS Offline Software
EventStatusSelectionAlg.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 #ifndef ASG_ANALYSIS_ALGORITHMS__EVENT_STATUS_SELECTION_ALG_H
8 #define ASG_ANALYSIS_ALGORITHMS__EVENT_STATUS_SELECTION_ALG_H
9 
12 
13 namespace CP
14 {
17  {
18  public:
19  EventStatusSelectionAlg(const std::string &name,
20  ISvcLocator *svcLoc = nullptr);
21 
22  virtual StatusCode initialize() final;
23  virtual StatusCode execute() final;
24  virtual StatusCode finalize() final;
25 
26  private:
28  FilterReporterParams m_filterParams {this, "EventErrorState", "selecting events without any error state set"};
29  };
30 }
31 
32 #endif
CP::EventStatusSelectionAlg::EventStatusSelectionAlg
EventStatusSelectionAlg(const std::string &name, ISvcLocator *svcLoc=nullptr)
Definition: EventStatusSelectionAlg.cxx:11
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
FilterReporterParams
a handle for applying algorithm filter decisions
Definition: FilterReporterParams.h:58
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CP::EventStatusSelectionAlg
an algorithm for selecting events based on their error status
Definition: EventStatusSelectionAlg.h:17
CP::EventStatusSelectionAlg::finalize
virtual StatusCode finalize() final
Definition: EventStatusSelectionAlg.cxx:68
CP::EventStatusSelectionAlg::m_filterParams
FilterReporterParams m_filterParams
the filter reporter parameters
Definition: EventStatusSelectionAlg.h:28
CP::EventStatusSelectionAlg::execute
virtual StatusCode execute() final
Definition: EventStatusSelectionAlg.cxx:23
CP::EventStatusSelectionAlg::initialize
virtual StatusCode initialize() final
Definition: EventStatusSelectionAlg.cxx:17
FilterReporterParams.h