LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "PathsInfo.h"
Public Member Functions | |
~PathsInfo () | |
std::map< std::string, std::shared_ptr< Worker > > & | workers () |
std::map< std::string, std::shared_ptr< Worker > > const & | workers () const |
void | add_path (ActionTable const &, ActivityRegistry const &, PathContext const &, std::vector< WorkerInPath > &&, GlobalTaskGroup &) |
std::vector< Path > & | paths () |
std::vector< Path > const & | paths () const |
std::vector< std::string > | pathNames () const |
HLTGlobalStatus & | pathResults () |
void | reset () |
void | reset_for_event () |
void | incrementTotalEventCount () |
void | incrementPassedEventCount () |
std::size_t | passedEvents () const |
std::size_t | failedEvents () const |
std::size_t | totalEvents () const |
Private Attributes | |
std::map< std::string, std::shared_ptr< Worker > > | workers_ {} |
std::vector< Path > | paths_ {} |
HLTGlobalStatus | pathResults_ {} |
std::atomic< std::size_t > | totalEvents_ {} |
std::atomic< std::size_t > | passedEvents_ {} |
Definition at line 16 of file PathsInfo.h.
|
default |
void art::PathsInfo::add_path | ( | ActionTable const & | actions, |
ActivityRegistry const & | registry, | ||
PathContext const & | pc, | ||
std::vector< WorkerInPath > && | wips, | ||
GlobalTaskGroup & | task_group | ||
) |
Definition at line 34 of file PathsInfo.cc.
References art::PathContext::pathID(), art::PathContext::pathName(), art::PathContext::scheduleID(), util::size(), TDEBUG_FUNC_SI, and util::to_string().
size_t art::PathsInfo::failedEvents | ( | ) | const |
Definition at line 116 of file PathsInfo.cc.
void art::PathsInfo::incrementPassedEventCount | ( | ) |
Definition at line 104 of file PathsInfo.cc.
Referenced by art::EndPathExecutor::process(), and art::TriggerPathsExecutor::process_event_paths_done().
void art::PathsInfo::incrementTotalEventCount | ( | ) |
Definition at line 98 of file PathsInfo.cc.
Referenced by art::TriggerPathsExecutor::process_event(), and art::EndPathExecutor::process_event().
size_t art::PathsInfo::passedEvents | ( | ) | const |
Definition at line 110 of file PathsInfo.cc.
vector< string > art::PathsInfo::pathNames | ( | ) | const |
Definition at line 66 of file PathsInfo.cc.
References util::begin(), and util::end().
HLTGlobalStatus & art::PathsInfo::pathResults | ( | ) |
Definition at line 92 of file PathsInfo.cc.
Referenced by art::TriggerPathsExecutor::process_event_paths_done().
vector< Path > & art::PathsInfo::paths | ( | ) |
Definition at line 54 of file PathsInfo.cc.
Referenced by art::TriggerPathsExecutor::process(), art::EndPathExecutor::process(), art::TriggerPathsExecutor::process_event(), and art::EndPathExecutor::process_event().
vector< Path > const & art::PathsInfo::paths | ( | ) | const |
Definition at line 60 of file PathsInfo.cc.
void art::PathsInfo::reset | ( | ) |
Definition at line 77 of file PathsInfo.cc.
References util::values().
Referenced by art::TriggerPathsExecutor::process().
void art::PathsInfo::reset_for_event | ( | ) |
Definition at line 85 of file PathsInfo.cc.
Referenced by art::TriggerPathsExecutor::process_event(), and art::EndPathExecutor::process_event().
size_t art::PathsInfo::totalEvents | ( | ) | const |
Definition at line 123 of file PathsInfo.cc.
map< string, std::shared_ptr< Worker > > & art::PathsInfo::workers | ( | ) |
Definition at line 22 of file PathsInfo.cc.
Referenced by art::EndPathExecutor::EndPathExecutor().
map< string, std::shared_ptr< Worker > > const & art::PathsInfo::workers | ( | ) | const |
Definition at line 28 of file PathsInfo.cc.
|
private |
Definition at line 44 of file PathsInfo.h.
|
private |
Definition at line 42 of file PathsInfo.h.
|
private |
Definition at line 41 of file PathsInfo.h.
|
private |
Definition at line 43 of file PathsInfo.h.
|
private |
Definition at line 40 of file PathsInfo.h.