51 auto const runLookup =
r->productLookup(
InRun);
52 auto const lumiLookup =
r->productLookup(
InLumi);
53 auto const eventLookup =
r->productLookup(
InEvent);
57 auto const& runModuleToIndicies = runLookup->indiciesForModulesInProcess(
processName);
58 auto const& lumiModuleToIndicies = lumiLookup->indiciesForModulesInProcess(
processName);
59 auto const& eventModuleToIndicies = eventLookup->indiciesForModulesInProcess(
processName);
69 callWithTryCatchAndPrint<void>( [
this,&
run](){
beginRun(run); },
"Calling Source::beginRun" );
77 callWithTryCatchAndPrint<void>( [
this,&
run](){
endRun(run); },
"Calling Source::endRun", cleaningUpAfterException );
85 callWithTryCatchAndPrint<void>( [
this,&lb](){
beginLuminosityBlock(lb); },
"Calling Source::beginLuminosityBlock" );
93 callWithTryCatchAndPrint<void>( [
this,&lb](){
endLuminosityBlock(lb); },
"Calling Source::endLuminosityBlock", cleaningUpAfterException );
void setProducer(ProducerBase const *iProducer)
virtual void beginRun(Run &)
virtual void endLuminosityBlock(LuminosityBlock &)
std::string const & processName() const
void doEndRun(RunPrincipal &rp, bool cleaningUpAfterException, ProcessContext const *) override
Called by framework at end of run.
void doBeginLumi(LuminosityBlockPrincipal &lbp, ProcessContext const *) override
Called by framework at beginning of lumi block.
void registerProducts() final
Register any produced products.
std::string const & moduleLabel() const
void resolvePutIndicies(BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
virtual void beginLuminosityBlock(LuminosityBlock &)
void doBeginRun(RunPrincipal &rp, ProcessContext const *) override
Called by framework at beginning of run.
PuttableSourceBase(ParameterSet const &, InputSourceDescription const &)
void setProducer(ProducerBase const *iProducer)
virtual void endRun(Run &)
void commit_(P &iPrincipal)
void doEndLumi(LuminosityBlockPrincipal &lbp, bool cleaningUpAfterException, ProcessContext const *) override
Called by framework at end of lumi block.