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,&lb](){
beginLuminosityBlock(lb); },
"Calling Source::beginLuminosityBlock" );
void setProducer(ProducerBase const *iProducer)
virtual void beginRun(Run &)
std::string const & processName() const
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)
void commit_(P &iPrincipal)