Go to the documentation of this file.
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");
std::string const & moduleLabel() const
void setProducer(ProducerBase const *iProducer)
void commit_(P &iPrincipal)
void beginJob() override
Begin protected makes it easier to do template programming.
std::string const & processName() const
PuttableSourceBase(ParameterSet const &, InputSourceDescription const &)
void doBeginRun(RunPrincipal &rp, ProcessContext const *) override
Called by framework at beginning of run.
void registerProducts() final
Register any produced products.
virtual void beginLuminosityBlock(LuminosityBlock &)
void resolvePutIndicies(BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
virtual void beginRun(Run &)
void doBeginLumi(LuminosityBlockPrincipal &lbp, ProcessContext const *) override
Called by framework at beginning of lumi block.