 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ISF_SIMULATIONSELECTORS_BASESIMULATIONSELECTOR_H
6 #define ISF_SIMULATIONSELECTORS_BASESIMULATIONSELECTOR_H 1
15 #include "GaudiKernel/ServiceHandle.h"
74 Gaudi::Property<bool>
m_isDynamic{
this,
"IsDynamic",
false,
"this selector is either dynamic or static"};
75 Gaudi::Property<bool>
m_invertCuts{
this,
"InvertCuts",
false,
"invert the result given by passesCuts(..) method"};
76 Gaudi::CheckedProperty<unsigned short>
m_simFlavorProp{
this,
"SimulationFlavor", 0,
"the simulation flavour that this selector will select"};
85 #endif // ISF_SIMULATIONSELECTORS_BASESIMULATIONSELECTOR_H
virtual void initializeSelector() override
initialize Selector
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
ISF::SimulationFlavor m_simflavor
simulation flavor
virtual StatusCode sysInitialize() override
Gaudi sysInitialize() method.
virtual void update ATLAS_NOT_THREAD_SAFE(const ISFParticle &) override
update internal event representation
ServiceHandle< ISimulationSvc > m_simulator
Gaudi::CheckedProperty< unsigned short > m_simFlavorProp
void SimulationFlavorHandler(Gaudi::Details::PropertyBase &)
virtual void endEvent ATLAS_NOT_THREAD_SAFE() override
called at the end of each athena event (can be used for eg.
virtual void beginEvent ATLAS_NOT_THREAD_SAFE() override
called at the beginning of each athena event (can be used for eg.
virtual ServiceHandle< ISimulationSvc > *simulator ATLAS_NOT_THREAD_SAFE() override
return a handle on the simulator
virtual ISF::SimulationFlavor simFlavor() const override
return the simulation flavor
virtual bool selfSelect(const ISFParticle &particle) const override
make the routing decision
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< bool > m_isDynamic
virtual SimSvcID simSvcID ATLAS_NOT_THREAD_SAFE() override
return the simulation service ID
virtual ~BaseSimulationSelector()
virtual destructor
uint8_t SimSvcID
Simulation service ID datatype.
BaseSimulationSelector(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Gaudi::Property< bool > m_invertCuts
virtual bool isDynamic() override
return if is this a static or dynamic SimulationSelector (is used by fully dynamic particle routers)
Define macros for attributes used to control the static checker.
int SimulationFlavor
Identifier type for simulation flavor.