Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
art::PathsInfo Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Core/PathsInfo.h"

Public Types

using ModInfos = std::vector< detail::ModuleInPathInfo >
 

Public Member Functions

 PathsInfo (std::size_t const numPaths, detail::ModuleFactory &factory, fhicl::ParameterSet const &procPS, MasterProductRegistry &preg, ProductDescriptions &productsToProduce, ActionTable &actions, ActivityRegistry &areg, bool const parentageEnabled, bool const rangesEnabled, bool const dbEnabled)
 
HLTGlobalStatuspathResults ()
 
void makeAndAppendPath (std::string const &pathName, ModInfos const &modInfos, bool trigResultsNeeded=true)
 
void addEvent ()
 
void addPass ()
 
WorkerMap const & workers () const
 
PathPtrs const & pathPtrs () const
 
size_t passedEvents () const
 
size_t failedEvents () const
 
size_t totalEvents () const
 

Private Member Functions

void makeWorker_ (detail::ModuleInPathInfo const &mipi, std::vector< WorkerInPath > &pathWorkers)
 
cet::exempt_ptr< WorkermakeWorker_ (detail::ModuleConfigInfo const &mci)
 

Private Attributes

WorkerMap workers_ {}
 
PathPtrs pathPtrs_ {}
 
HLTGlobalStatus pathResults_
 
size_t totalEvents_ {}
 
size_t passedEvents_ {}
 
detail::ModuleFactoryfact_
 
fhicl::ParameterSet const & procPS_
 
MasterProductRegistrypreg_
 
ProductDescriptionsproductsToProduce_
 
ActionTableexceptActions_
 
ActivityRegistryareg_
 
std::vector< std::stringconfigErrMsgs_
 
bool const parentageEnabled_ {true}
 
bool const rangesEnabled_ {true}
 
bool const dbEnabled_ {true}
 

Detailed Description

Definition at line 15 of file PathsInfo.h.

Member Typedef Documentation

Definition at line 29 of file PathsInfo.h.

Constructor & Destructor Documentation

art::PathsInfo::PathsInfo ( std::size_t const  numPaths,
detail::ModuleFactory factory,
fhicl::ParameterSet const &  procPS,
MasterProductRegistry preg,
ProductDescriptions productsToProduce,
ActionTable actions,
ActivityRegistry areg,
bool const  parentageEnabled,
bool const  rangesEnabled,
bool const  dbEnabled 
)
explicit

Member Function Documentation

void art::PathsInfo::addEvent ( )
inline

Definition at line 75 of file PathsInfo.h.

References totalEvents_.

Referenced by art::EndPathExecutor::process(), and art::Schedule::process().

76 {
77  ++totalEvents_;
78 }
size_t totalEvents_
Definition: PathsInfo.h:53
void art::PathsInfo::addPass ( )
inline

Definition at line 81 of file PathsInfo.h.

References passedEvents_.

Referenced by art::EndPathExecutor::process(), and art::Schedule::process().

82 {
83  ++passedEvents_;
84 }
size_t passedEvents_
Definition: PathsInfo.h:54
size_t art::PathsInfo::failedEvents ( ) const
inline

Definition at line 105 of file PathsInfo.h.

References passedEvents_, and totalEvents_.

106 {
107  return totalEvents_ - passedEvents_;
108 }
size_t totalEvents_
Definition: PathsInfo.h:53
size_t passedEvents_
Definition: PathsInfo.h:54
void art::PathsInfo::makeAndAppendPath ( std::string const &  pathName,
ModInfos const &  modInfos,
bool  trigResultsNeeded = true 
)
void art::PathsInfo::makeWorker_ ( detail::ModuleInPathInfo const &  mipi,
std::vector< WorkerInPath > &  pathWorkers 
)
private
cet::exempt_ptr<Worker> art::PathsInfo::makeWorker_ ( detail::ModuleConfigInfo const &  mci)
private
size_t art::PathsInfo::passedEvents ( ) const
inline

Definition at line 99 of file PathsInfo.h.

References passedEvents_.

100 {
101  return passedEvents_;
102 }
size_t passedEvents_
Definition: PathsInfo.h:54
art::PathPtrs const & art::PathsInfo::pathPtrs ( ) const
inline

Definition at line 93 of file PathsInfo.h.

References pathPtrs_.

Referenced by art::Schedule::doForAllEnabledPaths_(), and art::EndPathExecutor::process().

94 {
95  return pathPtrs_;
96 }
PathPtrs pathPtrs_
Definition: PathsInfo.h:50
art::HLTGlobalStatus & art::PathsInfo::pathResults ( )
inline

Definition at line 69 of file PathsInfo.h.

References pathResults_.

Referenced by art::Schedule::process(), and art::Schedule::runTriggerPaths_().

70 {
71  return pathResults_;
72 }
HLTGlobalStatus pathResults_
Definition: PathsInfo.h:51
size_t art::PathsInfo::totalEvents ( ) const
inline

Definition at line 111 of file PathsInfo.h.

References totalEvents_.

112 {
113  return totalEvents_;
114 }
size_t totalEvents_
Definition: PathsInfo.h:53
art::WorkerMap const & art::PathsInfo::workers ( ) const
inline

Definition at line 87 of file PathsInfo.h.

References workers_.

Referenced by art::EndPathExecutor::doForAllEnabledWorkers_(), and art::Schedule::doForAllWorkers_().

88 {
89  return workers_;
90 }
WorkerMap workers_
Definition: PathsInfo.h:49

Member Data Documentation

ActivityRegistry& art::PathsInfo::areg_
private

Definition at line 61 of file PathsInfo.h.

std::vector<std::string> art::PathsInfo::configErrMsgs_
private

Definition at line 62 of file PathsInfo.h.

bool const art::PathsInfo::dbEnabled_ {true}
private

Definition at line 65 of file PathsInfo.h.

ActionTable& art::PathsInfo::exceptActions_
private

Definition at line 60 of file PathsInfo.h.

detail::ModuleFactory& art::PathsInfo::fact_
private

Definition at line 56 of file PathsInfo.h.

bool const art::PathsInfo::parentageEnabled_ {true}
private

Definition at line 63 of file PathsInfo.h.

size_t art::PathsInfo::passedEvents_ {}
private

Definition at line 54 of file PathsInfo.h.

Referenced by addPass(), failedEvents(), and passedEvents().

PathPtrs art::PathsInfo::pathPtrs_ {}
private

Definition at line 50 of file PathsInfo.h.

Referenced by pathPtrs().

HLTGlobalStatus art::PathsInfo::pathResults_
private

Definition at line 51 of file PathsInfo.h.

Referenced by pathResults().

MasterProductRegistry& art::PathsInfo::preg_
private

Definition at line 58 of file PathsInfo.h.

fhicl::ParameterSet const& art::PathsInfo::procPS_
private

Definition at line 57 of file PathsInfo.h.

ProductDescriptions& art::PathsInfo::productsToProduce_
private

Definition at line 59 of file PathsInfo.h.

bool const art::PathsInfo::rangesEnabled_ {true}
private

Definition at line 64 of file PathsInfo.h.

size_t art::PathsInfo::totalEvents_ {}
private

Definition at line 53 of file PathsInfo.h.

Referenced by addEvent(), failedEvents(), and totalEvents().

WorkerMap art::PathsInfo::workers_ {}
private

Definition at line 49 of file PathsInfo.h.

Referenced by workers().


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