ATLAS Offline Software
Loading...
Searching...
No Matches
ValidationTruthStrategy.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_TOOLS_VALIDATIONTRUTHSTRATEGY_H
6#define ISF_TOOLS_VALIDATIONTRUTHSTRATEGY_H 1
7
8// Athena includes
11
12// ISF includes
14
15namespace ISF {
24 class ValidationTruthStrategy final : public extends<AthAlgTool, ITruthStrategy> {
25
26 public:
28 ValidationTruthStrategy( const std::string& t, const std::string& n, const IInterface* p );
29
32
33 // Athena algtool's Hooks
34 virtual StatusCode initialize() override final;
35
37 virtual bool pass( ITruthIncident& incident) const override final;
38
39 virtual bool appliesToRegion(unsigned short geoID) const override final;
40
41
42 private:
44 double m_minParentP2{0.0};
45 Gaudi::Property<double> m_minParentP{this, "ParentMinP", 0.0};
46 Gaudi::Property<std::vector<int>> m_regionListProperty{this, "Regions", {}};
47 };
48
49}
50
51
52#endif //> !ISF_TOOLS_VALIDATIONTRUTHSTRATEGY_H
ISF interface class for TruthIncidents.
virtual bool pass(ITruthIncident &incident) const override final
true if the ITruthStrategy implementation applies to the given ITruthIncident
Gaudi::Property< double > m_minParentP
minimum parent particle momentum
virtual bool appliesToRegion(unsigned short geoID) const override final
virtual StatusCode initialize() override final
double m_minParentP2
cuts on the parent particle
Gaudi::Property< std::vector< int > > m_regionListProperty
ValidationTruthStrategy(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
~ValidationTruthStrategy()=default
Destructor.
ISFParticleOrderedQueue.
#define private