#include <Path.h>
Public Types | |
typedef WorkersInPath::size_type | size_type |
typedef hlt::HLTState | State |
typedef boost::shared_ptr < HLTGlobalStatus > | TrigResPtr |
typedef std::vector< WorkerInPath > | WorkersInPath |
Public Member Functions | |
int | bitPosition () const |
void | clearCounters () |
Worker const * | getWorker (size_type i) const |
std::string const & | name () const |
Path (int bitpos, std::string const &path_name, WorkersInPath const &workers, TrigResPtr trptr, ActionTable const &actions, boost::shared_ptr< ActivityRegistry > reg, bool isEndPath) | |
template<typename T > | |
void | processOneOccurrence (typename T::MyPrincipal &, EventSetup const &) |
void | setEarlyDeleteHelpers (std::map< const Worker *, EarlyDeleteHelper * > const &) |
size_type | size () const |
State | state () const |
std::pair< double, double > | timeCpuReal () const |
std::pair< double, double > | timeCpuReal (unsigned int const i) const |
int | timesExcept () const |
int | timesExcept (size_type i) const |
int | timesFailed () const |
int | timesFailed (size_type i) const |
int | timesPassed () const |
int | timesPassed (size_type i) const |
int | timesRun () const |
int | timesVisited (size_type i) const |
void | useStopwatch () |
Private Member Functions | |
void | handleEarlyFinish (EventPrincipal &) |
void | handleEarlyFinish (RunPrincipal &) |
void | handleEarlyFinish (LuminosityBlockPrincipal &) |
bool | handleWorkerFailure (cms::Exception &e, int nwrwue, bool isEvent, bool begin, BranchType branchType, CurrentProcessingContext const &cpc, std::string const &id) |
void | recordStatus (int nwrwue, bool isEvent) |
void | updateCounters (bool succeed, bool isEvent) |
Static Private Member Functions | |
static void | exceptionContext (cms::Exception &ex, bool isEvent, bool begin, BranchType branchType, CurrentProcessingContext const &cpc, std::string const &id) |
Private Attributes | |
ActionTable const * | act_table_ |
boost::shared_ptr < ActivityRegistry > | actReg_ |
int | bitpos_ |
std::vector< EarlyDeleteHelper * > | earlyDeleteHelpers_ |
bool | isEndPath_ |
std::string | name_ |
State | state_ |
RunStopwatch::StopwatchPointer | stopwatch_ |
int | timesExcept_ |
int | timesFailed_ |
int | timesPassed_ |
int | timesRun_ |
TrigResPtr | trptr_ |
WorkersInPath | workers_ |
typedef WorkersInPath::size_type edm::Path::size_type |
typedef hlt::HLTState edm::Path::State |
typedef boost::shared_ptr<HLTGlobalStatus> edm::Path::TrigResPtr |
typedef std::vector<WorkerInPath> edm::Path::WorkersInPath |
edm::Path::Path | ( | int | bitpos, |
std::string const & | path_name, | ||
WorkersInPath const & | workers, | ||
TrigResPtr | trptr, | ||
ActionTable const & | actions, | ||
boost::shared_ptr< ActivityRegistry > | reg, | ||
bool | isEndPath | ||
) |
|
inline |
Definition at line 57 of file Path.h.
References bitpos_.
Referenced by edm::fillPathSummary(), and processOneOccurrence().
void edm::Path::clearCounters | ( | ) |
Definition at line 143 of file Path.cc.
References edm::WorkerInPath::clearCounters(), edm::for_all(), timesExcept_, timesFailed_, timesPassed_, timesRun_, and workers_.
Referenced by edm::Schedule::clearCounters().
|
staticprivate |
Definition at line 79 of file Path.cc.
References cms::Exception::addContext(), errorMatrix2Lands_multiChannel::id, edm::InLumi, edm::InRun, edm::CurrentProcessingContext::moduleDescription(), edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), and edm::CurrentProcessingContext::pathName().
Referenced by handleWorkerFailure().
Definition at line 85 of file Path.h.
References workers_.
Referenced by edm::fillModuleInPathSummary(), and setEarlyDeleteHelpers().
|
private |
Definition at line 176 of file Path.cc.
References earlyDeleteHelpers_.
Referenced by processOneOccurrence().
|
inlineprivate |
|
inlineprivate |
|
private |
Definition at line 35 of file Path.cc.
References act_table_, alignCSCRings::action, cms::Exception::addAdditionalInfo(), cms::Exception::category(), edm::Exception::codeToString(), edm::hlt::Exception, exceptionContext(), edm::actions::FailPath, edm::ActionTable::find(), edm::printCmsExceptionWarning(), edm::errors::ProductNotFound, recordStatus(), edm::actions::Rethrow, state_, and timesExcept_.
Referenced by processOneOccurrence().
|
inline |
Definition at line 58 of file Path.h.
References name_.
Referenced by edm::Schedule::availablePaths(), edm::fillPathSummary(), edm::Schedule::modulesInPath(), and Vispa.Views.PropertyView.Property::valueChanged().
void edm::Path::processOneOccurrence | ( | typename T::MyPrincipal & | ep, |
EventSetup const & | es | ||
) |
Definition at line 157 of file Path.h.
References edm::CurrentProcessingContext::activate(), actReg_, edm::convertException::badAllocToEDM(), bitPosition(), trackerHits::c, edm::convertException::charPtrToEDM(), alignCSCRings::e, end, cppFunctionSkipper::exception, handleEarlyFinish(), handleWorkerFailure(), i, isEndPath_, name_, edm::hlt::Ready, recordStatus(), alignCSCRings::s, state_, edm::convertException::stdToEDM(), stopwatch_, edm::convertException::stringToEDM(), timesRun_, edm::convertException::unknownToEDM(), updateCounters(), and workers_.
Referenced by edm::ProcessOneOccurrence< T >::operator()().
|
private |
Definition at line 125 of file Path.cc.
References bitpos_, and state_.
Referenced by handleWorkerFailure(), and processOneOccurrence().
void edm::Path::setEarlyDeleteHelpers | ( | std::map< const Worker *, EarlyDeleteHelper * > const & | iWorkerToDeleter | ) |
Definition at line 159 of file Path.cc.
References earlyDeleteHelpers_, newFWLiteAna::found, getWorker(), getHLTprescales::index, size(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 80 of file Path.h.
References workers_.
Referenced by edm::fillPathSummary(), and setEarlyDeleteHelpers().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 76 of file Path.h.
References timesExcept_.
Referenced by edm::fillModuleInPathSummary(), and edm::fillPathSummary().
|
inline |
|
inline |
Definition at line 75 of file Path.h.
References timesFailed_.
Referenced by edm::fillModuleInPathSummary(), and edm::fillPathSummary().
|
inline |
|
inline |
Definition at line 74 of file Path.h.
References timesPassed_.
Referenced by edm::fillModuleInPathSummary(), and edm::fillPathSummary().
|
inline |
|
inline |
|
inline |
Definition at line 81 of file Path.h.
References workers_.
Referenced by edm::fillModuleInPathSummary().
|
private |
Definition at line 132 of file Path.cc.
References edm::hlt::Fail, edm::hlt::Pass, state_, timesFailed_, and timesPassed_.
Referenced by processOneOccurrence().
void edm::Path::useStopwatch | ( | ) |
Definition at line 149 of file Path.cc.
References stopwatch_, and workers_.
Referenced by edm::Schedule::fillEndPath(), and edm::Schedule::fillTrigPath().
|
private |
Definition at line 103 of file Path.h.
Referenced by handleWorkerFailure().
|
private |
Definition at line 102 of file Path.h.
Referenced by processOneOccurrence().
|
private |
Definition at line 99 of file Path.h.
Referenced by bitPosition(), and recordStatus().
|
private |
Definition at line 106 of file Path.h.
Referenced by handleEarlyFinish(), and setEarlyDeleteHelpers().
|
private |
Definition at line 108 of file Path.h.
Referenced by processOneOccurrence().
|
private |
Definition at line 100 of file Path.h.
Referenced by name(), and processOneOccurrence().
|
private |
Definition at line 97 of file Path.h.
Referenced by handleWorkerFailure(), processOneOccurrence(), recordStatus(), state(), and updateCounters().
|
private |
Definition at line 91 of file Path.h.
Referenced by processOneOccurrence(), timeCpuReal(), and useStopwatch().
|
private |
Definition at line 95 of file Path.h.
Referenced by clearCounters(), handleWorkerFailure(), and timesExcept().
|
private |
Definition at line 94 of file Path.h.
Referenced by clearCounters(), timesFailed(), and updateCounters().
|
private |
Definition at line 93 of file Path.h.
Referenced by clearCounters(), timesPassed(), and updateCounters().
|
private |
Definition at line 92 of file Path.h.
Referenced by clearCounters(), processOneOccurrence(), and timesRun().
|
private |
|
private |
Definition at line 105 of file Path.h.
Referenced by clearCounters(), getWorker(), processOneOccurrence(), size(), timeCpuReal(), timesExcept(), timesFailed(), timesPassed(), timesVisited(), and useStopwatch().