#include <TriggerNamesService.h>
Definition at line 44 of file TriggerNamesService.h.
Definition at line 70 of file TriggerNamesService_service.cc.
75 getProcessName(), data_for_process(trigger_paths_pset, physics_pset));
std::string const & getProcessName() const
std::map< std::string, DataPerProcess > dataPerProcess_
DataPerProcess const & art::TriggerNamesService::currentData_ |
( |
| ) |
const |
|
private |
Definition at line 79 of file TriggerNamesService_service.cc.
std::string const & getProcessName() const
std::map< std::string, DataPerProcess > dataPerProcess_
string const & art::TriggerNamesService::getProcessName |
( |
| ) |
const |
string const & art::TriggerNamesService::getTrigPath |
( |
PathID const |
id | ) |
const |
Definition at line 148 of file TriggerNamesService_service.cc.
151 if (i == invalid_entry) {
153 <<
"A path name could not be found corresponding to path ID " std::vector< PathSpec > triggerPathSpecs
size_t index_for(PathID id) const
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
std::string to_string(ModuleType const mt)
DataPerProcess const & currentData_() const
Definition at line 160 of file TriggerNamesService_service.cc.
size_t index_(detail::entry_selector_t selector) const
std::vector< std::vector< std::string > > moduleNames
DataPerProcess const & currentData_() const
Definition at line 167 of file TriggerNamesService_service.cc.
size_t index_for(PathID id) const
std::vector< std::vector< std::string > > moduleNames
DataPerProcess const & currentData_() const
vector< string > const & art::TriggerNamesService::getTrigPaths |
( |
| ) |
const |
Definition at line 180 of file TriggerNamesService_service.cc.
186 auto it = std::find_if(
b,
e, matched_entry);
188 return invalid_entry;
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
std::vector< PathSpec > triggerPathSpecs
std::vector< PathSpec > path_specs(std::vector< std::string > const &path_spec_strs)
double distance(double x1, double y1, double z1, double x2, double y2, double z2)
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
DataPerProcess const & currentData_() const
size_t art::TriggerNamesService::index_for |
( |
PathID |
id | ) |
const |
Definition at line 98 of file TriggerNamesService_service.cc.
103 process_name ==
"current_process" ?
getProcessName() : process_name;
107 auto config =
e.processHistory().getConfigurationForProcess(pname);
109 throw lookup_exception(pname)
110 <<
"Could not locate process configuration for the process '" << pname
112 <<
"This can happen if the ParameterSets were dropped on input.\n" 113 <<
"Please contact artists@fnal.gov for guidance.\n";
118 auto data = data_for_process(trigger_pset,
123 auto const&
names = it->second.triggerPathNames;
126 std::map<std::string, HLTPathStatus>
result;
127 for (
size_t i = 0,
n = tr.size(); i !=
n; ++i) {
128 result.try_emplace(
names[i], tr.at(i));
decltype(auto) constexpr cend(T &&obj)
ADL-aware version of std::cend.
std::string const & getProcessName() const
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
TriggerResults const & triggerResults(Event const &e, std::string const &process_name="current_process") const
static std::vector< std::string > const names
auto const & get(AssnsNode< L, R, D > const &r)
std::map< std::string, DataPerProcess > dataPerProcess_
Definition at line 87 of file TriggerNamesService_service.cc.
90 Handle<art::TriggerResults>
h;
91 if (not
e.getByLabel(
"TriggerResults",
"", process_name, h)) {
92 throw lookup_exception(process_name) << *h.whyFailed();
The documentation for this class was generated from the following files: