LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Classes | |
struct | Config |
Public Types | |
using | Parameters = fhicl::WrappedTable< Config, OutputModule::Config::KeysToIgnore > |
using | ModuleType = OutputModule |
using | WorkerType = OutputWorker |
using | PluginCollection_t = std::vector< std::unique_ptr< FileCatalogMetadataPlugin >> |
Public Member Functions | |
FileDumperOutput (Parameters const &) | |
bool | fileIsOpen () const |
OutputFileStatus | fileStatus () const |
virtual std::string const & | lastClosedFileName () const |
SelectionsArray const & | keptProducts () const |
bool | selected (BranchDescription const &) const |
std::array< bool, NumBranchTypes > const & | hasNewlyDroppedBranch () const |
void | selectProducts (ProductTables const &) |
void | doSelectProducts (ProductTables const &) |
void | registerProducts (ProductDescriptions &) |
BranchChildren const & | branchChildren () const |
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) |
hep::concurrency::SerialTaskQueueChain * | serialTaskQueueChain () const |
std::set< std::string > const & | sharedResources () const |
void | createQueues (SharedResources const &resources) |
template<BranchType , typename... T> | |
void | serialize (T const &...resources) |
template<BranchType , typename... T> | |
void | serializeExternal (T const &...resources) |
Protected Member Functions | |
virtual void | doRegisterProducts (ProductDescriptions &, ModuleDescription const &) |
std::string const & | processName () const |
bool | wantAllEvents () const noexcept |
bool | wantEvent (ScheduleID id, Event const &e) const |
Handle< TriggerResults > | getTriggerResults (Event const &e) const |
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 () |
template<BranchType BT = InEvent, typename... T> | |
void | serialize (T const &...) |
template<BranchType BT = InEvent, typename... T> | |
void | serializeExternal (T const &...) |
template<BranchType BT = InEvent> | |
void | async () |
Private Member Functions | |
void | write (EventPrincipal &e) override |
void | writeRun (RunPrincipal &r) override |
void | writeSubRun (SubRunPrincipal &sr) override |
void | readResults (ResultsPrincipal const &resp) override |
template<typename P > | |
void | printPrincipal (P const &p) |
void | printProductInfo (std::vector< std::size_t > const &columnWidths, std::string const &processName, detail::ProductInfo const &pi) const |
Private Attributes | |
bool const | wantProductFullClassName_ |
bool const | wantProductFriendlyClassName_ |
bool const | wantProductID_ |
bool const | wantResolveProducts_ |
bool const | wantPresentOnly_ |
Definition at line 95 of file FileDumperOutput_module.cc.
|
inherited |
Definition at line 53 of file OutputModule.h.
using art::FileDumperOutput::Parameters = fhicl::WrappedTable<Config, OutputModule::Config::KeysToIgnore> |
Definition at line 111 of file FileDumperOutput_module.cc.
|
inherited |
Definition at line 57 of file OutputModule.h.
|
inherited |
Definition at line 54 of file OutputModule.h.
|
explicit |
Definition at line 135 of file FileDumperOutput_module.cc.
References wantPresentOnly_, wantProductFriendlyClassName_, wantProductFullClassName_, wantProductID_, and wantResolveProducts_.
|
inlineprotectedinherited |
Definition at line 38 of file SharedModule.h.
References art::detail::SharedModule::asyncDeclared_, art::detail::SharedModule::implicit_serialize(), art::InEvent, and art::detail::SharedModule::serialize_for().
|
inherited |
|
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 34 of file SharedModule.cc.
References art::detail::SharedModule::asyncDeclared_, util::cbegin(), util::cend(), art::detail::SharedModule::chain_, art::detail::SharedResources::createQueues(), e, util::empty(), art::errors::LogicError, and art::detail::SharedModule::resourceNames_.
Referenced by art::OutputModule::doBeginJob(), art::SharedFilter::setupQueues(), art::SharedProducer::setupQueues(), art::EDFilter::setupQueues(), art::SharedAnalyzer::setupQueues(), art::EDProducer::setupQueues(), and art::EDAnalyzer::setupQueues().
|
protectedvirtualinherited |
Definition at line 179 of file OutputModule.cc.
Referenced by art::OutputModule::registerProducts().
|
inherited |
Definition at line 123 of file OutputModule.cc.
References art::combinable(), art::ProductTables::descriptions(), util::end(), art::for_each_branch_type(), art::OutputModule::groupSelector_, art::OutputModule::groupSelectorRules_, art::OutputModule::hasNewlyDroppedBranch_, art::OutputModule::keptProducts(), art::OutputModule::keptProducts_, art::OutputModule::selected(), and util::values().
Referenced by art::OutputModule::selectProducts().
|
inherited |
|
inherited |
|
inherited |
Definition at line 43 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::getConsumables().
|
protectedinherited |
Definition at line 75 of file Observer.cc.
References art::ProductRetriever::get(), and art::Observer::selectors_.
Referenced by art::OutputModule::doWriteEvent(), and art::Observer::wantAllEvents().
|
inherited |
Definition at line 654 of file OutputModule.cc.
References art::OutputModule::hasNewlyDroppedBranch_.
|
inherited |
Definition at line 640 of file OutputModule.cc.
References art::OutputModule::keptProducts_.
Referenced by art::OutputModule::doSelectProducts().
|
virtualinherited |
|
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().
|
private |
Definition at line 170 of file FileDumperOutput_module.cc.
References art::BranchTypeToString(), art::detail::columnWidth(), art::detail::ProductInfo::friendly_type, art::detail::ProductInfo::instance_name, art::EDProduct::isPresent(), art::detail::ProductInfo::module_label, util::pi(), art::productstatus::present(), printProductInfo(), art::Observer::processName(), art::detail::ProductInfo::product_id, art::detail::ProductInfo::product_type, art::detail::ProductInfo::str_size, util::to_string(), util::values(), wantPresentOnly_, and wantResolveProducts_.
Referenced by readResults(), write(), writeRun(), and writeSubRun().
|
private |
Definition at line 238 of file FileDumperOutput_module.cc.
References DEFINE_ART_MODULE, art::detail::ProductInfo::friendly_type, art::detail::ProductInfo::instance_name, art::detail::ProductInfo::module_label, art::detail::ProductInfo::product_id, art::detail::ProductInfo::product_type, art::detail::ProductInfo::str_size, wantProductFriendlyClassName_, wantProductFullClassName_, and wantProductID_.
Referenced by printPrincipal().
|
protectedinherited |
Definition at line 57 of file Observer.cc.
References art::Observer::process_name_.
Referenced by printPrincipal().
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 163 of file FileDumperOutput_module.cc.
References printPrincipal().
|
inherited |
Definition at line 173 of file OutputModule.cc.
References art::OutputModule::doRegisterProducts(), and art::ModuleBase::moduleDescription().
|
inherited |
Definition at line 646 of file OutputModule.cc.
References art::BranchDescription::branchType(), and art::OutputModule::groupSelector_.
Referenced by art::OutputModule::doSelectProducts().
|
inherited |
Definition at line 162 of file OutputModule.cc.
References art::OutputModule::doSelectProducts(), and art::OutputModule::postSelectProducts().
|
protectedinherited |
|
inherited |
Definition at line 83 of file SharedModule.h.
References art::detail::SharedModule::serialize_for_resource().
|
protectedinherited |
Referenced by wcls::WireCellToolkit::WireCellToolkit().
|
inherited |
Definition at line 90 of file SharedModule.h.
References art::detail::SharedModule::serialize_for_external_resource().
|
inherited |
Definition at line 22 of file SharedModule.cc.
References art::detail::SharedModule::chain_.
|
inherited |
|
inherited |
Definition at line 28 of file SharedModule.cc.
References art::detail::SharedModule::resourceNames_.
|
inherited |
Definition at line 49 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::sortConsumables().
|
inlineprotectednoexceptinherited |
Definition at line 31 of file Observer.h.
References e, art::Observer::getTriggerResults(), art::Observer::wantAllEvents_, and art::Observer::wantEvent().
|
protectedinherited |
Definition at line 63 of file Observer.cc.
References art::Observer::rejectors_, art::Observer::selectors_, and art::Observer::wantAllEvents_.
Referenced by art::OutputModule::doEvent(), art::OutputModule::doWriteEvent(), and art::Observer::wantAllEvents().
|
overrideprivatevirtual |
Implements art::OutputModule.
Definition at line 145 of file FileDumperOutput_module.cc.
References printPrincipal().
|
overrideprivatevirtual |
Implements art::OutputModule.
Definition at line 151 of file FileDumperOutput_module.cc.
References printPrincipal().
|
overrideprivatevirtual |
Implements art::OutputModule.
Definition at line 157 of file FileDumperOutput_module.cc.
References printPrincipal().
|
private |
Definition at line 132 of file FileDumperOutput_module.cc.
Referenced by FileDumperOutput(), and printPrincipal().
|
private |
Definition at line 129 of file FileDumperOutput_module.cc.
Referenced by FileDumperOutput(), and printProductInfo().
|
private |
Definition at line 128 of file FileDumperOutput_module.cc.
Referenced by FileDumperOutput(), and printProductInfo().
|
private |
Definition at line 130 of file FileDumperOutput_module.cc.
Referenced by FileDumperOutput(), and printProductInfo().
|
private |
Definition at line 131 of file FileDumperOutput_module.cc.
Referenced by FileDumperOutput(), and printPrincipal().