LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "Consumer.h"
Classes | |
struct | InvalidTag |
Public Member Functions | |
Consumer ()=default | |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | consumesMany () |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | consumesView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | mayConsumeMany () |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | mayConsumeView (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ProductToken< T > | consumes (InputTag const &it) |
template<typename T , art::BranchType BT> | |
art::ViewToken< T > | consumesView (InputTag const &it) |
template<typename T , art::BranchType BT> | |
art::ProductToken< T > | mayConsume (InputTag const &it) |
template<typename T , art::BranchType BT> | |
art::ViewToken< T > | mayConsumeView (InputTag const &it) |
Static Public Member Functions | |
static cet::exempt_ptr< Consumer > | non_module_context () |
Protected Member Functions | |
void | validateConsumedProduct (BranchType const bt, ProductInfo const &pi) |
void | setModuleDescription (ModuleDescription const &md) |
void | prepareForJob (fhicl::ParameterSet const &pset) |
void | showMissingConsumes () const |
Private Types | |
using | ConsumableType = ProductInfo::ConsumableType |
Private Member Functions | |
Consumer (InvalidTag) | |
Private Attributes | |
bool | moduleContext_ {true} |
bool | requireConsumes_ {false} |
ConsumableProducts | consumables_ {} |
ConsumableProductSets | missingConsumes_ {} |
cet::exempt_ptr< ModuleDescription const > | moduleDescription_ {nullptr} |
Friends | |
class | DataViewImpl |
Definition at line 87 of file Consumer.h.
|
private |
Definition at line 133 of file Consumer.h.
|
explicitdefault |
|
inlineexplicitprivate |
Definition at line 134 of file Consumer.h.
ProductToken<T> art::Consumer::consumes | ( | InputTag const & | ) |
art::ProductToken<T> art::Consumer::consumes | ( | InputTag const & | it | ) |
Definition at line 147 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
void art::Consumer::consumesMany | ( | ) |
Definition at line 162 of file Consumer.h.
ViewToken<Element> art::Consumer::consumesView | ( | InputTag const & | ) |
art::ViewToken<T> art::Consumer::consumesView | ( | InputTag const & | it | ) |
Definition at line 172 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
ProductToken<T> art::Consumer::mayConsume | ( | InputTag const & | ) |
art::ProductToken<T> art::Consumer::mayConsume | ( | InputTag const & | it | ) |
Definition at line 190 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
void art::Consumer::mayConsumeMany | ( | ) |
Definition at line 205 of file Consumer.h.
ViewToken<Element> art::Consumer::mayConsumeView | ( | InputTag const & | ) |
art::ViewToken<T> art::Consumer::mayConsumeView | ( | InputTag const & | it | ) |
Definition at line 215 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
static |
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_().
|
protected |
Definition at line 89 of file Consumer.cc.
References fhicl::ParameterSet::get_if_present().
Referenced by art::EDProducer::doBeginJob(), art::EDFilter::doBeginJob(), and art::EDAnalyzer::doBeginJob().
|
protected |
Definition at line 83 of file Consumer.cc.
Referenced by art::ResultsProducer::doBeginJob(), art::EDProducer::setModuleDescription(), art::EDFilter::setModuleDescription(), and art::EDAnalyzer::setModuleDescription().
|
protected |
Definition at line 125 of file Consumer.cc.
Referenced by art::EDProducer::doEndJob(), art::EDFilter::doEndJob(), art::EDAnalyzer::doEndJob(), and art::RootOutput::endJob().
|
protected |
Definition at line 101 of file Consumer.cc.
References art::errors::ProductRegistrationFailure.
|
friend |
Definition at line 118 of file Consumer.h.
|
private |
Definition at line 138 of file Consumer.h.
|
private |
Definition at line 139 of file Consumer.h.
|
private |
Definition at line 136 of file Consumer.h.
|
private |
Definition at line 140 of file Consumer.h.
|
private |
Definition at line 137 of file Consumer.h.