#include <McEventSelector.h>
Definition at line 42 of file McEventSelector.h.
◆ McEventSelector()
McEventSelector::McEventSelector |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
svcloc |
|
) |
| |
Service Constructor.
Flags to indicate override of run/event/time These are always true and are here for consistency with other event selectors which only optionally override these numbers.
Definition at line 203 of file McEventSelector.cxx.
204 base_class(
name, svcloc),
208 declareProperty(
"RunNumber",
m_runNo = 0 );
◆ ~McEventSelector()
McEventSelector::~McEventSelector |
( |
| ) |
|
◆ createAddress()
StatusCode McEventSelector::createAddress |
( |
const Context & |
refCtxt, |
|
|
IOpaqueAddress *& |
addr |
|
) |
| const |
|
overridevirtual |
Definition at line 373 of file McEventSelector.cxx.
387 return StatusCode::FAILURE;
390 return StatusCode::SUCCESS;
◆ createContext()
StatusCode McEventSelector::createContext |
( |
Context *& |
refpCtxt | ) |
const |
|
overridevirtual |
◆ curEvent()
int McEventSelector::curEvent |
( |
const Context & |
refCtxt | ) |
const |
|
overridevirtual |
◆ initialize()
StatusCode McEventSelector::initialize |
( |
| ) |
|
|
overridevirtual |
◆ last()
StatusCode McEventSelector::last |
( |
Context & |
refContext | ) |
const |
|
overridevirtual |
◆ next() [1/2]
StatusCode McEventSelector::next |
( |
Context & |
refCtxt | ) |
const |
|
overridevirtual |
◆ next() [2/2]
StatusCode McEventSelector::next |
( |
Context & |
refCtxt, |
|
|
int |
jump |
|
) |
| const |
|
overridevirtual |
Definition at line 290 of file McEventSelector.cxx.
292 ATH_MSG_DEBUG (
"............. Next (" << jump <<
") .............");
295 for (
int i = 0;
i < jump; ++
i ) {
297 if ( !
status.isSuccess() ) {
301 return StatusCode::SUCCESS;
303 return StatusCode::FAILURE;
◆ previous() [1/2]
StatusCode McEventSelector::previous |
( |
Context & |
refCtxt | ) |
const |
|
overridevirtual |
◆ previous() [2/2]
StatusCode McEventSelector::previous |
( |
Context & |
refCtxt, |
|
|
int |
jump |
|
) |
| const |
|
overridevirtual |
Definition at line 330 of file McEventSelector.cxx.
333 for (
int i = 0;
i < jump; ++
i ) {
335 if ( !
status.isSuccess() ) {
339 return StatusCode::SUCCESS;
341 return StatusCode::FAILURE;
◆ releaseContext()
StatusCode McEventSelector::releaseContext |
( |
Context *& |
refCtxt | ) |
const |
|
overridevirtual |
◆ resetCriteria()
StatusCode McEventSelector::resetCriteria |
( |
const std::string & |
cr, |
|
|
Context & |
c |
|
) |
| const |
|
overridevirtual |
◆ rewind()
StatusCode McEventSelector::rewind |
( |
Context & |
refCtxt | ) |
const |
|
overridevirtual |
◆ seek()
StatusCode McEventSelector::seek |
( |
Context & |
refCtxt, |
|
|
int |
evtNum |
|
) |
| const |
|
overridevirtual |
Definition at line 411 of file McEventSelector.cxx.
413 ATH_MSG_DEBUG (
"............. seek(" << evtNum <<
") .............");
417 for (
int i=0;
i < evtNum; ++
i) {
421 return StatusCode::SUCCESS;
◆ size()
int McEventSelector::size |
( |
Context & |
refCtxt | ) |
const |
|
overridevirtual |
◆ stop()
StatusCode McEventSelector::stop |
( |
| ) |
|
|
overridevirtual |
Definition at line 256 of file McEventSelector.cxx.
262 Incident lastInputIncident(
name(),
"LastInput");
263 incSvc->fireIncident(lastInputIncident);
265 return StatusCode::SUCCESS;
◆ m_ctx
◆ m_eventsPerLB
Gaudi::CheckedProperty<unsigned> McEventSelector::m_eventsPerLB |
|
private |
◆ m_eventsPerRun
Gaudi::CheckedProperty<unsigned long long> McEventSelector::m_eventsPerRun |
|
private |
◆ m_firstEventNo
Gaudi::CheckedProperty<unsigned long long> McEventSelector::m_firstEventNo |
|
private |
◆ m_firstLBNo
Gaudi::CheckedProperty<unsigned> McEventSelector::m_firstLBNo |
|
private |
◆ m_initTimeStamp
Gaudi::CheckedProperty<unsigned> McEventSelector::m_initTimeStamp |
|
private |
◆ m_overrideEventNumber
Gaudi::Property<bool> McEventSelector::m_overrideEventNumber |
|
private |
◆ m_overrideLBNumber
Gaudi::Property<bool> McEventSelector::m_overrideLBNumber |
|
private |
◆ m_overrideRunNumber
Gaudi::Property<bool> McEventSelector::m_overrideRunNumber |
|
private |
Flags to indicate override of run/event/time These are always true and are here for consistency with other event selectors which only optionally override these numbers.
Definition at line 86 of file McEventSelector.h.
◆ m_overrideTimeStamp
Gaudi::Property<bool> McEventSelector::m_overrideTimeStamp |
|
private |
◆ m_runNo
Gaudi::CheckedProperty<unsigned> McEventSelector::m_runNo |
|
private |
◆ m_timeStampInterval
Gaudi::Property<unsigned> McEventSelector::m_timeStampInterval |
|
private |
The documentation for this class was generated from the following files:
uint64_t eventNumber() const
int serialEventNumber() const
unsigned int runNumber() const
unsigned int timeStamp() const
unsigned int lumiBlock() const