LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "ResultsProducer.h"
Public Types | |
template<typename UserConfig , typename KeysToIgnore = void> | |
using | Table = ProducerTable< UserConfig, detail::PluginConfig, KeysToIgnore > |
Public Member Functions | |
virtual | ~ResultsProducer ()=default |
void | doBeginJob () |
void | doEndJob () |
void | doBeginSubRun (SubRunPrincipal const &) |
void | doEndSubRun (SubRunPrincipal const &) |
void | doBeginRun (RunPrincipal const &) |
void | doEndRun (RunPrincipal const &) |
void | doEvent (EventPrincipal const &) |
void | doReadResults (ResultsPrincipal const &) |
void | doWriteResults (ResultsPrincipal &) |
void | doClear () |
void | registerProducts (MasterProductRegistry &mpr, ProductDescriptions &producedProducts, ModuleDescription const &md) |
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) |
Static Public Member Functions | |
static cet::exempt_ptr< Consumer > | non_module_context () |
Protected Member Functions | |
template<class P > | |
void | produces (std::string const &instanceName={}) |
void | validateConsumedProduct (BranchType const bt, ProductInfo const &pi) |
void | setModuleDescription (ModuleDescription const &md) |
void | prepareForJob (fhicl::ParameterSet const &pset) |
void | showMissingConsumes () const |
Private Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
virtual void | beginSubRun (SubRun const &) |
virtual void | endSubRun (SubRun const &) |
virtual void | beginRun (Run const &) |
virtual void | endRun (Run const &) |
virtual void | event (Event const &) |
virtual void | readResults (Results const &) |
virtual void | writeResults (Results &)=0 |
virtual void | clear ()=0 |
void | productList (ProductList *p) |
template<typename P , BranchType B = InEvent> | |
void | produces (std::string const &instanceName={}, Persistable const persistable=Persistable::Yes) |
template<typename P , BranchType B> | |
TypeLabel const & | reconstitutes (std::string const &modLabel, std::string const &instanceName={}) |
template<typename P , art::BranchType B> | |
art::TypeLabel const & | reconstitutes (std::string const &emulatedModule, std::string const &instanceName) |
template<BranchType B> | |
std::set< TypeLabel > const & | expectedProducts () const |
Private Attributes | |
cet::exempt_ptr< ModuleDescription const > | moduleDescription_ {nullptr} |
Definition at line 105 of file ResultsProducer.h.
using art::ResultsProducer::Table = ProducerTable<UserConfig, detail::PluginConfig, KeysToIgnore> |
Definition at line 114 of file ResultsProducer.h.
|
virtualdefault |
|
privatevirtual |
Definition at line 17 of file ResultsProducer.cc.
|
privatevirtual |
Definition at line 33 of file ResultsProducer.cc.
|
privatevirtual |
Definition at line 25 of file ResultsProducer.cc.
|
privatepure virtual |
|
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().
|
inline |
Definition at line 165 of file ResultsProducer.h.
References breakpoints::beginJob(), fhicl::ParameterSetRegistry::get(), and art::Consumer::setModuleDescription().
Referenced by art::RootOutput::beginJob().
|
inline |
Definition at line 201 of file ResultsProducer.h.
Referenced by art::RootOutput::beginRun().
|
inline |
Definition at line 187 of file ResultsProducer.h.
Referenced by art::RootOutput::beginSubRun().
|
inline |
Definition at line 229 of file ResultsProducer.h.
References clear().
Referenced by art::RootOutput::finishEndFile().
|
inline |
|
inline |
Definition at line 208 of file ResultsProducer.h.
Referenced by art::RootOutput::endRun().
|
inline |
Definition at line 194 of file ResultsProducer.h.
Referenced by art::RootOutput::endSubRun().
|
inline |
Definition at line 215 of file ResultsProducer.h.
References e.
Referenced by art::RootOutput::event().
|
inline |
Definition at line 222 of file ResultsProducer.h.
Referenced by art::RootOutput::readResults().
void art::ResultsProducer::doWriteResults | ( | ResultsPrincipal & | resp | ) |
Definition at line 9 of file ResultsProducer.cc.
References moduleDescription_, and writeResults().
Referenced by art::RootOutput::startEndFile().
|
privatevirtual |
Definition at line 21 of file ResultsProducer.cc.
|
privatevirtual |
Definition at line 37 of file ResultsProducer.cc.
|
privatevirtual |
Definition at line 29 of file ResultsProducer.cc.
|
privatevirtual |
Definition at line 41 of file ResultsProducer.cc.
|
inlineinherited |
Definition at line 111 of file ProductRegistryHelper.h.
References B, and art::ProductRegistryHelper::typeLabelList_.
|
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().
|
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 art::EDProducer::doBeginJob(), art::EDFilter::doBeginJob(), and art::EDAnalyzer::doBeginJob().
|
inlineinherited |
Definition at line 141 of file ProductRegistryHelper.h.
References B, art::ProductRegistryHelper::insertOrThrow(), art::No, art::detail::verifyFriendlyClassName(), and art::detail::verifyInstanceName().
Referenced by larg4::LArG4::LArG4(), art::MixHelper::produces(), recob::ChargedSpacePointCollectionCreator::produces(), and art::ProductRegistryHelper::productList().
|
inlineprotected |
Definition at line 159 of file ResultsProducer.h.
|
inlineinherited |
Definition at line 86 of file ProductRegistryHelper.h.
References art::ProductRegistryHelper::produces(), art::ProductRegistryHelper::productList_, art::ProductRegistryHelper::reconstitutes(), art::ProductRegistryHelper::registerProducts(), and art::Yes.
|
privatevirtual |
Definition at line 45 of file ResultsProducer.cc.
|
inherited |
|
inherited |
Definition at line 155 of file ProductRegistryHelper.h.
References B, art::ProductRegistryHelper::insertOrThrow(), art::detail::verifyFriendlyClassName(), and art::detail::verifyInstanceName().
|
inline |
Definition at line 128 of file ResultsProducer.h.
References art::ProductRegistryHelper::registerProducts().
Referenced by art::RootOutput::doRegisterProducts().
|
protectedinherited |
Definition at line 83 of file Consumer.cc.
Referenced by doBeginJob(), art::EDProducer::setModuleDescription(), art::EDFilter::setModuleDescription(), and art::EDAnalyzer::setModuleDescription().
|
protectedinherited |
Definition at line 125 of file Consumer.cc.
Referenced by art::EDProducer::doEndJob(), art::EDFilter::doEndJob(), art::EDAnalyzer::doEndJob(), and art::RootOutput::endJob().
|
protectedinherited |
Definition at line 101 of file Consumer.cc.
References art::errors::ProductRegistrationFailure.
|
privatepure virtual |
Referenced by doWriteResults().
|
private |
Definition at line 137 of file ResultsProducer.h.
Referenced by doWriteResults().