10 : triggerResults_(triggerResults), triggerNames_(triggerNames) {
18 <<
"TriggerResultsByName::TriggerResultsByName, Trigger names vector and TriggerResults\n"
19 "have different ParameterSetID's. This should be impossible when the object is obtained\n"
20 "from the function named triggerResultsByName in the Event class, which is the way\n"
21 "TriggerResultsByName should always be created. If this is the case, please send\n"
22 "information to reproduce this problem to the edm developers. Otherwise, you are\n"
23 "using this class incorrectly and in a way that is not supported.\n";
28 <<
"TriggerResultsByName::TriggerResultsByName, Trigger names vector\n"
29 "and TriggerResults have different sizes. This should be impossible,\n"
30 "please send information to reproduce this problem to the edm developers.\n";
191 <<
"TriggerResultsByName::getAndCheckIndex\n"
192 <<
"Requested trigger name \"" << pathName <<
"\" does not match any known trigger.\n";
199 <<
"TriggerResultsByName has a null pointer to TriggerResults.\n"
200 <<
"This probably means TriggerResults was not found in the Event\n"
201 <<
"because the product was dropped or never created. It could also\n"
202 <<
"mean it was requested for a process that does not exist or was\n"
208 <<
"TriggerResultsByName has a null pointer to TriggerNames.\n"
209 <<
"This should never happen. It could indicate the ParameterSet\n"
210 <<
"containing the names is missing from the ParameterSet registry.\n"
211 <<
"Please report this to the edm developers along with instructions\n"
212 <<
"to reproduce the problem\n";
bool wasrun() const
Was at least one path run?
ParameterSetID const & parameterSetID() const
TriggerNames const * triggerNames_
std::vector< std::string >::size_type size() const
unsigned getAndCheckIndex(std::string const &pathName) const
HLTState
status of a trigger path
bool accept() const
Has at least one path accepted the event?
HLTPathStatus const & at(std::string const &pathName) const
unsigned int triggerIndex(std::string_view name) const
unsigned triggerIndex(std::string const &pathName) const
std::string const & triggerName(unsigned i) const
Strings const & triggerNames() const
ParameterSetID const & parameterSetID() const
std::vector< std::string > const & triggerNames() const
unsigned index(std::string const &pathName) const
void throwTriggerResultsMissing() const
unsigned int size() const
Get number of paths stored.
unsigned int index(const unsigned int i) const
Get index (slot position) of module giving the decision of the ith path.
bool error() const
Has any path encountered an error (exception)
const HLTPathStatus & at(const unsigned int i) const
std::string const & triggerName(unsigned int index) const
static std::string const triggerResults("TriggerResults")
hlt::HLTState state(std::string const &pathName) const
TriggerResultsByName(TriggerResults const *triggerResults, TriggerNames const *triggerNames)
HLTPathStatus const & operator[](std::string const &pathName) const
TriggerResults const * triggerResults_
const ParameterSetID & parameterSetID() const
Get stored parameter set id.
void throwTriggerNamesMissing() const
hlt::HLTState state(const unsigned int i) const
Get status of ith path.