#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 | |
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 &pathName, const std::string &hltProcess, bool doRefAnalysis, const HLTConfigProvider &HLTCP) | |
bool | isFirstFilterL1Seed () const |
bool | isValid () 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 () | |
Static Public Attributes | |
static constexpr size_t | kInvalidIndex = std::numeric_limits<size_t>::max() |
static constexpr size_t | kModuleIndex = 1 |
static constexpr size_t | kName = 0 |
Private Attributes | |
const bool | doRefAnalysis_ |
std::vector< int > | filterElectronN_ |
std::vector< FilterIndex > | filterIndices_ |
std::vector< int > | filterMuonN_ |
std::vector< int > | filterTauN_ |
const std::string | hltProcess_ |
bool | isFirstL1Seed_ |
bool | isValid_ |
size_t | lastFilterBeforeL2TauIndex_ |
size_t | lastFilterBeforeL3TauIndex_ |
size_t | lastL2TauFilterIndex_ |
size_t | lastL3TauFilterIndex_ |
const unsigned int | pathIndex_ |
const std::string | pathName_ |
Definition at line 22 of file HLTTauDQMPath.h.
typedef std::tuple<std::string, size_t> HLTTauDQMPath::FilterIndex |
Definition at line 26 of file HLTTauDQMPath.h.
Definition at line 24 of file HLTTauDQMPath.h.
typedef std::vector<LV> HLTTauDQMPath::LVColl |
Definition at line 25 of file HLTTauDQMPath.h.
HLTTauDQMPath::HLTTauDQMPath | ( | const std::string & | pathName, |
const std::string & | hltProcess, | ||
bool | doRefAnalysis, | ||
const HLTConfigProvider & | HLTCP | ||
) |
Definition at line 244 of file HLTTauDQMPath.cc.
References doRefAnalysis_, filterElectronN_, filterIndices_, filterMuonN_, filtersSize(), filterTauN_, getFilterIndex(), getFilterNElectrons(), getFilterNMuons(), getFilterNTaus(), EcalActivitySkim_cff::HLTPath, i, isFirstL1Seed_, isValid_, kInvalidIndex, lastFilterBeforeL2TauIndex_, lastFilterBeforeL3TauIndex_, lastL2TauFilterIndex_, lastL3TauFilterIndex_, LogDebug, HLTConfigProvider::moduleType(), pathName_, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
HLTTauDQMPath::~HLTTauDQMPath | ( | ) |
Definition at line 337 of file HLTTauDQMPath.cc.
|
inline |
Definition at line 51 of file HLTTauDQMPath.h.
References filterIndices_.
Referenced by HLTTauDQMPathSummaryPlotter::analyze(), HLTTauDQMPathPlotter::bookHistograms(), and HLTTauDQMPath().
bool HLTTauDQMPath::fired | ( | const edm::TriggerResults & | triggerResults | ) | const |
Definition at line 340 of file HLTTauDQMPath.cc.
References edm::HLTGlobalStatus::accept(), and pathIndex_.
Referenced by HLTTauDQMPathSummaryPlotter::analyze(), HLTTauDQMPathPlotter::analyze(), and lastPassedFilter().
|
inline |
Definition at line 68 of file HLTTauDQMPath.h.
References filterIndices_, and i.
Referenced by HLTTauDQMPath().
|
inline |
Definition at line 52 of file HLTTauDQMPath.h.
References filterIndices_, and i.
Referenced by HLTTauDQMPathPlotter::bookHistograms(), and getFilterObjects().
|
inline |
Definition at line 54 of file HLTTauDQMPath.h.
References filterElectronN_, and i.
Referenced by HLTTauDQMPathPlotter::analyze(), HLTTauDQMPathPlotter::bookHistograms(), goodOfflineEvent(), and HLTTauDQMPath().
|
inline |
Definition at line 55 of file HLTTauDQMPath.h.
References filterMuonN_, and i.
Referenced by HLTTauDQMPathPlotter::analyze(), HLTTauDQMPathPlotter::bookHistograms(), goodOfflineEvent(), and HLTTauDQMPath().
|
inline |
Definition at line 53 of file HLTTauDQMPath.h.
References filterTauN_, and i.
Referenced by HLTTauDQMPathPlotter::analyze(), HLTTauDQMPathPlotter::bookHistograms(), goodOfflineEvent(), and HLTTauDQMPath().
void HLTTauDQMPath::getFilterObjects | ( | const trigger::TriggerEvent & | triggerEvent, |
size_t | i, | ||
std::vector< Object > & | retval | ||
) | const |
Definition at line 364 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 62 of file HLTTauDQMPath.h.
References lastFilterBeforeL2TauIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 64 of file HLTTauDQMPath.h.
References lastFilterBeforeL3TauIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 58 of file HLTTauDQMPath.h.
References filterIndices_.
|
inline |
Definition at line 63 of file HLTTauDQMPath.h.
References lastL2TauFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 65 of file HLTTauDQMPath.h.
References lastL3TauFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
|
inline |
Definition at line 48 of file HLTTauDQMPath.h.
References pathName_.
Referenced by HLTTauDQMPathPlotter::bookHistograms().
bool HLTTauDQMPath::goodOfflineEvent | ( | size_t | i, |
const HLTTauDQMOfflineObjects & | offlineObjects | ||
) | const |
Definition at line 441 of file HLTTauDQMPath.cc.
References HLTTauDQMOfflineObjects::electrons, getFilterNElectrons(), getFilterNMuons(), getFilterNTaus(), HLTTauDQMOfflineObjects::muons, and HLTTauDQMOfflineObjects::taus.
Referenced by HLTTauDQMPathSummaryPlotter::analyze().
|
inline |
Definition at line 60 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL2TauFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 61 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL3TauFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 57 of file HLTTauDQMPath.h.
References isFirstL1Seed_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 40 of file HLTTauDQMPath.h.
References isValid_.
Referenced by HLTTauDQMPathPlotter::HLTTauDQMPathPlotter(), and core.AutoHandle.AutoHandle::ReallyLoad().
int HLTTauDQMPath::lastPassedFilter | ( | const edm::TriggerResults & | triggerResults | ) | const |
Definition at line 344 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 379 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, trigger::TriggerPhoton, and trigger::TriggerTau.
Referenced by HLTTauDQMPathSummaryPlotter::analyze(), and HLTTauDQMPathPlotter::analyze().
|
private |
Definition at line 80 of file HLTTauDQMPath.h.
Referenced by HLTTauDQMPath().
|
private |
Definition at line 84 of file HLTTauDQMPath.h.
Referenced by getFilterNElectrons(), HLTTauDQMPath(), and offlineMatching().
|
private |
Definition at line 82 of file HLTTauDQMPath.h.
Referenced by filtersSize(), getFilterIndex(), getFilterName(), getLastFilterName(), HLTTauDQMPath(), and lastPassedFilter().
|
private |
Definition at line 85 of file HLTTauDQMPath.h.
Referenced by getFilterNMuons(), HLTTauDQMPath(), and offlineMatching().
|
private |
Definition at line 83 of file HLTTauDQMPath.h.
Referenced by getFilterNTaus(), HLTTauDQMPath(), and offlineMatching().
|
private |
Definition at line 79 of file HLTTauDQMPath.h.
Referenced by getFilterObjects().
|
private |
Definition at line 92 of file HLTTauDQMPath.h.
Referenced by HLTTauDQMPath(), isFirstFilterL1Seed(), and offlineMatching().
|
private |
Definition at line 93 of file HLTTauDQMPath.h.
Referenced by HLTTauDQMPath(), and isValid().
Definition at line 30 of file HLTTauDQMPath.h.
Referenced by hasL2Taus(), hasL3Taus(), and HLTTauDQMPath().
|
static |
Definition at line 29 of file HLTTauDQMPath.h.
|
static |
Definition at line 28 of file HLTTauDQMPath.h.
|
private |
Definition at line 88 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL2TauIndex(), and HLTTauDQMPath().
|
private |
Definition at line 90 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL3TauIndex(), and HLTTauDQMPath().
|
private |
Definition at line 89 of file HLTTauDQMPath.h.
Referenced by getLastL2TauFilterIndex(), hasL2Taus(), and HLTTauDQMPath().
|
private |
Definition at line 91 of file HLTTauDQMPath.h.
Referenced by getLastL3TauFilterIndex(), hasL3Taus(), and HLTTauDQMPath().
|
private |
Definition at line 87 of file HLTTauDQMPath.h.
Referenced by fired(), getPathIndex(), and lastPassedFilter().
|
private |
Definition at line 86 of file HLTTauDQMPath.h.
Referenced by getPathName(), and HLTTauDQMPath().