ATLAS Offline Software
GenEventValidityChecker.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef BEAMEFFECTS_GENEVENTVALIDITYCHECK_H
6 #define BEAMEFFECTS_GENEVENTVALIDITYCHECK_H 1
7 
8 // FrameWork includes
11 
12 namespace Simulation {
13 
20  class GenEventValidityChecker : public extends<AthAlgTool, IGenEventManipulator> {
21 
22  public:
24  GenEventValidityChecker( const std::string& t, const std::string& n, const IInterface* p );
25 
27  StatusCode initialize() override final;
28  StatusCode finalize() override final;
29 
32  StatusCode manipulate(HepMC::GenEvent& ge, const EventContext& ctx) const override final;
33 
34  private:
35  Gaudi::Property<bool> m_checkTime{this, "CheckTime", true};
36  };
37 
38 }
39 
40 #endif //> !BEAMEFFECTS_GENEVENTVALIDITYCHECK_H
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
Simulation::GenEventValidityChecker::initialize
StatusCode initialize() override final
Athena algtool's Hooks.
Definition: GenEventValidityChecker.cxx:25
Simulation::GenEventValidityChecker
Definition: GenEventValidityChecker.h:20
Simulation::GenEventValidityChecker::m_checkTime
Gaudi::Property< bool > m_checkTime
check the time dimension value for validity
Definition: GenEventValidityChecker.h:35
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
IGenEventManipulator.h
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Simulation::GenEventValidityChecker::finalize
StatusCode finalize() override final
Athena algtool's Hooks.
Definition: GenEventValidityChecker.cxx:33
Simulation::GenEventValidityChecker::manipulate
StatusCode manipulate(HepMC::GenEvent &ge, const EventContext &ctx) const override final
checks the the validity of the given GenEvent
Definition: GenEventValidityChecker.cxx:41
Simulation::GenEventValidityChecker::GenEventValidityChecker
GenEventValidityChecker(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition: GenEventValidityChecker.cxx:17
Simulation
Definition: BeamEffectsAlg.cxx:21