Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > > Class Template Reference

#include <ProvenanceDumper.h>

Inheritance diagram for art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > >:
art::OutputModule art::Observer art::detail::SharedModule art::ModuleBase

Public Types

using Parameters = fhicl::WrappedTable< ProvenanceDumperConfig< DETAIL >, art::OutputModule::Config::KeysToIgnore >
 
- Public Types inherited from art::OutputModule
using ModuleType = OutputModule
 
using WorkerType = OutputWorker
 
using PluginCollection_t = std::vector< std::unique_ptr< FileCatalogMetadataPlugin >>
 

Public Member Functions

 ProvenanceDumper (Parameters const &ps)
 
- Public Member Functions inherited from art::OutputModule
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
 
OutputModuleoperator= (OutputModule const &)=delete
 
OutputModuleoperator= (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
 
Observeroperator= (Observer const &)=delete
 
Observeroperator= (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 &current_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)
 

Private Member Functions

void beginJob () override
 
void endJob () override
 
void write (EventPrincipal &e) override
 
void writeSubRun (SubRunPrincipal &sr) override
 
void writeRun (RunPrincipal &r) override
 

Private Attributes

DETAIL detail_
 
detail::PrincipalProcessor< DETAIL > pp_
 
detail::ProvenanceDumperImpl< DETAIL > impl_
 

Additional Inherited Members

- Protected Member Functions inherited from art::OutputModule
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< TriggerResultsgetTriggerResults (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
ConsumesCollectorconsumesCollector ()
 
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 ()
 

Detailed Description

template<typename DETAIL>
class art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > >

Definition at line 203 of file ProvenanceDumper.h.

Member Typedef Documentation

template<typename DETAIL >
using art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > >::Parameters = fhicl::WrappedTable<ProvenanceDumperConfig<DETAIL>, art::OutputModule::Config::KeysToIgnore>

Definition at line 208 of file ProvenanceDumper.h.

Constructor & Destructor Documentation

template<typename DETAIL >
art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > >::ProvenanceDumper ( Parameters const &  ps)
inlineexplicit

Definition at line 210 of file ProvenanceDumper.h.

211  : OutputModule{ps().omConfig, ps.get_PSet()}
212  , detail_{ps().user}
213  , pp_{detail_,
214  ps().wantPresentOnly(),
215  ps().resolveProducts(),
216  ps().wantResolvedOnly()}
217  , impl_{detail_, pp_}
218  {}
static constexpr double ps
Definition: Units.h:99
OutputModule(fhicl::ParameterSet const &pset)
Definition: OutputModule.cc:73

Member Function Documentation

template<typename DETAIL >
void art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > >::beginJob ( )
inlineoverrideprivatevirtual

Reimplemented from art::OutputModule.

Definition at line 222 of file ProvenanceDumper.h.

223  {
224  impl_.beginJob();
225  }
template<typename DETAIL >
void art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > >::endJob ( )
inlineoverrideprivatevirtual

Reimplemented from art::OutputModule.

Definition at line 227 of file ProvenanceDumper.h.

228  {
229  impl_.endJob();
230  }
template<typename DETAIL >
void art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > >::write ( EventPrincipal e)
inlineoverrideprivatevirtual

Implements art::OutputModule.

Definition at line 233 of file ProvenanceDumper.h.

234  {
235  impl_.write(e);
236  }
const double e
template<typename DETAIL >
void art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > >::writeRun ( RunPrincipal r)
inlineoverrideprivatevirtual

Implements art::OutputModule.

Definition at line 243 of file ProvenanceDumper.h.

244  {
245  impl_.writeRun(r);
246  }
template<typename DETAIL >
void art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > >::writeSubRun ( SubRunPrincipal sr)
inlineoverrideprivatevirtual

Implements art::OutputModule.

Definition at line 238 of file ProvenanceDumper.h.

239  {
240  impl_.writeSubRun(sr);
241  }
static constexpr double sr
Definition: Units.h:166

Member Data Documentation

template<typename DETAIL >
DETAIL art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > >::detail_
private

Definition at line 248 of file ProvenanceDumper.h.

template<typename DETAIL >
detail::ProvenanceDumperImpl<DETAIL> art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > >::impl_
private

Definition at line 250 of file ProvenanceDumper.h.

template<typename DETAIL >
detail::PrincipalProcessor<DETAIL> art::ProvenanceDumper< DETAIL, std::void_t< typename DETAIL::Config > >::pp_
private

Definition at line 249 of file ProvenanceDumper.h.


The documentation for this class was generated from the following file: