#include <PackedTriggerPrescales.h>
Public Member Functions | |
void | addPrescaledTrigger (int index, int prescale) |
int | getPrescaleForIndex (int index) const |
int | getPrescaleForName (const std::string &name, bool prefixOnly=false) const |
PackedTriggerPrescales () | |
PackedTriggerPrescales (const edm::Handle< edm::TriggerResults > &handle) | |
void | setTriggerNames (const edm::TriggerNames &names) |
const edm::TriggerResults & | triggerResults () const |
~PackedTriggerPrescales () | |
Protected Attributes | |
std::vector< int > | prescaleValues_ |
const edm::TriggerNames * | triggerNames_ |
edm::RefCore | triggerResults_ |
Definition at line 10 of file PackedTriggerPrescales.h.
|
inline |
Definition at line 12 of file PackedTriggerPrescales.h.
References cmsBatch::handle.
pat::PackedTriggerPrescales::PackedTriggerPrescales | ( | const edm::Handle< edm::TriggerResults > & | handle | ) |
Definition at line 5 of file PackedTriggerPrescales.cc.
References prescaleValues_, and edm::HLTGlobalStatus::size().
|
inline |
Definition at line 14 of file PackedTriggerPrescales.h.
References getPrescaleForIndex(), getPrescaleForName(), diffTreeTool::index, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.
void pat::PackedTriggerPrescales::addPrescaledTrigger | ( | int | index, |
int | prescale | ||
) |
Definition at line 36 of file PackedTriggerPrescales.cc.
References Exception, diffTreeTool::index, prescaleValues_, findQualityFiles::size, and triggerResults().
Referenced by setTriggerNames().
int pat::PackedTriggerPrescales::getPrescaleForIndex | ( | int | index | ) | const |
Definition at line 13 of file PackedTriggerPrescales.cc.
References Exception, diffTreeTool::index, prescaleValues_, findQualityFiles::size, and triggerResults().
Referenced by heppy::TriggerBitChecker::check_unprescaled(), heppy::TriggerBitChecker::getprescale(), getPrescaleForName(), and ~PackedTriggerPrescales().
int pat::PackedTriggerPrescales::getPrescaleForName | ( | const std::string & | name, |
bool | prefixOnly = false |
||
) | const |
Definition at line 18 of file PackedTriggerPrescales.cc.
References Exception, getPrescaleForIndex(), mps_fire::i, diffTreeTool::index, gen::n, cscdqm::h::names, edm::TriggerNames::triggerIndex(), edm::TriggerNames::triggerNames(), and triggerNames_.
Referenced by ~PackedTriggerPrescales().
|
inline |
Definition at line 28 of file PackedTriggerPrescales.h.
References addPrescaledTrigger(), cscdqm::h::names, and triggerNames_.
|
inline |
Definition at line 22 of file PackedTriggerPrescales.h.
References triggerResults_.
Referenced by addPrescaledTrigger(), and getPrescaleForIndex().
|
protected |
Definition at line 34 of file PackedTriggerPrescales.h.
Referenced by addPrescaledTrigger(), getPrescaleForIndex(), and PackedTriggerPrescales().
|
protected |
Definition at line 36 of file PackedTriggerPrescales.h.
Referenced by getPrescaleForName(), and setTriggerNames().
|
protected |
Definition at line 35 of file PackedTriggerPrescales.h.
Referenced by triggerResults().