61 if (
pset.getUntrackedParameter<
bool>(
"test",
true)) {
63 <<
"Or the test configuration parameter was set true (it should never be true unless you want this " 67 this->findingRecord<GadgetRcd>();
80 auto data = std::make_unique<Doodad>();
90 desc.addUntracked<
bool>(
"test",
false)
91 ->setComment(
"This parameter exists only to test the parameter set validation for ESSources");
92 descriptions.
add(
"DoodadESSource",
desc);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
std::pair< Time_t, Time_t > ValidityInterval
static LuminosityBlockNumber_t maxLuminosityBlockNumber()
DoodadESSource(edm::ParameterSet const &pset)
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
EventID nextRun(LuminosityBlockNumber_t const &lumi) const
std::unique_ptr< Doodad > produce(const GadgetRcd &)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iTime, edm::ValidityInterval &iInterval) override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
EventID previousRunLastEvent(LuminosityBlockNumber_t const &lumi) const
const EventID & eventID() const
char data[epos_bytes_allocation]
const DoodadESSource & operator=(const DoodadESSource &)=delete
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)