ATLAS Offline Software
Simulation
ISF
ISF_HepMC
ISF_HepMC_Interfaces
ISF_HepMC_Interfaces
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
16
#include "
AtlasHepMC/GenVertex_fwd.h
"
17
18
namespace
ISF
{
19
class
ITruthIncident;
20
29
class
ITruthStrategy
:
virtual
public
IAlgTool {
30
public
:
32
DeclareInterfaceID
(
ITruthStrategy
, 1, 0);
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
Generated on Sun Dec 22 2024 21:12:08 for ATLAS Offline Software by
1.8.18