85 timePerLumi_(
pset.getUntrackedParameter<unsigned
int>(
"timePerLumi")),
86 eventsPerLumi_(
pset.getUntrackedParameter<
std::
vector<unsigned
int>>(
"eventsPerLumi")),
87 lumisPerRun_(
pset.getUntrackedParameter<unsigned
int>(
"lumisPerRun")) {}
93 desc.addUntracked<
unsigned int>(
"timePerLumi");
94 desc.addUntracked<std::vector<unsigned int>>(
"eventsPerLumi");
95 desc.addUntracked<
unsigned int>(
"lumisPerRun");
96 descriptions.
add(
"source",
desc);
100 constexpr
unsigned int secondsToMicroseconds = 1000000;
167 return std::make_shared<edm::LuminosityBlockAuxiliary>(
172 bool isRealData =
false;
static Timestamp invalidTimestamp()
SourceWithWaits(edm::ParameterSet const &, edm::InputSourceDescription const &)
unsigned int currentFile_
unsigned long long EventNumber_t
unsigned int eventInCurrentLumi_
unsigned int lumiInCurrentRun_
unsigned int LuminosityBlockNumber_t
std::vector< unsigned int > eventsPerLumi_
static void fillDescriptions(edm::ConfigurationDescriptions &)
edm::RunNumber_t currentRun_
edm::InputSource::ItemType getNextItemType() override
void readEvent_(edm::EventPrincipal &) override
std::shared_ptr< edm::RunAuxiliary > readRunAuxiliary_() override
std::shared_ptr< edm::LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
unsigned int lumisPerRun_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool getMapped(ProcessHistoryID const &key, ProcessHistory &value) const
void fillEventPrincipal(EventAuxiliary const &aux, ProcessHistory const *processHistory, DelayedReader *reader=nullptr)
edm::LuminosityBlockNumber_t currentLumi_
edm::EventNumber_t currentEvent_
~SourceWithWaits() override
unsigned int timePerLumi_