ATLAS Offline Software
Loading...
Searching...
No Matches
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
18namespace ISF {
19 class ITruthIncident;
20
28
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 interface class for TruthIncidents.
virtual bool pass(ITruthIncident &incident) const =0
true if the ITruthStrategy implementation applies to the given ITruthIncident
virtual bool appliesToRegion(unsigned short geoID) const =0
returns true if this truth strategy should be applied to the region indicated by geoID
DeclareInterfaceID(ITruthStrategy, 1, 0)
Creates the InterfaceID and interfaceID() method.
ISFParticleOrderedQueue.