Public Member Functions | Private Member Functions | Private Attributes | List of all members
art::ProvenanceDumper< DETAIL, Enable > Class Template Reference

#include <ProvenanceDumper.h>

Inheritance diagram for art::ProvenanceDumper< DETAIL, Enable >:
art::OutputModule art::Observer art::detail::SharedModule art::ModuleBase

Public Member Functions

 ProvenanceDumper (fhicl::ParameterSet 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

- Public Types inherited from art::OutputModule
using ModuleType = OutputModule
 
using WorkerType = OutputWorker
 
using PluginCollection_t = std::vector< std::unique_ptr< FileCatalogMetadataPlugin >>
 
- 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, typename Enable>
class art::ProvenanceDumper< DETAIL, Enable >

Definition at line 129 of file ProvenanceDumper.h.

Constructor & Destructor Documentation

template<typename DETAIL , typename Enable >
art::ProvenanceDumper< DETAIL, Enable >::ProvenanceDumper ( fhicl::ParameterSet const &  ps)
inlineexplicit

Definition at line 157 of file ProvenanceDumper.h.

158  : OutputModule{ps}
159  , detail_{ps}
160  , pp_{detail_,
161  ps.get<bool>("wantPresentOnly", true),
162  ps.get<bool>("resolveProducts", true),
163  ps.get<bool>("wantResolvedOnly", false)}
164  , impl_{detail_, pp_}
165  {}
detail::ProvenanceDumperImpl< DETAIL > impl_
static constexpr double ps
Definition: Units.h:99
OutputModule(fhicl::ParameterSet const &pset)
Definition: OutputModule.cc:73
detail::PrincipalProcessor< DETAIL > pp_

Member Function Documentation

template<typename DETAIL , typename Enable >
void art::ProvenanceDumper< DETAIL, Enable >::beginJob ( )
inlineoverrideprivatevirtual

Reimplemented from art::OutputModule.

Definition at line 169 of file ProvenanceDumper.h.

170  {
171  impl_.beginJob();
172  }
detail::ProvenanceDumperImpl< DETAIL > impl_
template<typename DETAIL , typename Enable >
void art::ProvenanceDumper< DETAIL, Enable >::endJob ( )
inlineoverrideprivatevirtual

Reimplemented from art::OutputModule.

Definition at line 174 of file ProvenanceDumper.h.

175  {
176  impl_.endJob();
177  }
detail::ProvenanceDumperImpl< DETAIL > impl_
template<typename DETAIL , typename Enable >
void art::ProvenanceDumper< DETAIL, Enable >::write ( EventPrincipal e)
inlineoverrideprivatevirtual

Implements art::OutputModule.

Definition at line 180 of file ProvenanceDumper.h.

181  {
182  impl_.write(e);
183  }
detail::ProvenanceDumperImpl< DETAIL > impl_
const double e
template<typename DETAIL , typename Enable >
void art::ProvenanceDumper< DETAIL, Enable >::writeRun ( RunPrincipal r)
inlineoverrideprivatevirtual

Implements art::OutputModule.

Definition at line 190 of file ProvenanceDumper.h.

191  {
192  impl_.writeRun(r);
193  }
detail::ProvenanceDumperImpl< DETAIL > impl_
template<typename DETAIL , typename Enable >
void art::ProvenanceDumper< DETAIL, Enable >::writeSubRun ( SubRunPrincipal sr)
inlineoverrideprivatevirtual

Implements art::OutputModule.

Definition at line 185 of file ProvenanceDumper.h.

186  {
187  impl_.writeSubRun(sr);
188  }
detail::ProvenanceDumperImpl< DETAIL > impl_
static constexpr double sr
Definition: Units.h:166

Member Data Documentation

template<typename DETAIL , typename Enable >
DETAIL art::ProvenanceDumper< DETAIL, Enable >::detail_
private

Definition at line 195 of file ProvenanceDumper.h.

template<typename DETAIL , typename Enable >
detail::ProvenanceDumperImpl<DETAIL> art::ProvenanceDumper< DETAIL, Enable >::impl_
private

Definition at line 197 of file ProvenanceDumper.h.

template<typename DETAIL , typename Enable >
detail::PrincipalProcessor<DETAIL> art::ProvenanceDumper< DETAIL, Enable >::pp_
private

Definition at line 196 of file ProvenanceDumper.h.


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