ATLAS Offline Software
EvenEventsSelectorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EVENEVENTSSELECTORTOOL_H
6 #define EVENEVENTSSELECTORTOOL_H
7 
15 
16 #include <string>
17 
21 class EvenEventsSelectorTool : public AthAlgTool, virtual public IAthenaSelectorTool {
22 public: // Constructor and Destructor
24  EvenEventsSelectorTool(const std::string& type, const std::string& name, const IInterface* parent);
26  virtual ~EvenEventsSelectorTool();
27 
28 public:
30  virtual StatusCode initialize();
31  virtual StatusCode postInitialize();
32  virtual StatusCode preNext() const;
33  virtual StatusCode postNext() const;
34  virtual StatusCode preFinalize();
35  virtual StatusCode finalize();
36 };
37 
38 inline StatusCode EvenEventsSelectorTool::initialize() {return StatusCode::SUCCESS;}
39 inline StatusCode EvenEventsSelectorTool::postInitialize() {return StatusCode::SUCCESS;}
40 inline StatusCode EvenEventsSelectorTool::preFinalize() {return StatusCode::SUCCESS;}
41 inline StatusCode EvenEventsSelectorTool::finalize() {return StatusCode::SUCCESS;}
42 
43 #endif
EvenEventsSelectorTool
This class provides an example for reading with a ISelectorTool to veto events on AttributeList.
Definition: EvenEventsSelectorTool.h:21
EvenEventsSelectorTool::postNext
virtual StatusCode postNext() const
Called at the end of next.
Definition: EvenEventsSelectorTool.cxx:22
IAthenaSelectorTool.h
This file contains the class definition for the IAthenaSelectorTool class.
EvenEventsSelectorTool::~EvenEventsSelectorTool
virtual ~EvenEventsSelectorTool()
Destructor.
Definition: EvenEventsSelectorTool.cxx:18
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EvenEventsSelectorTool::EvenEventsSelectorTool
EvenEventsSelectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Service Constructor.
Definition: EvenEventsSelectorTool.cxx:13
EvenEventsSelectorTool::preFinalize
virtual StatusCode preFinalize()
Called at the beginning of finalize.
Definition: EvenEventsSelectorTool.h:40
AthAlgTool.h
EvenEventsSelectorTool::preNext
virtual StatusCode preNext() const
Called at the beginning of next.
Definition: EvenEventsSelectorTool.cxx:51
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
EvenEventsSelectorTool::initialize
virtual StatusCode initialize()
IAthenaSelectorTool Interface method implementations:
Definition: EvenEventsSelectorTool.h:38
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
EvenEventsSelectorTool::postInitialize
virtual StatusCode postInitialize()
Called at the end of initialize.
Definition: EvenEventsSelectorTool.h:39
EvenEventsSelectorTool::finalize
virtual StatusCode finalize()
Finalize AlgTool.
Definition: EvenEventsSelectorTool.h:41
AthAlgTool
Definition: AthAlgTool.h:26
IAthenaSelectorTool
This class provides the interface for AthenaSelectorTool classes used by AthenaEventSelector.
Definition: IAthenaSelectorTool.h:20