#include <OutputModule.h>
Classes | |
struct | Config |
Public Types | |
using | ModuleType = OutputModule |
using | WorkerType = OutputWorker |
using | PluginCollection_t = std::vector< std::unique_ptr< FileCatalogMetadataPlugin >> |
Public Member Functions | |
virtual | ~OutputModule () noexcept |
OutputModule (fhicl::ParameterSet const &pset) | |
OutputModule (fhicl::TableFragment< Config > const &pset, fhicl::ParameterSet const &containing_pset) | |
OutputModule (OutputModule const &)=delete | |
OutputModule (OutputModule &&)=delete | |
OutputModule & | operator= (OutputModule const &)=delete |
OutputModule & | operator= (OutputModule &&)=delete |
int | maxEvents () const |
int | remainingEvents () 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 &, ModuleDescription const &) |
BranchChildren const & | branchChildren () const |
Public Member Functions inherited from art::Observer | |
~Observer () noexcept | |
Observer (Observer const &)=delete | |
Observer (Observer &&)=delete | |
Observer & | operator= (Observer const &)=delete |
Observer & | operator= (Observer &&)=delete |
void | registerProducts (ProductDescriptions &, ModuleDescription const &) |
void | fillDescriptions (ModuleDescription const &) |
fhicl::ParameterSetID | selectorConfig () const |
Public Member Functions inherited from art::ModuleBase | |
virtual | ~ModuleBase () noexcept |
ModuleBase () | |
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) |
template<typename T , BranchType BT> | |
ViewToken< T > | consumesView (InputTag const &tag) |
template<typename T , BranchType BT> | |
ViewToken< T > | mayConsumeView (InputTag const &tag) |
Public Member Functions inherited from art::detail::SharedModule | |
SharedModule () | |
SharedModule (std::string const &moduleLabel) | |
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 &) |
Protected Member Functions inherited from art::Observer | |
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, fhicl::ParameterSet const &config) | |
Protected Member Functions inherited from art::ModuleBase | |
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 () |
Protected Member Functions inherited from art::detail::SharedModule | |
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 Types | |
using | BranchParents = std::map< ProductID, std::set< ParentageID >> |
Private Attributes | |
SelectionsArray | keptProducts_ {{}} |
std::array< std::unique_ptr< GroupSelector const >, NumBranchTypes > | groupSelector_ {{nullptr}} |
std::array< bool, NumBranchTypes > | hasNewlyDroppedBranch_ {{false}} |
GroupSelectorRules | groupSelectorRules_ |
int | maxEvents_ {-1} |
int | remainingEvents_ {maxEvents_} |
std::map< ProductID, std::set< ParentageID > > | branchParents_ {} |
BranchChildren | branchChildren_ {} |
std::string | configuredFileName_ |
std::string | dataTier_ |
std::string | streamName_ |
ServiceHandle< CatalogInterface > | ci_ {} |
cet::BasicPluginFactory | pluginFactory_ {} |
std::vector< std::string > | pluginNames_ {} |
PluginCollection_t | plugins_ |
Friends | |
class | WorkerT< OutputModule > |
class | OutputWorker |
Definition at line 48 of file OutputModule.h.
|
private |
Definition at line 240 of file OutputModule.h.
Definition at line 53 of file OutputModule.h.
using art::OutputModule::PluginCollection_t = std::vector<std::unique_ptr<FileCatalogMetadataPlugin>> |
Definition at line 57 of file OutputModule.h.
Definition at line 54 of file OutputModule.h.
|
virtualdefaultnoexcept |
|
explicit |
Definition at line 73 of file OutputModule.cc.
|
explicit |
Definition at line 54 of file OutputModule.cc.
|
delete |
|
delete |
|
privatevirtual |
Reimplemented in art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > >, and art::ProvenanceDumper< DETAIL, Enable >.
Definition at line 441 of file OutputModule.cc.
|
privatevirtual |
Definition at line 453 of file OutputModule.cc.
|
privatevirtual |
Definition at line 461 of file OutputModule.cc.
BranchChildren const & art::OutputModule::branchChildren | ( | ) | const |
Definition at line 694 of file OutputModule.cc.
|
private |
Definition at line 122 of file OutputModule.cc.
|
privatevirtual |
Definition at line 191 of file OutputModule.cc.
|
private |
Definition at line 199 of file OutputModule.cc.
|
private |
Definition at line 209 of file OutputModule.cc.
|
private |
Definition at line 358 of file OutputModule.cc.
|
private |
Definition at line 307 of file OutputModule.cc.
|
private |
Definition at line 290 of file OutputModule.cc.
|
private |
Definition at line 266 of file OutputModule.cc.
|
private |
Definition at line 220 of file OutputModule.cc.
Definition at line 314 of file OutputModule.cc.
|
protectedvirtual |
Definition at line 186 of file OutputModule.cc.
|
private |
Definition at line 340 of file OutputModule.cc.
|
private |
Definition at line 352 of file OutputModule.cc.
|
private |
Definition at line 324 of file OutputModule.cc.
|
private |
Definition at line 346 of file OutputModule.cc.
void art::OutputModule::doSelectProducts | ( | ProductTables const & | tables | ) |
Definition at line 128 of file OutputModule.cc.
|
private |
Definition at line 283 of file OutputModule.cc.
|
private |
Definition at line 260 of file OutputModule.cc.
|
private |
Definition at line 237 of file OutputModule.cc.
|
privatevirtual |
Definition at line 618 of file OutputModule.cc.
|
private |
Definition at line 300 of file OutputModule.cc.
|
private |
Definition at line 276 of file OutputModule.cc.
|
privatevirtual |
Reimplemented in art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > >, and art::ProvenanceDumper< DETAIL, Enable >.
Definition at line 445 of file OutputModule.cc.
|
privatevirtual |
Definition at line 457 of file OutputModule.cc.
|
privatevirtual |
Definition at line 465 of file OutputModule.cc.
|
privatevirtual |
Definition at line 449 of file OutputModule.cc.
|
privatevirtual |
bool art::OutputModule::fileIsOpen | ( | ) | const |
Definition at line 88 of file OutputModule.cc.
OutputFileStatus art::OutputModule::fileStatus | ( | ) | const |
|
private |
Definition at line 423 of file OutputModule.cc.
|
privatevirtual |
Definition at line 628 of file OutputModule.cc.
std::array< bool, NumBranchTypes > const & art::OutputModule::hasNewlyDroppedBranch | ( | ) | const |
Definition at line 688 of file OutputModule.cc.
|
privatevirtual |
Reimplemented in arttest::EventProcessorTestOutput.
Definition at line 100 of file OutputModule.cc.
|
privatevirtual |
Definition at line 501 of file OutputModule.cc.
SelectionsArray const & art::OutputModule::keptProducts | ( | ) | const |
Definition at line 674 of file OutputModule.cc.
|
virtual |
Definition at line 116 of file OutputModule.cc.
|
private |
Definition at line 700 of file OutputModule.cc.
|
private |
Definition at line 632 of file OutputModule.cc.
int art::OutputModule::maxEvents | ( | ) | const |
Definition at line 662 of file OutputModule.cc.
|
privatevirtual |
Definition at line 477 of file OutputModule.cc.
|
delete |
|
delete |
|
privatevirtual |
Definition at line 175 of file OutputModule.cc.
|
privatevirtual |
|
private |
Definition at line 368 of file OutputModule.cc.
void art::OutputModule::registerProducts | ( | ProductDescriptions & | producedProducts, |
ModuleDescription const & | md | ||
) |
Definition at line 179 of file OutputModule.cc.
int art::OutputModule::remainingEvents | ( | ) | const |
Definition at line 668 of file OutputModule.cc.
|
privatevirtual |
Reimplemented in arttest::EventProcessorTestOutput.
Definition at line 104 of file OutputModule.cc.
|
privatevirtual |
Definition at line 489 of file OutputModule.cc.
|
privatevirtual |
Definition at line 497 of file OutputModule.cc.
|
privatevirtual |
Reimplemented in arttest::EventProcessorTestOutput.
Definition at line 481 of file OutputModule.cc.
|
privatevirtual |
Definition at line 493 of file OutputModule.cc.
bool art::OutputModule::selected | ( | BranchDescription const & | pd | ) | const |
Definition at line 680 of file OutputModule.cc.
void art::OutputModule::selectProducts | ( | ProductTables const & | tables | ) |
Definition at line 168 of file OutputModule.cc.
|
privatevirtual |
Definition at line 507 of file OutputModule.cc.
|
privatevirtual |
Definition at line 469 of file OutputModule.cc.
|
privatevirtual |
Definition at line 473 of file OutputModule.cc.
|
privatevirtual |
Definition at line 511 of file OutputModule.cc.
|
private |
Definition at line 391 of file OutputModule.cc.
|
private |
Definition at line 94 of file OutputModule.cc.
|
privatepure virtual |
|
privatevirtual |
Definition at line 543 of file OutputModule.cc.
|
privatevirtual |
Definition at line 527 of file OutputModule.cc.
|
private |
Definition at line 596 of file OutputModule.cc.
|
privatevirtual |
Definition at line 515 of file OutputModule.cc.
|
privatevirtual |
Definition at line 519 of file OutputModule.cc.
|
privatevirtual |
Definition at line 523 of file OutputModule.cc.
|
privatevirtual |
Definition at line 539 of file OutputModule.cc.
|
privatevirtual |
Definition at line 547 of file OutputModule.cc.
|
privatevirtual |
Definition at line 531 of file OutputModule.cc.
|
privatevirtual |
Definition at line 535 of file OutputModule.cc.
|
privatevirtual |
Definition at line 624 of file OutputModule.cc.
|
privatevirtual |
Definition at line 551 of file OutputModule.cc.
|
privatepure virtual |
|
privatepure virtual |
|
friend |
Definition at line 50 of file OutputModule.h.
|
friend |
Definition at line 49 of file OutputModule.h.
|
private |
Definition at line 242 of file OutputModule.h.
|
private |
Definition at line 241 of file OutputModule.h.
|
private |
Definition at line 246 of file OutputModule.h.
|
private |
Definition at line 243 of file OutputModule.h.
|
private |
Definition at line 244 of file OutputModule.h.
|
private |
Definition at line 235 of file OutputModule.h.
|
private |
Definition at line 237 of file OutputModule.h.
|
private |
Definition at line 236 of file OutputModule.h.
|
private |
Definition at line 233 of file OutputModule.h.
|
private |
Definition at line 238 of file OutputModule.h.
|
private |
Definition at line 247 of file OutputModule.h.
|
private |
Definition at line 250 of file OutputModule.h.
|
private |
Definition at line 251 of file OutputModule.h.
|
private |
Definition at line 239 of file OutputModule.h.
|
private |
Definition at line 245 of file OutputModule.h.