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);
61 run.setProducer(
this);
62 callWithTryCatchAndPrint<void>([
this, &
run]() {
beginRun(
run); },
"Calling Source::beginRun");
69 callWithTryCatchAndPrint<void>([
this, &lb]() {
beginLuminosityBlock(lb); },
"Calling Source::beginLuminosityBlock");
virtual void beginRun(Run &)
void beginJob() override
Begin protected makes it easier to do template programming.
void doBeginLumi(LuminosityBlockPrincipal &lbp, ProcessContext const *) override
Called by framework at beginning of lumi block.
void registerProducts() final
Register any produced products.
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 &)
std::string const & processName() const
void setProducer(ProducerBase const *iProducer)
void commit_(P &iPrincipal)
std::string const & moduleLabel() const