93 timePerLumi_(
pset.getUntrackedParameter<double>(
"timePerLumi")),
94 sleepAfterStartOfRun_(
pset.getUntrackedParameter<double>(
"sleepAfterStartOfRun")),
95 eventsPerLumi_(
pset.getUntrackedParameter<
std::
vector<unsigned
int>>(
"eventsPerLumi")),
96 lumisPerRun_(
pset.getUntrackedParameter<unsigned
int>(
"lumisPerRun")),
97 multipleEntriesForRun_(
pset.getUntrackedParameter<unsigned
int>(
"multipleEntriesForRun")),
98 multipleEntriesForLumi_(
pset.getUntrackedParameter<unsigned
int>(
"multipleEntriesForLumi")),
99 declareLast_(
pset.getUntrackedParameter<
bool>(
"declareLast")),
100 declareAllLast_(
pset.getUntrackedParameter<
bool>(
"declareAllLast")) {}
106 desc.addUntracked<
double>(
"timePerLumi");
107 desc.addUntracked<
double>(
"sleepAfterStartOfRun");
108 desc.addUntracked<std::vector<unsigned int>>(
"eventsPerLumi");
109 desc.addUntracked<
unsigned int>(
"lumisPerRun");
110 desc.addUntracked<
unsigned int>(
"multipleEntriesForRun", 0);
111 desc.addUntracked<
unsigned int>(
"multipleEntriesForLumi", 0);
112 desc.addUntracked<
bool>(
"declareLast",
false);
113 desc.addUntracked<
bool>(
"declareAllLast",
false);
114 descriptions.
add(
"source",
desc);
118 constexpr
unsigned int secondsToMicroseconds = 1000000;
268 return std::make_shared<edm::LuminosityBlockAuxiliary>(
273 bool isRealData =
false;
static Timestamp invalidTimestamp()
SourceWithWaits(edm::ParameterSet const &, edm::InputSourceDescription const &)
unsigned int multipleEntriesForLumi_
unsigned int currentFile_
unsigned long long EventNumber_t
unsigned int eventInCurrentLumi_
edm::InputSource::ItemTypeInfo getNextItemType() override
unsigned int lumiInCurrentRun_
unsigned int multipleEntriesForRun_
unsigned int LuminosityBlockNumber_t
std::vector< unsigned int > eventsPerLumi_
static void fillDescriptions(edm::ConfigurationDescriptions &)
edm::RunNumber_t currentRun_
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_
static int position[264][3]
double sleepAfterStartOfRun_
~SourceWithWaits() override