LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "EDProducer.h"
Public Types | |
using | ModuleType = EDProducer |
using | WorkerType = WorkerT< EDProducer > |
template<typename UserConfig , typename KeysToIgnore = void> | |
using | Table = ProducerBase::Table< UserConfig, KeysToIgnore > |
Public Member Functions | |
virtual | ~EDProducer ()=default |
template<typename PROD , BranchType B = InEvent> | |
ProductID | getProductID (std::string const &instanceName={}) const |
bool | modifiesEvent () const |
template<typename PROD , BranchType B> | |
ProductID | getProductID (ModuleDescription const &moduleDescription, std::string const &instanceName) const |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ProductToken< T > | consumes (InputTag const &it) |
template<typename T , BranchType = InEvent> | |
void | consumesMany () |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | consumesView (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ViewToken< T > | consumesView (InputTag const &it) |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ProductToken< T > | mayConsume (InputTag const &it) |
template<typename T , BranchType = InEvent> | |
void | mayConsumeMany () |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | mayConsumeView (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ViewToken< T > | mayConsumeView (InputTag const &it) |
base_engine_t & | createEngine (seed_t seed) |
base_engine_t & | createEngine (seed_t seed, std::string const &kind_of_engine_to_make) |
base_engine_t & | createEngine (seed_t seed, std::string const &kind_of_engine_to_make, label_t const &engine_label) |
seed_t | get_seed_value (fhicl::ParameterSet const &pset, char const key[]="seed", seed_t const implicit_seed=-1) |
Static Public Member Functions | |
static cet::exempt_ptr< Consumer > | non_module_context () |
Protected Member Functions | |
CurrentProcessingContext const * | currentContext () const |
void | validateConsumedProduct (BranchType const bt, ProductInfo const &pi) |
void | prepareForJob (fhicl::ParameterSet const &pset) |
void | showMissingConsumes () const |
Private Types | |
using | CPC_exempt_ptr = cet::exempt_ptr< CurrentProcessingContext const > |
Private Attributes | |
ModuleDescription | moduleDescription_ {} |
CPC_exempt_ptr | current_context_ {nullptr} |
bool | checkPutProducts_ {true} |
std::set< TypeLabel > | missingConsumes_ {} |
Friends | |
template<typename T > | |
class | WorkerT |
Definition at line 28 of file EDProducer.h.
|
private |
Definition at line 51 of file EDProducer.h.
Definition at line 34 of file EDProducer.h.
using art::EDProducer::Table = ProducerBase::Table<UserConfig, KeysToIgnore> |
Definition at line 43 of file EDProducer.h.
using art::EDProducer::WorkerType = WorkerT<EDProducer> |
Definition at line 35 of file EDProducer.h.
|
virtualdefault |
|
inlineprivatevirtual |
Reimplemented in ems::MergeEMShower3D, larg4::LArG4, evgen::MUSUN, trkf::CosmicTracker, lar_cluster3d::Cluster3D, vertex::FeatureVertexFinder, t0::MCTruthT0Matching, detsim::SimDriftElectrons, trkf::Track3DKalmanSPS, lbne::PhotonCounterT0Matching, evgen::GENIEGen, trkf::Track3DKalman, evgen::NeutronOsc, hit::DPRawHitFinder, shwf::ShowerReco, detsim::SimWire, evgen::TextFileGen, calo::Calorimetry, vertex::VertexFinder2D, evgen::GaisserParam, CRHitRemovalByPCA, trkf::Track3DKalmanHit, trkf::TrackStitcher, hit::GausHitFinder, ems::EMShower3D, reco3d::SpacePointSolver, trkf::CCTrackMaker, t0::MCParticleShowerMatching, t0::MCParticleTrackMatching, vertex::HarrisVertexFinder, evgen::NDKGen, cosmic::CosmicClusterTagger, cluster::SmallClusterFinder, hit::RawHitFinder, cosmic::CosmicPCAxisTagger, shower::TCShower, evgen::NucleonDecay, cosmic::CosmicTrackTagger, vertex::PrimaryVertexFinder, trkf::Track3Dreco, trkf::TrackKalmanCheater, cosmic::CosmicPFParticleTagger, event::AggregateEvent, evgen::NUANCEGen, opdet::OpHitFinder, trkf::SpacePts, cluster::ClusterCrawler, cluster::fuzzyCluster, evgen::FileMuons, opdet::TrackTimeAssoc, cluster::LineMerger, t0::MCParticleHitMatching, cosmic::TrackPFParticleMatch, caldata::CalWireT962, cluster::DBcluster, wc::MergeWireCell, CRHitRemoval, cluster::TrajCluster, caldata::CalWire, vertex::AggregateVertex, evgen::CORSIKAGen, opdet::BeamFlashCompatabilityCheck, opdet::OptDetDigitizer, hit::FFTHitFinder, trkf::FeatureTracker, evgen::CosmicsGen, noisefilteralg::WireCellNoiseFilter, hit::HitCheater, spacecharge::ShiftEdepSCE, opdet::OpFlashFinder, sppt::TTSpacePointFinder, apa::APAHitFinder, hit::RFFHitFinder, trkf::BezierTrackerModule, trkf::SpacePointCheater, trkf::SpacePointFinder, opdet::OpMCDigi, opdet::OpticalRawDigitReformatter, hit::TTHitFinder, trkf::SeedFinderModule, opdet::FlashClusterMatch, hit::DisambigCheater, mvapid::MVAPID, lar_pandora::LArPandora, and opdet::BoDataFrameInput.
Definition at line 73 of file EDProducer.h.
Referenced by doBeginJob().
|
inlineprivatevirtual |
Reimplemented in larg4::LArG4, evgen::SingleGen, evgen::MarleyTimeGen, evgen::MUSUN, evgen::LightSource, evgen::RadioGen, evgen::GENIEGen, evgen::NeutronOsc, shwf::ShowerReco, evgen::TextFileGen, evgen::GaisserParam, evgen::MarleyGen, evgen::NDKGen, cluster::SmallClusterFinder, evgen::NucleonDecay, evgen::NUANCEGen, evgen::FileMuons, evgen::CORSIKAGen, evgen::CosmicsGen, sppt::TTSpacePointFinder, evgen::SNNueAr40CCGen, ToyOneShowerGen, and mvapid::MVAPID.
Definition at line 80 of file EDProducer.h.
Referenced by doBeginRun().
|
inlineprivatevirtual |
Reimplemented in evgen::GENIEGen.
Definition at line 83 of file EDProducer.h.
Referenced by doBeginSubRun().
|
inherited |
|
inherited |
Definition at line 147 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inherited |
Definition at line 162 of file Consumer.h.
|
inherited |
|
inherited |
Definition at line 172 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inherited |
Definition at line 26 of file EngineCreator.cc.
References art::EngineCreator::rng().
Referenced by evgen::CosmicsGen::CosmicsGen(), rndm::NuRandomService::createEngine(), cluster::fuzzyCluster::fuzzyCluster(), cluster::HoughLineFinder::HoughLineFinder(), art::MixFilter< T >::initEngine_(), larg4::LArG4::LArG4(), evgen::LightSource::LightSource(), evgen::NeutronOsc::NeutronOsc(), evgen::NucleonDecay::NucleonDecay(), opdet::OpMCDigi::OpMCDigi(), opdet::OptDetDigitizer::OptDetDigitizer(), phot::PhotonLibraryPropagation::PhotonLibraryPropagation(), detsim::SimDriftElectrons::SimDriftElectrons(), evgen::SingleGen::SingleGen(), evgen::SNNueAr40CCGen::SNNueAr40CCGen(), ToyOneShowerGen::ToyOneShowerGen(), and trkf::Track3DKalman::Track3DKalman().
|
inherited |
Definition at line 32 of file EngineCreator.cc.
References art::EngineCreator::rng().
|
inherited |
Definition at line 40 of file EngineCreator.cc.
References art::EngineCreator::rng().
|
protected |
|
private |
Definition at line 32 of file EDProducer.cc.
References beginJob(), checkPutProducts_, fhicl::ParameterSetRegistry::get(), art::detail::get_failureToPut_flag(), art::ModuleDescription::mainParameterSetID(), moduleDescription_, art::ModuleDescription::parameterSetID(), and art::Consumer::prepareForJob().
|
private |
Definition at line 56 of file EDProducer.cc.
References beginRun(), current_context_, art::RangeSet::forRun(), art::RunPrincipal::id(), and moduleDescription_.
|
private |
Definition at line 76 of file EDProducer.cc.
References beginSubRun(), current_context_, art::RangeSet::forSubRun(), art::SubRunPrincipal::id(), and moduleDescription_.
|
private |
Definition at line 49 of file EDProducer.cc.
References endJob(), and art::Consumer::showMissingConsumes().
|
private |
Definition at line 66 of file EDProducer.cc.
References current_context_, endRun(), moduleDescription_, and art::RunPrincipal::seenRanges().
|
private |
Definition at line 86 of file EDProducer.cc.
References current_context_, endSubRun(), moduleDescription_, and art::SubRunPrincipal::seenRanges().
|
private |
Definition at line 18 of file EDProducer.cc.
References checkPutProducts_, current_context_, e, art::ExecutionCounts< ARGS >::increment(), moduleDescription_, and produce().
|
private |
Definition at line 102 of file EDProducer.cc.
References respondToCloseInputFile().
|
private |
Definition at line 114 of file EDProducer.cc.
References respondToCloseOutputFiles().
|
private |
Definition at line 96 of file EDProducer.cc.
References respondToOpenInputFile().
|
private |
Definition at line 108 of file EDProducer.cc.
References respondToOpenOutputFiles().
|
inlineprivatevirtual |
Reimplemented in trkf::CosmicTracker, lar_cluster3d::Cluster3D, detsim::SimDriftElectrons, trkf::Track3DKalmanSPS, trkf::Track3DKalman, hit::DPRawHitFinder, detsim::SimWire, CRHitRemovalByPCA, trkf::Track3DKalmanHit, trkf::TrackStitcher, hit::GausHitFinder, evgen::NDKGen, reco3d::SpacePointSolver, cosmic::CosmicClusterTagger, cosmic::CosmicPCAxisTagger, hit::RawHitFinder, cosmic::CosmicTrackTagger, cosmic::CosmicPFParticleTagger, trkf::Track3Dreco, trkf::TrackKalmanCheater, evgen::NUANCEGen, opdet::OpHitFinder, trkf::SpacePts, evgen::FileMuons, cosmic::TrackPFParticleMatch, caldata::CalWireT962, CRHitRemoval, cluster::TrajCluster, caldata::CalWire, evwgh::EventWeight, hit::FFTHitFinder, trkf::FeatureTracker, noisefilteralg::WireCellNoiseFilter, sppt::TTSpacePointFinder, opdet::OpFlashFinder, trkf::BezierTrackerModule, apa::APAHitFinder, trkf::SpacePointCheater, trkf::SpacePointFinder, opdet::OpticalRawDigitReformatter, trkf::TCTrack, hit::TTHitFinder, trkf::SeedFinderModule, hit::DisambigCheater, and hit::HitFinder.
Definition at line 76 of file EDProducer.h.
Referenced by doEndJob().
|
inlineprivatevirtual |
Reimplemented in evgen::MUSUN.
Definition at line 86 of file EDProducer.h.
Referenced by doEndRun().
|
inlineprivatevirtual |
Reimplemented in evgen::GENIEGen.
Definition at line 89 of file EDProducer.h.
Referenced by doEndSubRun().
|
inherited |
Definition at line 49 of file EngineCreator.cc.
References fhicl::ParameterSet::get().
Referenced by art::MixFilter< T >::initEngine_().
|
inline |
|
inherited |
Definition at line 56 of file ProducerBase.h.
References B, and art::ModuleDescription::moduleLabel().
Referenced by art::ProducerBase::modifiesEvent().
|
inherited |
|
inherited |
Definition at line 190 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inherited |
Definition at line 205 of file Consumer.h.
|
inherited |
|
inherited |
Definition at line 215 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inlineinherited |
Definition at line 40 of file ProducerBase.h.
References art::ProducerBase::getProductID().
|
staticinherited |
Definition at line 76 of file Consumer.cc.
Referenced by art::RootOutput::beginSubRun(), art::OutputModule::doBeginRun(), art::OutputModule::doBeginSubRun(), art::OutputModule::doEndRun(), art::OutputModule::doEndSubRun(), art::ProducingService::doPostReadEvent(), art::ProducingService::doPostReadRun(), art::ProducingService::doPostReadSubRun(), art::OutputModule::doWriteEvent(), art::ProcessPackage< L >::postScheduleSignal(), art::BeginEndPackage< Level::Run >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::Run >::End::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::End::postScheduleSignal(), art::ProcessPackage< L >::preScheduleSignal(), art::BeginEndPackage< Level::Run >::Begin::preScheduleSignal(), art::BeginEndPackage< Level::SubRun >::Begin::preScheduleSignal(), art::EventProcessor::readEvent(), art::EventProcessor::readRun(), art::EmptyEvent::readRun_(), art::EventProcessor::readSubRun(), and art::EmptyEvent::readSubRun_().
|
protectedinherited |
Definition at line 89 of file Consumer.cc.
References fhicl::ParameterSet::get_if_present().
Referenced by doBeginJob(), art::EDFilter::doBeginJob(), and art::EDAnalyzer::doBeginJob().
|
privatepure virtual |
Implemented in ems::MergeEMShower3D, larg4::LArG4, evgen::SingleGen, evgen::MarleyTimeGen, evgen::MUSUN, trkf::CosmicTracker, trkf::KalmanFilterFinalTrackFitter, phot::PhotonLibraryPropagation, trkf::PMAlgTrackMaker, trkf::KalmanFilterTrajectoryFitter, lar_cluster3d::Cluster3D, evd::GraphCluster, lar::example::TotallyCheatTracker, vertex::FeatureVertexFinder, evgen::LightSource, raw::RecompressRawDigits, t0::MCTruthT0Matching, detsim::SimDriftElectrons, trkf::Track3DKalmanSPS, evgen::RadioGen, trkf::PMAlgTrajFitter, lar::example::RemoveIsolatedSpacePoints, lbne::PhotonCounterT0Matching, evgen::GENIEGen, trkf::Track3DKalman, shwf::ShowerReco, vertex::VertexFinder2D, evgen::NeutronOsc, calo::Calorimetry, hit::DPRawHitFinder, detsim::SimWire, trkf::VertexFitter, evgen::TextFileGen, cluster::HoughLineFinder, evgen::MarleyGen, evgen::GaisserParam, CRHitRemovalByPCA, ems::EMShower3D, trkf::Track3DKalmanHit, trkf::TrackStitcher, hit::GausHitFinder, cluster::EndPointModule, cluster::SmallClusterFinder, vertex::HarrisVertexFinder, trkf::MCSFitProducer, vertex::PrimaryVertexFinder, reco3d::SpacePointSolver, trkf::CCTrackMaker, evgen::NDKGen, opdet::OpHitFinder, hit::RawHitFinder, cosmic::CosmicClusterTagger, t0::MCParticleShowerMatching, t0::MCParticleTrackMatching, cosmic::CosmicPCAxisTagger, shwf::ShowerFinder, cosmic::CosmicTrackTagger, shower::TCShower, trkf::Track3Dreco, trkf::TrackKalmanCheater, vertex::VertexMatch, evgen::NucleonDecay, event::AggregateEvent, shower::EMShower, TrackProducerFromPFParticle, cosmic::CosmicPFParticleTagger, evgen::NUANCEGen, trkf::SpacePts, cluster::ClusterCrawler, cluster::fuzzyCluster, evgen::FileMuons, cluster::BlurredClustering, cluster::LineMerger, butcher::EventButcher, cosmic::TrackPFParticleMatch, t0::MCParticleHitMatching, caldata::CalWireT962, cluster::DBcluster, cluster::FuzzyClusterMerger, ShowerReco3D, CRHitRemoval, cluster::TrajCluster, opdet::OpFlashFinder, caldata::CalWire, calo::GeneralCalorimetry, cluster::DBCluster3D, trkf::FeatureTracker, TrackProducerFromTrackTrajectory, vertex::AggregateVertex, wc::MergeWireCell, evgen::CORSIKAGen, cosmic::BeamFlashTrackMatchTagger, calo::TrackCalorimetry, hit::FFTHitFinder, TrackProducerFromTrack, evwgh::EventWeight, opdet::OptDetDigitizer, pid::Chi2ParticleID, lar::example::Disturbance, calo::BezierCalorimetry, cluster::ClusterCheater, evgen::CosmicsGen, opdet::OpticalRawDigitReformatter, trkf::TrackCheater, evgen::SNNueAr40CCGen, hit::HitCheater, noisefilteralg::WireCellNoiseFilter, cluster::SimpleLineCluster, trkf::BezierTrackerModule, spacecharge::ShiftEdepSCE, opdet::BeamFlashCompatabilityCheck, cluster::LineCluster, tss::TrackShowerHits, sppt::TTSpacePointFinder, trkf::SpacePointCheater, trkf::SpacePointFinder, sim::MergeSimSources, opdet::TrackTimeAssoc, apa::APAHitFinder, event::EventCheater, shwf::ShowerCheater, hit::RFFHitFinder, vertex::CornerFinder, opdet::OpMCDigi, cluster::SimpleClusterMerger, trkf::TCTrack, ToyOneShowerGen, art::RandomNumberSaver, trk::TrackContainmentTagger, vertex::VertexCheater, hit::TTHitFinder, trkf::SeedFinderModule, mvapid::MVAPID, lar_pandora::LArPandoraExternalEventBuilding, lar_pandora::LArPandoraShowerCreation, hit::DisambigCheater, hit::HitFinder, hit::MCHitFinder, lar_pandora::LArPandora, art::TriggerResultInserter, opdet::FlashClusterMatch, lar_pandora::LArPandoraTrackCreation, MCReco, opdet::BoDataFrameInput, lar_pandora::CollectionSplitting, lar_pandora::CollectionMerging, cheat::BackTrackerLoader, cheat::PhotonBackTrackerLoader, event::EventMaker, wcls::WireCellToolkit, and bogoblip::BlipMaker.
Referenced by doEvent(), and workerType().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
inlineprivate |
Definition at line 106 of file EDProducer.h.
References moduleDescription_, and art::Consumer::setModuleDescription().
|
protectedinherited |
Definition at line 125 of file Consumer.cc.
Referenced by doEndJob(), art::EDFilter::doEndJob(), art::EDAnalyzer::doEndJob(), and art::RootOutput::endJob().
|
protectedinherited |
Definition at line 101 of file Consumer.cc.
References art::errors::ProductRegistrationFailure.
|
inlineprivate |
Definition at line 66 of file EDProducer.h.
References produce().
|
friend |
Definition at line 33 of file EDProducer.h.
|
private |
Definition at line 117 of file EDProducer.h.
Referenced by doBeginJob(), and doEvent().
|
private |
Definition at line 116 of file EDProducer.h.
Referenced by currentContext(), doBeginRun(), doBeginSubRun(), doEndRun(), doEndSubRun(), and doEvent().
|
private |
Definition at line 118 of file EDProducer.h.
|
private |
Definition at line 115 of file EDProducer.h.
Referenced by doBeginJob(), doBeginRun(), doBeginSubRun(), doEndRun(), doEndSubRun(), doEvent(), getProductID(), and setModuleDescription().