1 #ifndef Framework_Sources_IDGeneratorSourceBase_h 2 #define Framework_Sources_IDGeneratorSourceBase_h 23 template <
typename BASE>
48 auto history = BASE::processHistoryRegistry().getMapped(
aux.processHistoryID());
51 BASE::resetEventCached();
61 aux.setProcessHistoryID(historyID);
62 auto history = BASE::processHistoryRegistry().getMapped(
aux.processHistoryID());
65 BASE::resetEventCached();
virtual void initialize(EventID &id, TimeValue_t &time, TimeValue_t &interval)
RunNumber_t runForLumi(LuminosityBlockNumber_t) const
void doReadEvent(EventPrincipal &eventPrincipal, F &&f)
~IDGeneratorSourceBase() noexcept(false) override
unsigned int numberEventsInRun() const
unsigned int eventCreationDelay() const
IDGeneratorSourceBase(ParameterSet const &pset, InputSourceDescription const &desc, bool realData)
EventID const & eventID() const
unsigned int numberEventsInLumi_
unsigned int numberEventsInThisRun() const
BASE::ItemType getNextItemType() final
unsigned long long EventNumber_t
unsigned int numberEventsInThisRun_
Guid const & processGUID()
unsigned int LuminosityBlockNumber_t
std::vector< EventSelectionID > EventSelectionIDVector
LuminosityBlockNumber_t luminosityBlock() const
unsigned int timeBetweenEvents() const
virtual bool setRunAndEventInfo(EventID &id, TimeValue_t &time, EventAuxiliary::ExperimentType &etype)=0
EventNumber_t const zerothEvent_
std::vector< BranchListIndex > BranchListIndexes
virtual size_t fileIndex() const
std::shared_ptr< LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
virtual bool noFiles() const
LuminosityBlockNumber_t luminosityBlock() const
void retreatToPrevious(EventID &eventID, TimeValue_t &time)
unsigned int numberEventsInLumi() const
void doReadEventWithDelayedReader(EventPrincipal &eventPrincipal, ProcessHistoryID const &historyID, EventSelectionIDVector eventSelectionIDs, BranchListIndexes branchListIndexes, DelayedReader *reader)
unsigned long long TimeValue_t
std::shared_ptr< RunAuxiliary > readRunAuxiliary_() override
TimeValue_t presentTime() const
unsigned int numberEventsInRun_
static void fillDescription(ParameterSetDescription &desc)
void advanceToNext(EventID &eventID, TimeValue_t &time)
std::vector< edm::LuminosityBlockID > firstLumiForRuns_
void fillEventPrincipal(EventAuxiliary const &aux, ProcessHistory const *processHistory, DelayedReader *reader=nullptr)
EventNumber_t event() const
void skip(int offset) override
unsigned int numberEventsInThisLumi_
TimeValue_t timeBetweenEvents_
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
unsigned int eventCreationDelay_
EventNumber_t event() const
EventAuxiliary::ExperimentType eType_
unsigned int numberEventsInThisLumi() const