#include <BaseSimulationSelector.h>
|
| ServiceHandle< ISimulationSvc > | m_simulator {this, "Simulator", "", "simulation service assigned to a single advisor"} |
| Gaudi::Property< bool > | m_isDynamic {this, "IsDynamic", false, "this selector is either dynamic or static"} |
| Gaudi::Property< bool > | m_invertCuts {this, "InvertCuts", false, "invert the result given by passesCuts(..) method"} |
| Gaudi::CheckedProperty< unsigned short > | m_simFlavorProp {this, "SimulationFlavor", 0, "the simulation flavour that this selector will select"} |
| ISF::SimulationFlavor | m_simflavor {ISF::UndefinedSim} |
| | simulation flavor
|
- Author
- Elmar.Ritsch -at- cern.ch , Peter.Sherwood -at- cern.ch
Definition at line 31 of file BaseSimulationSelector.h.
◆ BaseSimulationSelector()
| ISF::BaseSimulationSelector::BaseSimulationSelector |
( |
const std::string & | t, |
|
|
const std::string & | n, |
|
|
const IInterface * | p ) |
Constructor with parameters.
Definition at line 12 of file BaseSimulationSelector.cxx.
12 :
13 base_class(type, name, parent)
14{
18}
Gaudi::CheckedProperty< unsigned short > m_simFlavorProp
void SimulationFlavorHandler(Gaudi::Details::PropertyBase &)
◆ ~BaseSimulationSelector()
| ISF::BaseSimulationSelector::~BaseSimulationSelector |
( |
| ) |
|
|
virtual |
◆ ATLAS_NOT_THREAD_SAFE() [1/5]
return a handle on the simulator
◆ ATLAS_NOT_THREAD_SAFE() [2/5]
| virtual SimSvcID simSvcID ISF::BaseSimulationSelector::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
overridevirtual |
return the simulation service ID
◆ ATLAS_NOT_THREAD_SAFE() [3/5]
| virtual void beginEvent ISF::BaseSimulationSelector::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
overridevirtual |
called at the beginning of each athena event (can be used for eg.
resetting dynamic selectors)
◆ ATLAS_NOT_THREAD_SAFE() [4/5]
| virtual void endEvent ISF::BaseSimulationSelector::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
overridevirtual |
called at the end of each athena event (can be used for eg.
resetting dynamic selectors)
◆ ATLAS_NOT_THREAD_SAFE() [5/5]
| virtual void update ISF::BaseSimulationSelector::ATLAS_NOT_THREAD_SAFE |
( |
const ISFParticle & | | ) |
|
|
overridevirtual |
update internal event representation
◆ initializeSelector()
| void ISF::BaseSimulationSelector::initializeSelector |
( |
| ) |
|
|
overridevirtual |
◆ isDynamic()
| bool ISF::BaseSimulationSelector::isDynamic |
( |
| ) |
|
|
overridevirtual |
return if is this a static or dynamic SimulationSelector (is used by fully dynamic particle routers)
return if is this a static or dynamic SimulationSelector (is used by fully dynamic partilce routers)
Definition at line 69 of file BaseSimulationSelector.cxx.
69 {
71}
Gaudi::Property< bool > m_isDynamic
◆ selfSelect()
| bool ISF::BaseSimulationSelector::selfSelect |
( |
const ISFParticle & | particle | ) |
const |
|
overridevirtual |
make the routing decision
Definition at line 54 of file BaseSimulationSelector.cxx.
55{
56 bool pass = passSelectorCuts(particle);
58
59 return pass;
60}
Gaudi::Property< bool > m_invertCuts
◆ simFlavor()
return the simulation flavor
return the simulation service ID
Definition at line 79 of file BaseSimulationSelector.cxx.
79 {
81}
ISF::SimulationFlavor m_simflavor
simulation flavor
◆ SimulationFlavorHandler()
| void ISF::BaseSimulationSelector::SimulationFlavorHandler |
( |
Gaudi::Details::PropertyBase & | | ) |
|
|
private |
◆ sysInitialize()
| StatusCode ISF::BaseSimulationSelector::sysInitialize |
( |
| ) |
|
|
overridevirtual |
Gaudi sysInitialize() method.
Definition at line 37 of file BaseSimulationSelector.cxx.
38{
40
43 }
44
45 return StatusCode::SUCCESS;
46}
#define ATH_CHECK
Evaluate an expression and check for errors.
virtual StatusCode sysInitialize() override
ServiceHandle< ISimulationSvc > m_simulator
◆ m_invertCuts
| Gaudi::Property<bool> ISF::BaseSimulationSelector::m_invertCuts {this, "InvertCuts", false, "invert the result given by passesCuts(..) method"} |
|
private |
Definition at line 75 of file BaseSimulationSelector.h.
75{this, "InvertCuts", false, "invert the result given by passesCuts(..) method"};
◆ m_isDynamic
| Gaudi::Property<bool> ISF::BaseSimulationSelector::m_isDynamic {this, "IsDynamic", false, "this selector is either dynamic or static"} |
|
private |
Definition at line 74 of file BaseSimulationSelector.h.
74{this, "IsDynamic", false, "this selector is either dynamic or static"};
◆ m_simflavor
◆ m_simFlavorProp
| Gaudi::CheckedProperty<unsigned short> ISF::BaseSimulationSelector::m_simFlavorProp {this, "SimulationFlavor", 0, "the simulation flavour that this selector will select"} |
|
private |
Definition at line 76 of file BaseSimulationSelector.h.
76{this, "SimulationFlavor", 0, "the simulation flavour that this selector will select"};
◆ m_simulator
| ServiceHandle<ISimulationSvc> ISF::BaseSimulationSelector::m_simulator {this, "Simulator", "", "simulation service assigned to a single advisor"} |
|
private |
Definition at line 73 of file BaseSimulationSelector.h.
73{this, "Simulator", "", "simulation service assigned to a single advisor"};
The documentation for this class was generated from the following files: