ATLAS Offline Software
ITruthStrategy.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // ITruthStrategy.h, (c) ATLAS Detector software
8 
9 #ifndef ISF_HEPMC_INTERFACES_ITRUTHSTRATEGY_H
10 #define ISF_HEPMC_INTERFACES_ITRUTHSTRATEGY_H 1
11 
12 // Gaudi
13 #include "GaudiKernel/IAlgTool.h"
14 
15 // forward declarations
17 
18 namespace ISF {
19  class ITruthIncident;
20 
29  class ITruthStrategy : virtual public IAlgTool {
30  public:
33 
35  virtual bool pass( ITruthIncident& incident) const = 0;
38  virtual bool appliesToRegion(unsigned short geoID) const = 0;
39  };
40 
41 } // end of namespace
42 
43 #endif // ISF_HEPMC_INTERFACES_ITRUTHSTRATEGY_H
ISF::ITruthStrategy
Definition: ITruthStrategy.h:29
ISF::ITruthStrategy::appliesToRegion
virtual bool appliesToRegion(unsigned short geoID) const =0
returns true if this truth strategy should be applied to the region indicated by geoID
ISF::ITruthStrategy::pass
virtual bool pass(ITruthIncident &incident) const =0
true if the ITruthStrategy implementation applies to the given ITruthIncident
ISF::ITruthStrategy::DeclareInterfaceID
DeclareInterfaceID(ITruthStrategy, 1, 0)
Creates the InterfaceID and interfaceID() method.
GenVertex_fwd.h
ISF::ITruthIncident
Definition: ITruthIncident.h:45
ISF
ISFParticleOrderedQueue.
Definition: PrimaryParticleInformation.h:13