LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ProducingService.h"
Public Member Functions | |
ProducingService () | |
virtual | ~ProducingService () noexcept |
void | setModuleDescription (ModuleDescription const &) |
void | registerCallbacks (ProducingServiceSignals &) |
void | doPostReadRun (RunPrincipal &) |
void | doPostReadSubRun (SubRunPrincipal &) |
void | doPostReadEvent (EventPrincipal &) |
Static Public Attributes | |
static constexpr bool | service_handle_allowed {false} |
Private Member Functions | |
virtual void | postReadRun (Run &) |
virtual void | postReadSubRun (SubRun &) |
virtual void | postReadEvent (Event &) |
void | productList (std::unique_ptr< ProductList > p) |
void | registerProducts (ProductDescriptions &productsToRegister, ModuleDescription const &md) |
void | fillDescriptions (ModuleDescription const &md) |
template<typename P , BranchType B> | |
TypeLabel const & | reconstitutes (std::string const &modLabel, std::string const &instanceName={}) |
template<BranchType B> | |
TypeLabelLookup_t const & | expectedProducts () const |
template<typename P , BranchType B = InEvent> | |
void | produces (std::string const &instanceName={}, Persistable const persistable=Persistable::Yes) |
ProducesCollector & | producesCollector () noexcept |
Private Attributes | |
ModuleContext | mc_ {ModuleContext::invalid()} |
Definition at line 17 of file ProducingService.h.
art::ProducingService::ProducingService | ( | ) |
Definition at line 15 of file ProducingService.cc.
References art::produces, and ~ProducingService().
|
virtualdefaultnoexcept |
Referenced by ProducingService().
void art::ProducingService::doPostReadEvent | ( | EventPrincipal & | ep | ) |
Definition at line 54 of file ProducingService.cc.
References e, art::EventPrincipal::makeEvent(), mc_, and postReadEvent().
Referenced by registerCallbacks().
void art::ProducingService::doPostReadRun | ( | RunPrincipal & | rp | ) |
Definition at line 38 of file ProducingService.cc.
References art::RangeSet::forRun(), art::RunPrincipal::makeRun(), mc_, postReadRun(), r, and art::RunPrincipal::runID().
Referenced by registerCallbacks().
void art::ProducingService::doPostReadSubRun | ( | SubRunPrincipal & | srp | ) |
Definition at line 46 of file ProducingService.cc.
References art::RangeSet::forSubRun(), art::SubRunPrincipal::makeSubRun(), mc_, postReadSubRun(), and art::SubRunPrincipal::subRunID().
Referenced by registerCallbacks().
|
inlineinherited |
Definition at line 93 of file ProductRegistryHelper.h.
Referenced by art::ProductRegistryHelper::registerProducts().
|
inherited |
Definition at line 48 of file ProductRegistryHelper.cc.
References art::ProductRegistryHelper::collector_, and art::ProducesCollector::fillDescriptions().
Referenced by art::Modifier::fillProductDescriptions(), and art::ProductRegistryHelper::registerProducts().
|
privatevirtual |
|
privatevirtual |
Reimplemented in geo::GeometryConfigurationWriter.
Definition at line 62 of file ProducingService.cc.
Referenced by doPostReadRun().
|
privatevirtual |
|
inlineinherited |
Definition at line 100 of file ProductRegistryHelper.h.
References art::errors::ProductRegistrationFailure, and art::reconstitutes.
Referenced by larg4::LArG4::LArG4(), trkf::PMAlgTrackMaker::PMAlgTrackMaker(), trkf::PMAlgTrajFitter::PMAlgTrajFitter(), and trkf::Track3DKalmanHit::Track3DKalmanHit().
|
inlinenoexceptinherited |
Definition at line 80 of file ProductRegistryHelper.h.
Referenced by apa::APAHitFinder::APAHitFinder(), artg4tk::artg4tkMain::artg4tkMain(), lar_cluster3d::Cluster3D::Cluster3D(), cluster::ClusterCrawler::ClusterCrawler(), CRHitRemoval::CRHitRemoval(), hit::DisambigCheater::DisambigCheater(), hit::DPRawHitFinder::DPRawHitFinder(), nnet::EmTrackClusterId::EmTrackClusterId(), nnet::EmTrackClusterId2out::EmTrackClusterId2out(), nnet::EmTrackClusterId2outTl::EmTrackClusterId2outTl(), nnet::EmTrackClusterId3outTl::EmTrackClusterId3outTl(), nnet::EmTrackMichelId::EmTrackMichelId(), nnet::EmTrackMichelIdTl::EmTrackMichelIdTl(), hit::FFTHitFinder::FFTHitFinder(), hit::GausHitFinder::GausHitFinder(), hit::HitCheater::HitCheater(), hit::HitFinder::HitFinder(), larg4::larg4Main::larg4Main(), reco::shower::LArPandoraModularShowerCreation::LArPandoraModularShowerCreation(), cluster::LineCluster::LineCluster(), art::MixFilter< T, IOPolicy >::MixFilter(), hit::RawHitFinder::RawHitFinder(), wcls::WireCellToolkit::reconfigure(), hit::RFFHitFinder::RFFHitFinder(), cluster::TrajCluster::TrajCluster(), and hit::TTHitFinder::TTHitFinder().
|
inlineinherited |
Definition at line 52 of file ProductRegistryHelper.h.
References art::produces, art::reconstitutes, and art::Yes.
|
inherited |
Definition at line 117 of file ProductRegistryHelper.h.
References art::produces, and art::errors::ProductRegistrationFailure.
Referenced by lris::LArRawInputDriver::LArRawInputDriver(), lris::LArRawInputDriverJP250L::LArRawInputDriverJP250L(), lris::LArRawInputDriverLongBo::LArRawInputDriverLongBo(), lris::LArRawInputDriverShortBo::LArRawInputDriverShortBo(), and fluxr::PPFXFluxReader::PPFXFluxReader().
void art::ProducingService::registerCallbacks | ( | ProducingServiceSignals & | cbReg | ) |
Definition at line 30 of file ProducingService.cc.
References doPostReadEvent(), doPostReadRun(), doPostReadSubRun(), art::ProducingServiceSignals::sPostReadEvent, art::ProducingServiceSignals::sPostReadRun, and art::ProducingServiceSignals::sPostReadSubRun.
|
inherited |
Definition at line 24 of file ProductRegistryHelper.cc.
References art::ProductRegistryHelper::collector_, art::ProductRegistryHelper::expectedProducts(), art::ProducesCollector::expectedProducts(), art::ProductRegistryHelper::fillDescriptions(), art::for_each_branch_type(), art::ProductRegistryHelper::productList_, and util::values().
Referenced by art::Source< T >::finishProductRegistration_(), and art::Modifier::registerProducts().
void art::ProducingService::setModuleDescription | ( | ModuleDescription const & | md | ) |
|
private |
Definition at line 43 of file ProducingService.h.
Referenced by doPostReadEvent(), doPostReadRun(), doPostReadSubRun(), and setModuleDescription().
|
static |
Definition at line 19 of file ProducingService.h.