#include <PackedTriggerPrescales.h>
Public Member Functions | |
void | addPrescaledTrigger (int index, double prescale) |
template<typename T = int> | |
T | getPrescaleForIndex (int index) const |
template<typename T = int> | |
T | 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 ()=default | |
Protected Attributes | |
std::vector< double > | prescaleValues_ |
const edm::TriggerNames * | triggerNames_ |
edm::RefCore | triggerResults_ |
Definition at line 13 of file PackedTriggerPrescales.h.
|
inline |
Definition at line 15 of file PackedTriggerPrescales.h.
pat::PackedTriggerPrescales::PackedTriggerPrescales | ( | const edm::Handle< edm::TriggerResults > & | handle | ) |
Definition at line 4 of file PackedTriggerPrescales.cc.
References patZpeak::handle, and prescaleValues_.
|
default |
void pat::PackedTriggerPrescales::addPrescaledTrigger | ( | int | index, |
double | prescale | ||
) |
Definition at line 9 of file PackedTriggerPrescales.cc.
References Exception, findQualityFiles::size, and triggerResults.
T pat::PackedTriggerPrescales::getPrescaleForIndex | ( | int | index | ) | const |
Definition at line 48 of file PackedTriggerPrescales.h.
References Exception, prescaleValues_, findQualityFiles::size, and triggerResults().
T pat::PackedTriggerPrescales::getPrescaleForName | ( | const std::string & | name, |
bool | prefixOnly = false |
||
) | const |
Definition at line 58 of file PackedTriggerPrescales.h.
References Exception, mps_fire::i, dqmiodumpmetadata::n, Skims_PA_cff::name, names, edm::TriggerNames::triggerIndex(), edm::TriggerNames::triggerNames(), and triggerNames_.
|
inline |
Definition at line 36 of file PackedTriggerPrescales.h.
References names, and triggerNames_.
|
inline |
Definition at line 32 of file PackedTriggerPrescales.h.
References triggerResults_.
Referenced by getPrescaleForIndex().
|
protected |
Definition at line 42 of file PackedTriggerPrescales.h.
Referenced by getPrescaleForIndex(), and PackedTriggerPrescales().
|
protected |
Definition at line 44 of file PackedTriggerPrescales.h.
Referenced by getPrescaleForName(), and setTriggerNames().
|
protected |
Definition at line 43 of file PackedTriggerPrescales.h.
Referenced by triggerResults().