ATLAS Offline Software
EvenEventsSelectorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EVENEVENTSSELECTORTOOL_H
6 #define EVENEVENTSSELECTORTOOL_H
7 
14 
15 #include <string>
16 
20 class EvenEventsSelectorTool : public extends<AthAlgTool, IAthenaSelectorTool> {
21 public: // Constructor and Destructor
23  using base_class::base_class;
25  virtual ~EvenEventsSelectorTool();
26 
27 public:
29  virtual StatusCode postInitialize() override { return StatusCode::SUCCESS; }
30  virtual StatusCode preNext() const override { return StatusCode::SUCCESS; }
31  virtual StatusCode postNext() const override;
32  virtual StatusCode preFinalize() override { return StatusCode::SUCCESS; }
33 };
34 
35 #endif
EvenEventsSelectorTool::postInitialize
virtual StatusCode postInitialize() override
IAthenaSelectorTool Interface method implementations:
Definition: EvenEventsSelectorTool.h:29
EvenEventsSelectorTool
This class provides an example for reading with a ISelectorTool to veto events on AttributeList.
Definition: EvenEventsSelectorTool.h:20
IAthenaSelectorTool.h
This file contains the class definition for the IAthenaSelectorTool class.
EvenEventsSelectorTool::~EvenEventsSelectorTool
virtual ~EvenEventsSelectorTool()
Destructor.
Definition: EvenEventsSelectorTool.cxx:13
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EvenEventsSelectorTool::preFinalize
virtual StatusCode preFinalize() override
Definition: EvenEventsSelectorTool.h:32
AthAlgTool.h
EvenEventsSelectorTool::postNext
virtual StatusCode postNext() const override
Definition: EvenEventsSelectorTool.cxx:17
EvenEventsSelectorTool::preNext
virtual StatusCode preNext() const override
Definition: EvenEventsSelectorTool.h:30