45 auto const runLookup =
r->productLookup(
InRun);
46 auto const lumiLookup =
r->productLookup(
InLumi);
47 auto const eventLookup =
r->productLookup(
InEvent);
51 auto const& runModuleToIndicies = runLookup->indiciesForModulesInProcess(
processName);
52 auto const& lumiModuleToIndicies = lumiLookup->indiciesForModulesInProcess(
processName);
53 auto const& eventModuleToIndicies = eventLookup->indiciesForModulesInProcess(
processName);
62 callWithTryCatchAndPrint<void>([
this, &
run]() {
beginRun(run); },
"Calling Source::beginRun");
69 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)