19 std::shared_ptr<edm::FileBlock>
readFile_()
override;
52 whenToThrow_(
pset.getUntrackedParameter<
int>(
"whenToThrow", kDoNotThrow)) {
78 throw cms::Exception(
"TestThrow") <<
"ThrowingSource::beginLuminosityBlock";
89 return std::make_shared<FileBlock>();
99 throw cms::Exception(
"TestThrow") <<
"ThrowingSource::readRunAuxiliary_";
107 throw cms::Exception(
"TestThrow") <<
"ThrowingSource::readLuminosityBlockAuxiliary_";
109 return std::shared_ptr<LuminosityBlockAuxiliary>();
112 return std::make_shared<LuminosityBlockAuxiliary>(
118 throw cms::Exception(
"TestThrow") <<
"ThrowingSource::readEvent_";
void readEvent_(edm::EventPrincipal &) override
static Timestamp invalidTimestamp()
std::shared_ptr< edm::RunAuxiliary > readRunAuxiliary_() override
EventID const & eventID() const
LuminosityBlockNumber_t luminosityBlock() const
void produce(Event &) override
void closeFile_() override
unsigned long long TimeValue_t
TimeValue_t presentTime() const
bool getMapped(ProcessHistoryID const &key, ProcessHistory &value) const
void fillEventPrincipal(EventAuxiliary const &aux, ProcessHistory const *processHistory, DelayedReader *reader=nullptr)
bool setRunAndEventInfo(EventID &id, TimeValue_t &time, edm::EventAuxiliary::ExperimentType &eType) override
void beginLuminosityBlock(edm::LuminosityBlock &) override
~ThrowingSource() noexcept(false) override
std::shared_ptr< edm::LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
void beginJob() override
Begin protected makes it easier to do template programming.
std::shared_ptr< edm::FileBlock > readFile_() override
void beginRun(edm::Run &) override
ThrowingSource(ParameterSet const &, InputSourceDescription const &)