LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "Observer.h"
Classes | |
struct | EOConfig |
Public Member Functions | |
~Observer () noexcept | |
Observer (Observer const &)=delete | |
Observer (Observer &&)=delete | |
Observer & | operator= (Observer const &)=delete |
Observer & | operator= (Observer &&)=delete |
ModuleDescription const & | moduleDescription () const |
void | setModuleDescription (ModuleDescription const &) |
std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
void | sortConsumables (std::string const ¤t_process_name) |
std::unique_ptr< Worker > | makeWorker (WorkerParams const &wp) |
template<typename T , BranchType BT> | |
ViewToken< T > | consumesView (InputTag const &tag) |
template<typename T , BranchType BT> | |
ViewToken< T > | mayConsumeView (InputTag const &tag) |
Protected Member Functions | |
std::string const & | processName () const |
bool | wantAllEvents () const noexcept |
bool | wantEvent (ScheduleID id, Event const &e) const |
Handle< TriggerResults > | getTriggerResults (Event const &e) const |
Observer (fhicl::ParameterSet const &config) | |
Observer (std::vector< std::string > const &select_paths, std::vector< std::string > const &reject_paths) | |
ConsumesCollector & | consumesCollector () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | consumesView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | consumesMany () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | mayConsumeView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | mayConsumeMany () |
Private Attributes | |
bool | wantAllEvents_ |
std::string | process_name_ |
std::optional< detail::ProcessAndEventSelectors > | selectors_ |
std::optional< detail::ProcessAndEventSelectors > | rejectors_ |
fhicl::ParameterSetID | selector_config_id_ |
Definition at line 20 of file Observer.h.
|
defaultnoexcept |
|
delete |
|
delete |
|
explicitprotected |
Definition at line 43 of file Observer.cc.
|
explicitprotected |
Definition at line 48 of file Observer.cc.
References util::empty(), art::Globals::instance(), process_name_, art::Globals::processName(), rejectors_, and selectors_.
|
protectedinherited |
Definition at line 61 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumes().
|
protectedinherited |
|
protectedinherited |
Definition at line 75 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumesMany().
|
protectedinherited |
|
inherited |
Definition at line 68 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumesView().
|
inherited |
Definition at line 43 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::getConsumables().
|
protected |
Definition at line 75 of file Observer.cc.
References art::ProductRetriever::get(), and selectors_.
Referenced by art::OutputModule::doWriteEvent(), and wantAllEvents().
|
inherited |
Definition at line 37 of file ModuleBase.cc.
References art::ModuleBase::doMakeWorker(), and art::NumBranchTypes.
|
protectedinherited |
Definition at line 82 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsume().
|
protectedinherited |
Definition at line 96 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsumeMany().
|
protectedinherited |
|
inherited |
Definition at line 89 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsumeView().
|
inherited |
Definition at line 13 of file ModuleBase.cc.
References art::errors::LogicError.
Referenced by art::OutputModule::doRespondToOpenInputFile(), art::OutputModule::doWriteEvent(), art::Modifier::fillProductDescriptions(), art::OutputModule::makePlugins_(), art::OutputWorker::OutputWorker(), reco::shower::LArPandoraModularShowerCreation::produce(), art::Modifier::registerProducts(), and art::OutputModule::registerProducts().
|
protected |
Definition at line 57 of file Observer.cc.
References process_name_.
Referenced by art::FileDumperOutput::printPrincipal().
|
inherited |
|
inherited |
Definition at line 49 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::sortConsumables().
|
inlineprotectednoexcept |
Definition at line 31 of file Observer.h.
References e, getTriggerResults(), wantAllEvents_, and wantEvent().
|
protected |
Definition at line 63 of file Observer.cc.
References rejectors_, selectors_, and wantAllEvents_.
Referenced by art::OutputModule::doEvent(), art::OutputModule::doWriteEvent(), and wantAllEvents().
|
private |
Definition at line 76 of file Observer.h.
Referenced by Observer(), and processName().
|
private |
Definition at line 80 of file Observer.h.
Referenced by Observer(), and wantEvent().
|
private |
Definition at line 83 of file Observer.h.
|
private |
Definition at line 79 of file Observer.h.
Referenced by getTriggerResults(), Observer(), and wantEvent().
|
private |
Definition at line 75 of file Observer.h.
Referenced by wantAllEvents(), and wantEvent().