LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ConsumesCollector.h"
Public Member Functions | |
std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
void | sortConsumables (std::string const ¤t_process_name) |
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 () |
template<typename T , BranchType BT> | |
ViewToken< T > | consumesView (InputTag const &tag) |
template<typename T , BranchType BT> | |
ViewToken< T > | mayConsumeView (InputTag const &tag) |
Private Member Functions | |
void | emplace_back (BranchType, ProductInfo::ConsumableType, TypeID const &typeID) |
void | emplace_back (BranchType, ProductInfo::ConsumableType, TypeID const &typeID, InputTag const &tag) |
Private Attributes | |
std::array< std::vector< ProductInfo >, NumBranchTypes > | consumables_ {} |
Definition at line 16 of file ConsumesCollector.h.
ProductToken< T > art::ConsumesCollector::consumes | ( | InputTag const & | tag | ) |
Definition at line 50 of file ConsumesCollector.h.
References emplace_back(), and art::ProductInfo::Product.
Referenced by art::ModuleBase::consumes().
void art::ConsumesCollector::consumesMany | ( | ) |
Definition at line 68 of file ConsumesCollector.h.
References emplace_back(), and art::ProductInfo::Many.
Referenced by art::ModuleBase::consumesMany().
ViewToken<Element> art::ConsumesCollector::consumesView | ( | InputTag const & | ) |
Referenced by art::ModuleBase::consumesView().
ViewToken<T> art::ConsumesCollector::consumesView | ( | InputTag const & | tag | ) |
Definition at line 59 of file ConsumesCollector.h.
References emplace_back(), and art::ProductInfo::ViewElement.
|
private |
Definition at line 42 of file ConsumesCollector.cc.
Referenced by consumes(), consumesMany(), consumesView(), mayConsume(), mayConsumeMany(), and mayConsumeView().
|
private |
Definition at line 32 of file ConsumesCollector.cc.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
array< vector< ProductInfo >, NumBranchTypes > const & art::ConsumesCollector::getConsumables | ( | ) | const |
Definition at line 13 of file ConsumesCollector.cc.
Referenced by art::ModuleBase::getConsumables().
ProductToken< T > art::ConsumesCollector::mayConsume | ( | InputTag const & | tag | ) |
Definition at line 75 of file ConsumesCollector.h.
References emplace_back(), and art::ProductInfo::Product.
Referenced by art::ModuleBase::mayConsume().
void art::ConsumesCollector::mayConsumeMany | ( | ) |
Definition at line 93 of file ConsumesCollector.h.
References emplace_back(), and art::ProductInfo::Many.
Referenced by art::ModuleBase::mayConsumeMany().
ViewToken<Element> art::ConsumesCollector::mayConsumeView | ( | InputTag const & | ) |
Referenced by art::ModuleBase::mayConsumeView().
ViewToken<T> art::ConsumesCollector::mayConsumeView | ( | InputTag const & | tag | ) |
Definition at line 84 of file ConsumesCollector.h.
References emplace_back(), and art::ProductInfo::ViewElement.
void art::ConsumesCollector::sortConsumables | ( | std::string const & | current_process_name | ) |
Definition at line 19 of file ConsumesCollector.cc.
References util::begin(), util::end(), and util::pi().
Referenced by art::ModuleBase::sortConsumables().
|
private |
Definition at line 45 of file ConsumesCollector.h.