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"};
Define macros for attributes used to control the static checker.
virtual void update ATLAS_NOT_THREAD_SAFE(const ISFParticle &) override
update internal event representation
virtual void endEvent ATLAS_NOT_THREAD_SAFE() override
called at the end of each athena event (can be used for eg.
virtual SimSvcID simSvcID ATLAS_NOT_THREAD_SAFE() override
return the simulation service ID
virtual bool isDynamic() override
return if is this a static or dynamic SimulationSelector (is used by fully dynamic particle routers)
virtual ServiceHandle< ISimulationSvc > *simulator ATLAS_NOT_THREAD_SAFE() override
return a handle on the simulator
Gaudi::Property< bool > m_invertCuts
Gaudi::CheckedProperty< unsigned short > m_simFlavorProp
ServiceHandle< ISimulationSvc > m_simulator
Gaudi::Property< bool > m_isDynamic
ISF::SimulationFlavor m_simflavor
simulation flavor
virtual bool selfSelect(const ISFParticle &particle) const override
make the routing decision
virtual ISF::SimulationFlavor simFlavor() const override
return the simulation flavor
virtual void beginEvent ATLAS_NOT_THREAD_SAFE() override
called at the beginning of each athena event (can be used for eg.
virtual void initializeSelector() override
initialize Selector
void SimulationFlavorHandler(Gaudi::Details::PropertyBase &)
virtual StatusCode sysInitialize() override
Gaudi sysInitialize() method.
virtual ~BaseSimulationSelector()
virtual destructor
BaseSimulationSelector(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
The generic ISF particle definition,.
int SimulationFlavor
Identifier type for simulation flavor.
uint8_t SimSvcID
Simulation service ID datatype.