#include <Producer.h>
Public Types | |
template<typename UserConfig , typename KeysToIgnore = void> | |
using | Table = Modifier::Table< UserConfig, KeysToIgnore > |
Public Types inherited from art::Modifier | |
template<typename UserConfig , typename UserKeysToIgnore = void> | |
using | Table = ProducerTable< UserConfig, detail::ModuleConfig, UserKeysToIgnore > |
Public Member Functions | |
virtual | ~Producer () noexcept |
Producer (fhicl::ParameterSet const &) | |
Producer (Producer const &)=delete | |
Producer (Producer &&)=delete | |
Producer & | operator= (Producer const &)=delete |
Producer & | operator= (Producer &&)=delete |
void | doBeginJob (SharedResources const &resources) |
void | doEndJob () |
void | doRespondToOpenInputFile (FileBlock const &fb) |
void | doRespondToCloseInputFile (FileBlock const &fb) |
void | doRespondToOpenOutputFiles (FileBlock const &fb) |
void | doRespondToCloseOutputFiles (FileBlock const &fb) |
bool | doBeginRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doEndRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed) |
Public Member Functions inherited from art::Modifier | |
~Modifier () noexcept | |
Modifier () | |
Modifier (Modifier const &)=delete | |
Modifier (Modifier &&)=delete | |
Modifier & | operator= (Modifier const &)=delete |
Modifier & | operator= (Modifier &&)=delete |
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) |
Private Member Functions | |
virtual void | setupQueues (SharedResources const &)=0 |
virtual void | beginJobWithFrame (ProcessingFrame const &)=0 |
virtual void | endJobWithFrame (ProcessingFrame const &)=0 |
virtual void | respondToOpenInputFileWithFrame (FileBlock const &, ProcessingFrame const &)=0 |
virtual void | respondToCloseInputFileWithFrame (FileBlock const &, ProcessingFrame const &)=0 |
virtual void | respondToOpenOutputFilesWithFrame (FileBlock const &, ProcessingFrame const &)=0 |
virtual void | respondToCloseOutputFilesWithFrame (FileBlock const &, ProcessingFrame const &)=0 |
virtual void | beginRunWithFrame (Run &, ProcessingFrame const &)=0 |
virtual void | endRunWithFrame (Run &, ProcessingFrame const &)=0 |
virtual void | beginSubRunWithFrame (SubRun &, ProcessingFrame const &)=0 |
virtual void | endSubRunWithFrame (SubRun &, ProcessingFrame const &)=0 |
virtual void | produceWithFrame (Event &, ProcessingFrame const &)=0 |
Private Attributes | |
bool const | checkPutProducts_ |
Additional Inherited Members | |
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 () |
Definition at line 22 of file Producer.h.
using art::detail::Producer::Table = Modifier::Table<UserConfig, KeysToIgnore> |
Definition at line 25 of file Producer.h.
|
virtualdefaultnoexcept |
|
explicit |
Definition at line 17 of file Producer.cc.
|
delete |
|
delete |
|
privatepure virtual |
Implemented in art::ReplicatedProducer, art::EDProducer, and art::SharedProducer.
|
privatepure virtual |
Implemented in art::ReplicatedProducer, art::EDProducer, and art::SharedProducer.
|
privatepure virtual |
Implemented in art::ReplicatedProducer, art::EDProducer, and art::SharedProducer.
void art::detail::Producer::doBeginJob | ( | SharedResources const & | resources | ) |
Definition at line 22 of file Producer.cc.
bool art::detail::Producer::doBeginRun | ( | RunPrincipal & | rp, |
ModuleContext const & | mc | ||
) |
Definition at line 65 of file Producer.cc.
bool art::detail::Producer::doBeginSubRun | ( | SubRunPrincipal & | srp, |
ModuleContext const & | mc | ||
) |
Definition at line 85 of file Producer.cc.
void art::detail::Producer::doEndJob | ( | ) |
Definition at line 30 of file Producer.cc.
bool art::detail::Producer::doEndRun | ( | RunPrincipal & | rp, |
ModuleContext const & | mc | ||
) |
Definition at line 75 of file Producer.cc.
bool art::detail::Producer::doEndSubRun | ( | SubRunPrincipal & | srp, |
ModuleContext const & | mc | ||
) |
Definition at line 95 of file Producer.cc.
bool art::detail::Producer::doEvent | ( | EventPrincipal & | ep, |
ModuleContext const & | mc, | ||
std::atomic< std::size_t > & | counts_run, | ||
std::atomic< std::size_t > & | counts_passed, | ||
std::atomic< std::size_t > & | counts_failed | ||
) |
Definition at line 105 of file Producer.cc.
void art::detail::Producer::doRespondToCloseInputFile | ( | FileBlock const & | fb | ) |
Definition at line 44 of file Producer.cc.
void art::detail::Producer::doRespondToCloseOutputFiles | ( | FileBlock const & | fb | ) |
Definition at line 58 of file Producer.cc.
void art::detail::Producer::doRespondToOpenInputFile | ( | FileBlock const & | fb | ) |
Definition at line 37 of file Producer.cc.
void art::detail::Producer::doRespondToOpenOutputFiles | ( | FileBlock const & | fb | ) |
Definition at line 51 of file Producer.cc.
|
privatepure virtual |
Implemented in art::ReplicatedProducer, art::EDProducer, and art::SharedProducer.
|
privatepure virtual |
Implemented in art::ReplicatedProducer, art::EDProducer, and art::SharedProducer.
|
privatepure virtual |
Implemented in art::ReplicatedProducer, art::EDProducer, and art::SharedProducer.
|
privatepure virtual |
Implemented in art::ReplicatedProducer, art::EDProducer, and art::SharedProducer.
|
privatepure virtual |
Implemented in art::ReplicatedProducer, art::EDProducer, and art::SharedProducer.
|
privatepure virtual |
Implemented in art::ReplicatedProducer, art::EDProducer, and art::SharedProducer.
|
privatepure virtual |
Implemented in art::ReplicatedProducer, art::EDProducer, and art::SharedProducer.
|
privatepure virtual |
Implemented in art::ReplicatedProducer, art::EDProducer, and art::SharedProducer.
|
privatepure virtual |
Implemented in art::ReplicatedProducer, art::EDProducer, and art::SharedProducer.
|
private |
Definition at line 69 of file Producer.h.