LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "Path.h"
Public Types | |
using | State = hlt::HLTState |
using | WorkersInPath = std::vector< WorkerInPath > |
using | size_type = WorkersInPath::size_type |
using | TrigResPtr = cet::exempt_ptr< HLTGlobalStatus > |
Public Member Functions | |
Path (int bitpos, std::string const &path_name, WorkersInPath &&workers, TrigResPtr pathResults, ActionTable const &actions, ActivityRegistry ®, bool isEndPath) | |
template<typename T > | |
void | process (typename T::MyPrincipal &) |
int | bitPosition () const |
std::string const & | name () const |
void | clearCounters () |
std::size_t | timesRun () const |
std::size_t | timesPassed () const |
std::size_t | timesFailed () const |
std::size_t | timesExcept () const |
State | state () const |
auto const & | workersInPath () const |
void | findEventModifiers (std::vector< std::string > &foundLabels) const |
void | findEventObservers (std::vector< std::string > &foundLabels) const |
Private Member Functions | |
void | findByModifiesEvent (bool modifies, std::vector< std::string > &foundLabels) const |
bool | handleWorkerFailure (cet::exception const &e, int nwrwue, bool isEvent) |
void | recordUnknownException (int nwrwue, bool isEvent) |
void | recordStatus (int nwrwue, bool isEvent) |
void | updateCounters (bool succeed, bool isEvent) |
Private Attributes | |
std::size_t | timesRun_ {} |
std::size_t | timesPassed_ {} |
std::size_t | timesFailed_ {} |
std::size_t | timesExcept_ {} |
State | state_ {hlt::Ready} |
int | bitpos_ |
std::string | name_ |
TrigResPtr | trptr_ |
ActivityRegistry & | actReg_ |
ActionTable const & | act_table_ |
WorkersInPath | workers_ |
bool | isEndPath_ |
using art::Path::size_type = WorkersInPath::size_type |
using art::Path::State = hlt::HLTState |
using art::Path::TrigResPtr = cet::exempt_ptr<HLTGlobalStatus> |
using art::Path::WorkersInPath = std::vector<WorkerInPath> |
art::Path::Path | ( | int | bitpos, |
std::string const & | path_name, | ||
WorkersInPath && | workers, | ||
TrigResPtr | pathResults, | ||
ActionTable const & | actions, | ||
ActivityRegistry & | reg, | ||
bool | isEndPath | ||
) |
Definition at line 15 of file Path.cc.
References act_table_, actReg_, isEndPath_, name_, trptr_, and workers_.
|
inline |
void art::Path::clearCounters | ( | ) |
Definition at line 101 of file Path.cc.
References timesExcept_, timesFailed_, timesPassed_, timesRun_, w, and workers_.
Referenced by name().
|
private |
Definition at line 120 of file Path.cc.
Referenced by findEventModifiers(), findEventObservers(), and workersInPath().
void art::Path::findEventModifiers | ( | std::vector< std::string > & | foundLabels | ) | const |
Definition at line 108 of file Path.cc.
References findByModifiesEvent().
Referenced by workersInPath().
void art::Path::findEventObservers | ( | std::vector< std::string > & | foundLabels | ) | const |
Definition at line 114 of file Path.cc.
References findByModifiesEvent().
Referenced by workersInPath().
|
private |
Definition at line 32 of file Path.cc.
References act_table_, art::hlt::Exception, art::actions::FailModule, art::actions::FailPath, art::ActionTable::find(), name_, recordStatus(), art::actions::Rethrow, art::errors::ScheduleExecutionFailure, state_, and timesExcept_.
Referenced by process().
|
inline |
Definition at line 57 of file Path.h.
References clearCounters(), and name_.
void art::Path::process | ( | typename T::MyPrincipal & | ep | ) |
Definition at line 129 of file Path.h.
References actReg_, bitPosition(), e, evd::details::end(), art::Event, handleWorkerFailure(), isEndPath_, name_, art::hlt::Ready, recordStatus(), recordUnknownException(), state_, timesRun_, updateCounters(), and workers_.
|
private |
Definition at line 79 of file Path.cc.
References bitpos_, state_, and trptr_.
Referenced by handleWorkerFailure(), process(), and recordUnknownException().
|
private |
Definition at line 68 of file Path.cc.
References art::hlt::Exception, name_, recordStatus(), state_, and timesExcept_.
Referenced by process().
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 87 of file Path.cc.
References art::hlt::Fail, art::hlt::Pass, state_, timesFailed_, and timesPassed_.
Referenced by process().
|
inline |
Definition at line 91 of file Path.h.
References findByModifiesEvent(), findEventModifiers(), findEventObservers(), and workers_.
|
private |
Definition at line 113 of file Path.h.
Referenced by handleWorkerFailure(), and Path().
|
private |
|
private |
Definition at line 109 of file Path.h.
Referenced by bitPosition(), and recordStatus().
|
private |
|
private |
Definition at line 110 of file Path.h.
Referenced by handleWorkerFailure(), name(), Path(), process(), and recordUnknownException().
|
private |
Definition at line 107 of file Path.h.
Referenced by handleWorkerFailure(), process(), recordStatus(), recordUnknownException(), state(), and updateCounters().
|
private |
Definition at line 106 of file Path.h.
Referenced by clearCounters(), handleWorkerFailure(), recordUnknownException(), and timesExcept().
|
private |
Definition at line 105 of file Path.h.
Referenced by clearCounters(), timesFailed(), and updateCounters().
|
private |
Definition at line 104 of file Path.h.
Referenced by clearCounters(), timesPassed(), and updateCounters().
|
private |
Definition at line 103 of file Path.h.
Referenced by clearCounters(), process(), and timesRun().
|
private |
Definition at line 111 of file Path.h.
Referenced by Path(), and recordStatus().
|
private |
Definition at line 115 of file Path.h.
Referenced by clearCounters(), findByModifiesEvent(), Path(), process(), and workersInPath().