#include <HLTTauDQMPath.h>
Classes | |
struct | Object |
Public Types | |
typedef std::tuple < std::string, size_t > | FilterIndex |
typedef math::XYZTLorentzVectorD | LV |
typedef std::vector< LV > | LVColl |
Public Member Functions | |
bool | beginRun (const HLTConfigProvider &HLTCP) |
size_t | filtersSize () const |
bool | fired (const edm::TriggerResults &triggerResults) const |
size_t | getFilterIndex (size_t i) const |
const std::string & | getFilterName (size_t i) const |
int | getFilterNElectrons (size_t i) const |
int | getFilterNMuons (size_t i) const |
int | getFilterNTaus (size_t i) const |
void | getFilterObjects (const trigger::TriggerEvent &triggerEvent, size_t i, std::vector< Object > &retval) const |
size_t | getLastFilterBeforeL2TauIndex () const |
size_t | getLastFilterBeforeL3TauIndex () const |
const std::string & | getLastFilterName () const |
size_t | getLastL2TauFilterIndex () const |
size_t | getLastL3TauFilterIndex () const |
const unsigned int | getPathIndex () const |
const std::string & | getPathName () const |
bool | goodOfflineEvent (size_t i, const HLTTauDQMOfflineObjects &offlineObjects) const |
bool | hasL2Taus () const |
bool | hasL3Taus () const |
HLTTauDQMPath (const std::string &hltProcess, const std::string &dqmFolder, bool doRefAnalysis) | |
void | initialize (const edm::ParameterSet &pset) |
bool | isFirstFilterL1Seed () const |
int | lastPassedFilter (const edm::TriggerResults &triggerResults) const |
bool | offlineMatching (size_t i, const std::vector< Object > &triggerObjects, const HLTTauDQMOfflineObjects &offlineObjects, double dR, std::vector< Object > &matchedTriggerObjects, HLTTauDQMOfflineObjects &matchedOfflineObjects) const |
~HLTTauDQMPath () | |
Private Attributes | |
const bool | doRefAnalysis_ |
const std::string | dqmFolder_ |
std::vector< int > | filterElectronN_ |
std::vector< FilterIndex > | filterIndices_ |
std::vector< int > | filterMuonN_ |
std::vector< int > | filterTauN_ |
const std::string | hltProcess_ |
std::vector< boost::regex > | ignoreFilterNames_ |
std::vector< boost::regex > | ignoreFilterTypes_ |
bool | isFirstL1Seed_ |
size_t | lastFilterBeforeL2TauIndex_ |
size_t | lastFilterBeforeL3TauIndex_ |
size_t | lastL2TauFilterIndex_ |
size_t | lastL3TauFilterIndex_ |
unsigned int | pathIndex_ |
std::string | pathName_ |
std::vector< boost::regex > | pathRegexs_ |
Definition at line 24 of file HLTTauDQMPath.h.
typedef std::tuple<std::string, size_t> HLTTauDQMPath::FilterIndex |
Definition at line 77 of file HLTTauDQMPath.h.
Definition at line 26 of file HLTTauDQMPath.h.
typedef std::vector<LV> HLTTauDQMPath::LVColl |
Definition at line 27 of file HLTTauDQMPath.h.
HLTTauDQMPath::HLTTauDQMPath | ( | const std::string & | hltProcess, |
const std::string & | dqmFolder, | ||
bool | doRefAnalysis | ||
) |
Definition at line 274 of file HLTTauDQMPath.cc.
HLTTauDQMPath::~HLTTauDQMPath | ( | ) |
Definition at line 283 of file HLTTauDQMPath.cc.
bool HLTTauDQMPath::beginRun | ( | const HLTConfigProvider & | HLTCP | ) |
Definition at line 306 of file HLTTauDQMPath.cc.
References doRefAnalysis_, dqmFolder_, filterElectronN_, filterIndices_, filterMuonN_, filtersSize(), filterTauN_, getFilterIndex(), getFilterNElectrons(), getFilterNMuons(), getFilterNTaus(), i, ignoreFilterNames_, ignoreFilterTypes_, isFirstL1Seed_, lastFilterBeforeL2TauIndex_, lastFilterBeforeL3TauIndex_, lastL2TauFilterIndex_, lastL3TauFilterIndex_, LogDebug, max(), HLTConfigProvider::moduleType(), getHLTPrescaleColumns::path, pathIndex_, pathName_, pathRegexs_, AlCaHLTBitMon_QueryRunRegistry::string, HLTConfigProvider::triggerIndex(), HLTConfigProvider::triggerNames(), and cms::Exception::what().
Referenced by HLTTauDQMPathPlotter::beginRun().
|
inline |
Definition at line 50 of file HLTTauDQMPath.h.
References filterIndices_.
Referenced by HLTTauDQMPathSummaryPlotter::analyze(), HLTTauDQMPathPlotter::beginRun(), and beginRun().
bool HLTTauDQMPath::fired | ( | const edm::TriggerResults & | triggerResults | ) | const |
Definition at line 421 of file HLTTauDQMPath.cc.
References edm::HLTGlobalStatus::accept(), and pathIndex_.
Referenced by HLTTauDQMPathSummaryPlotter::analyze(), HLTTauDQMPathPlotter::analyze(), and lastPassedFilter().
|
inline |
Definition at line 67 of file HLTTauDQMPath.h.
References filterIndices_, and i.
Referenced by beginRun().
|
inline |
Definition at line 51 of file HLTTauDQMPath.h.
References filterIndices_, and i.
Referenced by HLTTauDQMPathPlotter::beginRun(), and getFilterObjects().
|
inline |
Definition at line 53 of file HLTTauDQMPath.h.
References filterElectronN_, and i.
Referenced by HLTTauDQMPathPlotter::analyze(), HLTTauDQMPathPlotter::beginRun(), beginRun(), and goodOfflineEvent().
|
inline |
Definition at line 54 of file HLTTauDQMPath.h.
References filterMuonN_, and i.
Referenced by HLTTauDQMPathPlotter::analyze(), HLTTauDQMPathPlotter::beginRun(), beginRun(), and goodOfflineEvent().
|
inline |
Definition at line 52 of file HLTTauDQMPath.h.
References filterTauN_, and i.
Referenced by HLTTauDQMPathPlotter::analyze(), HLTTauDQMPathPlotter::beginRun(), beginRun(), and goodOfflineEvent().
void HLTTauDQMPath::getFilterObjects | ( | const trigger::TriggerEvent & | triggerEvent, |
size_t | i, | ||
std::vector< Object > & | retval | ||
) | const |
Definition at line 445 of file HLTTauDQMPath.cc.
References trigger::TriggerEvent::filterIds(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), getFilterName(), trigger::TriggerEvent::getObjects(), hltProcess_, i, relativeConstraints::keys, dbtoconf::object, and trigger::TriggerEvent::sizeFilters().
Referenced by HLTTauDQMPathSummaryPlotter::analyze(), and HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 61 of file HLTTauDQMPath.h.
References lastFilterBeforeL2TauIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 63 of file HLTTauDQMPath.h.
References lastFilterBeforeL3TauIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 57 of file HLTTauDQMPath.h.
References filterIndices_.
|
inline |
Definition at line 62 of file HLTTauDQMPath.h.
References lastL2TauFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 64 of file HLTTauDQMPath.h.
References lastL3TauFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
|
inline |
bool HLTTauDQMPath::goodOfflineEvent | ( | size_t | i, |
const HLTTauDQMOfflineObjects & | offlineObjects | ||
) | const |
Definition at line 522 of file HLTTauDQMPath.cc.
References HLTTauDQMOfflineObjects::electrons, getFilterNElectrons(), getFilterNMuons(), getFilterNTaus(), HLTTauDQMOfflineObjects::muons, and HLTTauDQMOfflineObjects::taus.
Referenced by HLTTauDQMPathSummaryPlotter::analyze().
|
inline |
Definition at line 59 of file HLTTauDQMPath.h.
References lastL2TauFilterIndex_, and max().
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::beginRun().
|
inline |
Definition at line 60 of file HLTTauDQMPath.h.
References lastL3TauFilterIndex_, and max().
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::beginRun().
void HLTTauDQMPath::initialize | ( | const edm::ParameterSet & | pset | ) |
Definition at line 285 of file HLTTauDQMPath.cc.
References edm::ParameterSet::getUntrackedParameter(), pathRegexs_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HLTTauDQMPathPlotter::HLTTauDQMPathPlotter().
|
inline |
Definition at line 56 of file HLTTauDQMPath.h.
References isFirstL1Seed_.
Referenced by HLTTauDQMPathPlotter::analyze().
int HLTTauDQMPath::lastPassedFilter | ( | const edm::TriggerResults & | triggerResults | ) | const |
Definition at line 425 of file HLTTauDQMPath.cc.
References filterIndices_, fired(), i, edm::HLTGlobalStatus::index(), and pathIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
bool HLTTauDQMPath::offlineMatching | ( | size_t | i, |
const std::vector< Object > & | triggerObjects, | ||
const HLTTauDQMOfflineObjects & | offlineObjects, | ||
double | dR, | ||
std::vector< Object > & | matchedTriggerObjects, | ||
HLTTauDQMOfflineObjects & | matchedOfflineObjects | ||
) | const |
Definition at line 460 of file HLTTauDQMPath.cc.
References a, b, HLTTauDQMOfflineObjects::electrons, lumiContext::fill, filterElectronN_, filterMuonN_, filterTauN_, isFirstL1Seed_, HLTTauDQMOfflineObjects::muons, python.multivaluedict::sort(), HLTTauDQMOfflineObjects::taus, trigger::TriggerElectron, trigger::TriggerL1CenJet, trigger::TriggerL1IsoEG, trigger::TriggerL1Mu, trigger::TriggerL1NoIsoEG, trigger::TriggerL1TauJet, trigger::TriggerMuon, and trigger::TriggerTau.
Referenced by HLTTauDQMPathSummaryPlotter::analyze(), and HLTTauDQMPathPlotter::analyze().
|
private |
Definition at line 81 of file HLTTauDQMPath.h.
Referenced by beginRun().
|
private |
Definition at line 80 of file HLTTauDQMPath.h.
Referenced by beginRun().
|
private |
Definition at line 89 of file HLTTauDQMPath.h.
Referenced by beginRun(), getFilterNElectrons(), and offlineMatching().
|
private |
Definition at line 87 of file HLTTauDQMPath.h.
Referenced by beginRun(), filtersSize(), getFilterIndex(), getFilterName(), getLastFilterName(), and lastPassedFilter().
|
private |
Definition at line 90 of file HLTTauDQMPath.h.
Referenced by beginRun(), getFilterNMuons(), and offlineMatching().
|
private |
Definition at line 88 of file HLTTauDQMPath.h.
Referenced by beginRun(), getFilterNTaus(), and offlineMatching().
|
private |
Definition at line 79 of file HLTTauDQMPath.h.
Referenced by getFilterObjects().
|
private |
Definition at line 85 of file HLTTauDQMPath.h.
Referenced by beginRun().
|
private |
Definition at line 84 of file HLTTauDQMPath.h.
Referenced by beginRun().
|
private |
Definition at line 97 of file HLTTauDQMPath.h.
Referenced by beginRun(), isFirstFilterL1Seed(), and offlineMatching().
|
private |
Definition at line 93 of file HLTTauDQMPath.h.
Referenced by beginRun(), and getLastFilterBeforeL2TauIndex().
|
private |
Definition at line 95 of file HLTTauDQMPath.h.
Referenced by beginRun(), and getLastFilterBeforeL3TauIndex().
|
private |
Definition at line 94 of file HLTTauDQMPath.h.
Referenced by beginRun(), getLastL2TauFilterIndex(), and hasL2Taus().
|
private |
Definition at line 96 of file HLTTauDQMPath.h.
Referenced by beginRun(), getLastL3TauFilterIndex(), and hasL3Taus().
|
private |
Definition at line 92 of file HLTTauDQMPath.h.
Referenced by beginRun(), fired(), getPathIndex(), and lastPassedFilter().
|
private |
Definition at line 91 of file HLTTauDQMPath.h.
Referenced by beginRun(), and getPathName().
|
private |
Definition at line 83 of file HLTTauDQMPath.h.
Referenced by beginRun(), and initialize().