ATLAS Offline Software
Loading...
Searching...
No Matches
CylinderVolumeTruthStrategy.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ISF_HEPMC_TOOLS_CYLINDERVOLUMETRUTHSTRATEGY_H
6#define ISF_HEPMC_TOOLS_CYLINDERVOLUMETRUTHSTRATEGY_H 1
7
8// stl includes
9#include <set>
10#include <vector>
11
12// Athena includes
15
16// ISF includes
18
19namespace ISF {
20
29 class CylinderVolumeTruthStrategy final : public extends<AthAlgTool, ITruthStrategy> {
30
31 public:
33 CylinderVolumeTruthStrategy( const std::string& t, const std::string& n, const IInterface* p );
34
37
38 // Athena algtool's Hooks
39 virtual StatusCode initialize() override final;
40
42 virtual bool pass( ITruthIncident& incident) const override final;
43
44 virtual bool appliesToRegion(unsigned short geoID) const override final;
45 private:
46 Gaudi::Property<double> m_ri{this, "InnerRadius", 0.0};
47 Gaudi::Property<double> m_ro{this, "OuterRadius", 1148.0};
48
49 IntegerArrayProperty m_regionListProperty{this, "Regions", {}};
50 };
51
52}
53
54
55#endif //> !ISF_HEPMC_TOOLS_CYLINDERVOLUMETRUTHSTRATEGY_H
Gaudi::Property< double > m_ri
inner cylinder radius
virtual StatusCode initialize() override final
virtual bool appliesToRegion(unsigned short geoID) const override final
~CylinderVolumeTruthStrategy()=default
Destructor.
Gaudi::Property< double > m_ro
outer cylinder radius
CylinderVolumeTruthStrategy(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
virtual bool pass(ITruthIncident &incident) const override final
true if the ITruthStrategy implementation applies to the given ITruthIncident
ISF interface class for TruthIncidents.
Support class for PropertyMgr.
Definition Property.h:23
=============================================================================
ISFParticleOrderedQueue.
#define private