ATLAS Offline Software
Loading...
Searching...
No Matches
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
12namespace 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
Gaudi::Property< bool > m_checkTime
check the time dimension value for validity
StatusCode initialize() override final
Athena algtool's Hooks.
GenEventValidityChecker(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
StatusCode finalize() override final
Athena algtool's Hooks.
StatusCode manipulate(HepMC::GenEvent &ge, const EventContext &ctx) const override final
checks the the validity of the given GenEvent