#include <HLTTauDQMPath.h>
Classes | |
struct | Object |
Public Types | |
typedef std::tuple < std::string, 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 |
int | getFilterLevel (size_t i) const |
int | getFilterMET (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 |
const std::string & | getFilterType (size_t i) const |
size_t | getFirstFilterBeforeL2CaloMETIndex () const |
size_t | getFirstL2CaloMETFilterIndex () const |
size_t | getLastFilterBeforeL2CaloMETIndex () const |
size_t | getLastFilterBeforeL2ElectronIndex () const |
size_t | getLastFilterBeforeL2MuonIndex () const |
size_t | getLastFilterBeforeL2TauIndex () const |
size_t | getLastFilterBeforeL3ElectronIndex () const |
size_t | getLastFilterBeforeL3MuonIndex () const |
size_t | getLastFilterBeforeL3TauIndex () const |
const std::string & | getLastFilterName () const |
size_t | getLastL2CaloMETFilterIndex () const |
size_t | getLastL2ElectronFilterIndex () const |
size_t | getLastL2MuonFilterIndex () const |
size_t | getLastL2TauFilterIndex () const |
size_t | getLastL3ElectronFilterIndex () const |
size_t | getLastL3MuonFilterIndex () 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 | hasL2CaloMET () const |
bool | hasL2Electrons () const |
bool | hasL2Muons () const |
bool | hasL2Taus () const |
bool | hasL3Electrons () const |
bool | hasL3Muons () 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 = 2 |
static constexpr size_t | kName = 0 |
static constexpr size_t | kType = 1 |
Private Attributes | |
const bool | doRefAnalysis_ |
std::vector< int > | filterElectronN_ |
std::vector< FilterIndex > | filterIndices_ |
std::vector< int > | filterLevel_ |
std::vector< int > | filterMET_ |
std::vector< int > | filterMuonN_ |
std::vector< int > | filterTauN_ |
size_t | firstFilterBeforeL2METIndex_ |
size_t | firstL2METFilterIndex_ |
const std::string | hltProcess_ |
bool | isFirstL1Seed_ |
bool | isValid_ |
size_t | lastFilterBeforeL2ElectronIndex_ |
size_t | lastFilterBeforeL2METIndex_ |
size_t | lastFilterBeforeL2MuonIndex_ |
size_t | lastFilterBeforeL2TauIndex_ |
size_t | lastFilterBeforeL3ElectronIndex_ |
size_t | lastFilterBeforeL3MuonIndex_ |
size_t | lastFilterBeforeL3TauIndex_ |
size_t | lastL2ElectronFilterIndex_ |
size_t | lastL2METFilterIndex_ |
size_t | lastL2MuonFilterIndex_ |
size_t | lastL2TauFilterIndex_ |
size_t | lastL3ElectronFilterIndex_ |
size_t | lastL3MuonFilterIndex_ |
size_t | lastL3TauFilterIndex_ |
const unsigned int | pathIndex_ |
const std::string | pathName_ |
Definition at line 22 of file HLTTauDQMPath.h.
typedef std::tuple<std::string, 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 351 of file HLTTauDQMPath.cc.
References doRefAnalysis_, filterElectronN_, filterIndices_, filterLevel_, filterMET_, filterMuonN_, filtersSize(), filterTauN_, firstFilterBeforeL2METIndex_, firstL2METFilterIndex_, getFilterLevel(), getFilterMET(), getFilterNElectrons(), getFilterNMuons(), getFilterNTaus(), WZElectronSkims53X_cff::HLTPath, i, isFirstL1Seed_, isValid_, kInvalidIndex, lastFilterBeforeL2ElectronIndex_, lastFilterBeforeL2METIndex_, lastFilterBeforeL2MuonIndex_, lastFilterBeforeL2TauIndex_, lastFilterBeforeL3ElectronIndex_, lastFilterBeforeL3MuonIndex_, lastFilterBeforeL3TauIndex_, lastL2ElectronFilterIndex_, lastL2METFilterIndex_, lastL2MuonFilterIndex_, lastL2TauFilterIndex_, lastL3ElectronFilterIndex_, lastL3MuonFilterIndex_, lastL3TauFilterIndex_, LogDebug, HLTConfigProvider::moduleType(), pathName_, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
HLTTauDQMPath::~HLTTauDQMPath | ( | ) |
Definition at line 534 of file HLTTauDQMPath.cc.
|
inline |
Definition at line 52 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 537 of file HLTTauDQMPath.cc.
References edm::HLTGlobalStatus::accept(), and pathIndex_.
Referenced by HLTTauDQMPathSummaryPlotter::analyze(), HLTTauDQMPathPlotter::analyze(), and lastPassedFilter().
|
inline |
Definition at line 92 of file HLTTauDQMPath.h.
References filterIndices_, and i.
|
inline |
Definition at line 59 of file HLTTauDQMPath.h.
References filterLevel_.
Referenced by HLTTauDQMPath().
|
inline |
Definition at line 58 of file HLTTauDQMPath.h.
References filterMET_.
Referenced by HLTTauDQMPathPlotter::analyze(), HLTTauDQMPathPlotter::bookHistograms(), and HLTTauDQMPath().
|
inline |
Definition at line 53 of file HLTTauDQMPath.h.
References filterIndices_, and i.
Referenced by HLTTauDQMPathPlotter::analyze(), HLTTauDQMPathPlotter::bookHistograms(), and getFilterObjects().
|
inline |
Definition at line 56 of file HLTTauDQMPath.h.
References filterElectronN_.
Referenced by HLTTauDQMPathPlotter::analyze(), HLTTauDQMPathPlotter::bookHistograms(), goodOfflineEvent(), and HLTTauDQMPath().
|
inline |
Definition at line 57 of file HLTTauDQMPath.h.
References filterMuonN_.
Referenced by HLTTauDQMPathPlotter::analyze(), HLTTauDQMPathPlotter::bookHistograms(), goodOfflineEvent(), and HLTTauDQMPath().
|
inline |
Definition at line 55 of file HLTTauDQMPath.h.
References filterTauN_.
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 562 of file HLTTauDQMPath.cc.
References trigger::TriggerEvent::filterIds(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), getFilterName(), trigger::TriggerEvent::getObjects(), hltProcess_, i, relativeConstraints::keys, and trigger::TriggerEvent::sizeFilters().
Referenced by HLTTauDQMPathSummaryPlotter::analyze(), and HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 54 of file HLTTauDQMPath.h.
References filterIndices_, and i.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 88 of file HLTTauDQMPath.h.
References firstFilterBeforeL2METIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
|
inline |
Definition at line 86 of file HLTTauDQMPath.h.
References lastFilterBeforeL2METIndex_.
|
inline |
Definition at line 76 of file HLTTauDQMPath.h.
References lastFilterBeforeL2ElectronIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 81 of file HLTTauDQMPath.h.
References lastFilterBeforeL2MuonIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 71 of file HLTTauDQMPath.h.
References lastFilterBeforeL2TauIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 78 of file HLTTauDQMPath.h.
References lastFilterBeforeL3ElectronIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 83 of file HLTTauDQMPath.h.
References lastFilterBeforeL3MuonIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 73 of file HLTTauDQMPath.h.
References lastFilterBeforeL3TauIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 62 of file HLTTauDQMPath.h.
References filterIndices_.
|
inline |
Definition at line 87 of file HLTTauDQMPath.h.
References lastL2METFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 77 of file HLTTauDQMPath.h.
References lastL2ElectronFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 82 of file HLTTauDQMPath.h.
References lastL2MuonFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 72 of file HLTTauDQMPath.h.
References lastL2TauFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 79 of file HLTTauDQMPath.h.
References lastL3ElectronFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 84 of file HLTTauDQMPath.h.
References lastL3MuonFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 74 of file HLTTauDQMPath.h.
References lastL3TauFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
|
inline |
Definition at line 49 of file HLTTauDQMPath.h.
References pathName_.
Referenced by HLTTauDQMPathPlotter::bookHistograms().
bool HLTTauDQMPath::goodOfflineEvent | ( | size_t | i, |
const HLTTauDQMOfflineObjects & | offlineObjects | ||
) | const |
Definition at line 653 of file HLTTauDQMPath.cc.
References HLTTauDQMOfflineObjects::electrons, getFilterNElectrons(), getFilterNMuons(), getFilterNTaus(), HLTTauDQMOfflineObjects::muons, and HLTTauDQMOfflineObjects::taus.
Referenced by HLTTauDQMPathSummaryPlotter::analyze().
|
inline |
Definition at line 70 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL2METFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 66 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL2ElectronFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 68 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL2MuonFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 64 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL2TauFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 67 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL3ElectronFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 69 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL3MuonFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 65 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL3TauFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 61 of file HLTTauDQMPath.h.
References isFirstL1Seed_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 41 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 541 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 575 of file HLTTauDQMPath.cc.
References a, b, HLTTauDQMOfflineObjects::electrons, lumiContext::fill, filterElectronN_, filterMET_, filterMuonN_, filterTauN_, isFirstL1Seed_, HLTTauDQMOfflineObjects::met, HLTTauDQMOfflineObjects::muons, HLTTauDQMOfflineObjects::taus, trigger::TriggerElectron, trigger::TriggerL1EG, trigger::TriggerL1ETM, trigger::TriggerL1Mu, trigger::TriggerL1Tau, trigger::TriggerMET, trigger::TriggerMuon, trigger::TriggerPhoton, and trigger::TriggerTau.
Referenced by HLTTauDQMPathSummaryPlotter::analyze(), and HLTTauDQMPathPlotter::analyze().
|
private |
Definition at line 104 of file HLTTauDQMPath.h.
Referenced by HLTTauDQMPath().
|
private |
Definition at line 108 of file HLTTauDQMPath.h.
Referenced by getFilterNElectrons(), HLTTauDQMPath(), and offlineMatching().
|
private |
Definition at line 106 of file HLTTauDQMPath.h.
Referenced by filtersSize(), getFilterIndex(), getFilterName(), getFilterType(), getLastFilterName(), HLTTauDQMPath(), and lastPassedFilter().
|
private |
Definition at line 111 of file HLTTauDQMPath.h.
Referenced by getFilterLevel(), and HLTTauDQMPath().
|
private |
Definition at line 110 of file HLTTauDQMPath.h.
Referenced by getFilterMET(), HLTTauDQMPath(), and offlineMatching().
|
private |
Definition at line 109 of file HLTTauDQMPath.h.
Referenced by getFilterNMuons(), HLTTauDQMPath(), and offlineMatching().
|
private |
Definition at line 107 of file HLTTauDQMPath.h.
Referenced by getFilterNTaus(), HLTTauDQMPath(), and offlineMatching().
|
private |
Definition at line 128 of file HLTTauDQMPath.h.
Referenced by getFirstFilterBeforeL2CaloMETIndex(), and HLTTauDQMPath().
|
private |
Definition at line 129 of file HLTTauDQMPath.h.
Referenced by getFirstL2CaloMETFilterIndex(), and HLTTauDQMPath().
|
private |
Definition at line 103 of file HLTTauDQMPath.h.
Referenced by getFilterObjects().
|
private |
Definition at line 130 of file HLTTauDQMPath.h.
Referenced by HLTTauDQMPath(), isFirstFilterL1Seed(), and offlineMatching().
|
private |
Definition at line 131 of file HLTTauDQMPath.h.
Referenced by HLTTauDQMPath(), and isValid().
Definition at line 31 of file HLTTauDQMPath.h.
Referenced by hasL2CaloMET(), hasL2Electrons(), hasL2Muons(), hasL2Taus(), hasL3Electrons(), hasL3Muons(), hasL3Taus(), and HLTTauDQMPath().
|
static |
Definition at line 30 of file HLTTauDQMPath.h.
|
static |
Definition at line 28 of file HLTTauDQMPath.h.
|
static |
Definition at line 29 of file HLTTauDQMPath.h.
|
private |
Definition at line 118 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL2ElectronIndex(), and HLTTauDQMPath().
|
private |
Definition at line 126 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL2CaloMETIndex(), and HLTTauDQMPath().
|
private |
Definition at line 122 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL2MuonIndex(), and HLTTauDQMPath().
|
private |
Definition at line 114 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL2TauIndex(), and HLTTauDQMPath().
|
private |
Definition at line 120 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL3ElectronIndex(), and HLTTauDQMPath().
|
private |
Definition at line 124 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL3MuonIndex(), and HLTTauDQMPath().
|
private |
Definition at line 116 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL3TauIndex(), and HLTTauDQMPath().
|
private |
Definition at line 119 of file HLTTauDQMPath.h.
Referenced by getLastL2ElectronFilterIndex(), hasL2Electrons(), and HLTTauDQMPath().
|
private |
Definition at line 127 of file HLTTauDQMPath.h.
Referenced by getLastL2CaloMETFilterIndex(), hasL2CaloMET(), and HLTTauDQMPath().
|
private |
Definition at line 123 of file HLTTauDQMPath.h.
Referenced by getLastL2MuonFilterIndex(), hasL2Muons(), and HLTTauDQMPath().
|
private |
Definition at line 115 of file HLTTauDQMPath.h.
Referenced by getLastL2TauFilterIndex(), hasL2Taus(), and HLTTauDQMPath().
|
private |
Definition at line 121 of file HLTTauDQMPath.h.
Referenced by getLastL3ElectronFilterIndex(), hasL3Electrons(), and HLTTauDQMPath().
|
private |
Definition at line 125 of file HLTTauDQMPath.h.
Referenced by getLastL3MuonFilterIndex(), hasL3Muons(), and HLTTauDQMPath().
|
private |
Definition at line 117 of file HLTTauDQMPath.h.
Referenced by getLastL3TauFilterIndex(), hasL3Taus(), and HLTTauDQMPath().
|
private |
Definition at line 113 of file HLTTauDQMPath.h.
Referenced by fired(), getPathIndex(), and lastPassedFilter().
|
private |
Definition at line 112 of file HLTTauDQMPath.h.
Referenced by getPathName(), and HLTTauDQMPath().