LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Classes | |
struct | Config |
Public Types | |
using | Parameters = fhicl::WrappedTable< Config, Config::KeysToIgnore > |
enum | ProcessingMode { Runs, RunsAndSubRuns, RunsSubRunsAndEvents } |
Public Member Functions | |
EmptyEvent (Parameters const &config, InputSourceDescription &desc) | |
EmptyEvent (EmptyEvent const &)=delete | |
EmptyEvent (EmptyEvent &&)=delete | |
EmptyEvent & | operator= (EmptyEvent const &)=delete |
EmptyEvent & | operator= (EmptyEvent &&)=delete |
ModuleDescription const & | moduleDescription () const |
ProcessConfiguration const & | processConfiguration () const |
Static Public Member Functions | |
static ProcessingMode | mode (std::string const &modeString) |
Private Member Functions | |
unique_ptr< RangeSetHandler > | runRangeSetHandler () override |
unique_ptr< RangeSetHandler > | subRunRangeSetHandler () override |
void | doBeginJob () override |
void | doEndJob () override |
void | skipEvents (int offset) override |
unique_ptr< FileBlock > | readFile () override |
void | closeFile () override |
unique_ptr< RunPrincipal > | readRun () override |
input::ItemType | nextItemType () override |
unique_ptr< SubRunPrincipal > | readSubRun (cet::exempt_ptr< RunPrincipal const >) override |
unique_ptr< EventPrincipal > | readEvent (cet::exempt_ptr< SubRunPrincipal const >) override |
input::ItemType | nextItemType_ () |
unique_ptr< EmptyEventTimestampPlugin > | makePlugin_ (OptionalDelegatedParameter const &maybeConfig) |
Private Attributes | |
ProcessingLimits | limits_ |
unsigned const | numberEventsInRun_ |
unsigned const | numberEventsInSubRun_ |
steady_clock::time_point const | beginTime_ {steady_clock::now()} |
std::chrono::seconds const | maxTime_ |
std::chrono::microseconds const | eventCreationDelay_ |
unsigned | numberEventsInThisRun_ {} |
unsigned | numberEventsInThisSubRun_ {} |
EventID | origEventID_ {} |
EventID | eventID_ {} |
bool | firstTime_ {true} |
bool | newFile_ {true} |
bool | newRun_ {true} |
bool | newSubRun_ {true} |
bool const | resetEventOnSubRun_ |
cet::BasicPluginFactory | pluginFactory_ {} |
unique_ptr< EmptyEventTimestampPlugin > | plugin_ |
Definition at line 44 of file EmptyEvent_source.cc.
Definition at line 96 of file EmptyEvent_source.cc.
|
inherited |
Enumerator | |
---|---|
Runs | |
RunsAndSubRuns | |
RunsSubRunsAndEvents |
Definition at line 61 of file InputSource.h.
art::EmptyEvent::EmptyEvent | ( | Parameters const & | config, |
InputSourceDescription & | desc | ||
) |
Definition at line 146 of file EmptyEvent_source.cc.
References art::errors::Configuration, eventCreationDelay_, eventID_, art::EventID::firstEvent(), art::RunID::firstRun(), art::SubRunID::firstSubRun(), limits_, makePlugin_(), maxTime_, art::InputSourceDescription::moduleDescription, nextItemType_(), numberEventsInRun_, numberEventsInSubRun_, origEventID_, plugin_, resetEventOnSubRun_, art::RunID::run(), art::SubRunID::run(), and art::SubRunID::subRun().
|
delete |
|
delete |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from art::InputSource.
Definition at line 358 of file EmptyEvent_source.cc.
References plugin_.
|
overrideprivatevirtual |
Reimplemented from art::InputSource.
Definition at line 366 of file EmptyEvent_source.cc.
References plugin_.
|
private |
Definition at line 374 of file EmptyEvent_source.cc.
References art::errors::Configuration, e, fhicl::ParameterSet::get(), fhicl::OptionalDelegatedParameter::get_if_present(), pluginFactory_, and value.
Referenced by EmptyEvent().
|
staticinherited |
Definition at line 9 of file InputSource.cc.
References art::errors::Configuration, art::InputSource::Runs, art::InputSource::RunsAndSubRuns, and art::InputSource::RunsSubRunsAndEvents.
Referenced by art::ProcessingLimits::ProcessingLimits().
|
inherited |
Definition at line 31 of file InputSource.cc.
References art::InputSource::moduleDescription_.
Referenced by readRun(), and readSubRun().
|
overrideprivatevirtual |
Implements art::InputSource.
Definition at line 190 of file EmptyEvent_source.cc.
References limits_, and art::ProcessingLimits::nextItemType().
|
private |
Definition at line 196 of file EmptyEvent_source.cc.
References beginTime_, art::EventID::event(), eventCreationDelay_, eventID_, firstTime_, art::input::IsEvent, art::input::IsFile, art::input::IsRun, art::input::IsStop, art::input::IsSubRun, art::RunID::isValid(), art::SubRunID::isValid(), art::EventID::isValid(), maxTime_, newFile_, newRun_, newSubRun_, art::EventID::next(), art::EventID::nextRun(), art::EventID::nextSubRun(), numberEventsInRun_, numberEventsInSubRun_, numberEventsInThisRun_, numberEventsInThisSubRun_, origEventID_, resetEventOnSubRun_, art::EventID::run(), art::EventID::runID(), art::EventID::subRun(), and art::EventID::subRunID().
Referenced by EmptyEvent().
|
delete |
|
delete |
|
inherited |
Definition at line 37 of file InputSource.cc.
References art::InputSource::moduleDescription_, and art::ModuleDescription::processConfiguration().
Referenced by readEvent(), readRun(), and readSubRun().
|
overrideprivatevirtual |
Implements art::InputSource.
Definition at line 329 of file EmptyEvent_source.cc.
References eventID_, art::Timestamp::invalidTimestamp(), limits_, numberEventsInSubRun_, numberEventsInThisSubRun_, plugin_, art::InputSource::processConfiguration(), and art::ProcessingLimits::update().
|
overrideprivatevirtual |
Implements art::InputSource.
Definition at line 285 of file EmptyEvent_source.cc.
|
overrideprivatevirtual |
Implements art::InputSource.
Definition at line 295 of file EmptyEvent_source.cc.
References eventID_, art::Timestamp::invalidTimestamp(), art::InputSource::moduleDescription(), plugin_, art::InputSource::processConfiguration(), and art::EventID::runID().
|
overrideprivatevirtual |
Implements art::InputSource.
Definition at line 311 of file EmptyEvent_source.cc.
References eventID_, art::Timestamp::invalidTimestamp(), limits_, art::InputSource::moduleDescription(), plugin_, art::InputSource::processConfiguration(), art::EventID::subRunID(), and art::ProcessingLimits::update().
|
overrideprivatevirtual |
Implements art::InputSource.
Definition at line 346 of file EmptyEvent_source.cc.
References eventID_, and art::EventID::run().
|
overrideprivatevirtual |
Reimplemented from art::InputSource.
Definition at line 400 of file EmptyEvent_source.cc.
References DEFINE_ART_INPUT_SOURCE, eventID_, art::EventID::next(), and art::EventID::previous().
|
overrideprivatevirtual |
Implements art::InputSource.
Definition at line 352 of file EmptyEvent_source.cc.
References eventID_, and art::EventID::run().
|
private |
Definition at line 128 of file EmptyEvent_source.cc.
Referenced by nextItemType_().
|
private |
Definition at line 130 of file EmptyEvent_source.cc.
Referenced by EmptyEvent(), and nextItemType_().
|
private |
Definition at line 134 of file EmptyEvent_source.cc.
Referenced by EmptyEvent(), nextItemType_(), readEvent(), readRun(), readSubRun(), runRangeSetHandler(), skipEvents(), and subRunRangeSetHandler().
|
private |
Definition at line 135 of file EmptyEvent_source.cc.
Referenced by nextItemType_().
|
private |
Definition at line 125 of file EmptyEvent_source.cc.
Referenced by EmptyEvent(), nextItemType(), readEvent(), and readSubRun().
|
private |
Definition at line 129 of file EmptyEvent_source.cc.
Referenced by EmptyEvent(), and nextItemType_().
|
private |
Definition at line 136 of file EmptyEvent_source.cc.
Referenced by nextItemType_().
|
private |
Definition at line 137 of file EmptyEvent_source.cc.
Referenced by nextItemType_().
|
private |
Definition at line 138 of file EmptyEvent_source.cc.
Referenced by nextItemType_().
|
private |
Definition at line 126 of file EmptyEvent_source.cc.
Referenced by EmptyEvent(), and nextItemType_().
|
private |
Definition at line 127 of file EmptyEvent_source.cc.
Referenced by EmptyEvent(), nextItemType_(), and readEvent().
|
private |
Definition at line 131 of file EmptyEvent_source.cc.
Referenced by nextItemType_().
|
private |
Definition at line 132 of file EmptyEvent_source.cc.
Referenced by nextItemType_(), and readEvent().
|
private |
Definition at line 133 of file EmptyEvent_source.cc.
Referenced by EmptyEvent(), and nextItemType_().
|
private |
Definition at line 141 of file EmptyEvent_source.cc.
Referenced by doBeginJob(), doEndJob(), EmptyEvent(), readEvent(), readRun(), and readSubRun().
|
private |
Definition at line 140 of file EmptyEvent_source.cc.
Referenced by makePlugin_().
|
private |
Definition at line 139 of file EmptyEvent_source.cc.
Referenced by EmptyEvent(), and nextItemType_().