7 triggerResults_(
edm::
RefProd<
edm::TriggerResults>(handle).refCore()),
19 if (
triggerNames_ ==
nullptr)
throw cms::Exception(
"LogicError",
"getPrescaleForName called without having called setTriggerNames first");
22 size_t siz = name.length()-1;
23 while (siz > 0 && (name[siz] ==
'*' || name[siz] ==
'\0')) siz--;
24 for (
unsigned int i = 0,
n = names.size();
i <
n; ++
i) {
25 if (strncmp(name.c_str(), names[
i].c_str(), siz) == 0) {
int getPrescaleForName(const std::string &name, bool prefixOnly=false) const
static const HistoName names[]
std::vector< int > prescaleValues_
Strings const & triggerNames() const
unsigned int triggerIndex(std::string const &name) const
void addPrescaledTrigger(int index, int prescale)
unsigned int size() const
Get number of paths stored.
const edm::TriggerResults & triggerResults() const
const edm::TriggerNames * triggerNames_
edm::RefProd< Container > RefProd
int getPrescaleForIndex(int index) const