#include <HLTTauDQMPath.h>
Classes | |
struct | Object |
Public Types | |
typedef std::tuple< std::string, std::string, size_t > | FilterIndex |
using | LV = math::XYZTLorentzVectorD |
using | LVColl = std::vector< LV > |
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 (std::string pathName, 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.
using HLTTauDQMPath::LVColl = std::vector<LV> |
Definition at line 25 of file HLTTauDQMPath.h.
HLTTauDQMPath::HLTTauDQMPath | ( | std::string | pathName, |
std::string | hltProcess, | ||
bool | doRefAnalysis, | ||
const HLTConfigProvider & | HLTCP | ||
) |
Definition at line 353 of file HLTTauDQMPath.cc.
References doRefAnalysis_, filterElectronN_, filterIndices_, filterLevel_, filterMET_, filterMuonN_, pdwgDoubleElectron_cfi::filterName, filtersSize(), filterTauN_, firstFilterBeforeL2METIndex_, firstL2METFilterIndex_, getFilterLevel(), getFilterMET(), getFilterNElectrons(), getFilterNMuons(), getFilterNTaus(), pwdgSkimBPark_cfi::HLTPath, mps_fire::i, isFirstL1Seed_, isValid_, kInvalidIndex, lastFilterBeforeL2ElectronIndex_, lastFilterBeforeL2METIndex_, lastFilterBeforeL2MuonIndex_, lastFilterBeforeL2TauIndex_, lastFilterBeforeL3ElectronIndex_, lastFilterBeforeL3MuonIndex_, lastFilterBeforeL3TauIndex_, lastL2ElectronFilterIndex_, lastL2METFilterIndex_, lastL2MuonFilterIndex_, lastL2TauFilterIndex_, lastL3ElectronFilterIndex_, lastL3MuonFilterIndex_, lastL3TauFilterIndex_, LogDebug, HLTConfigProvider::moduleType(), dqmiodumpmetadata::n, pathName_, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
|
default |
|
inline |
Definition at line 52 of file HLTTauDQMPath.h.
References filterIndices_.
Referenced by HLTTauDQMPathPlotter::bookHistograms(), and HLTTauDQMPath().
bool HLTTauDQMPath::fired | ( | const edm::TriggerResults & | triggerResults | ) | const |
Definition at line 546 of file HLTTauDQMPath.cc.
References pathIndex_, and triggerResults.
Referenced by HLTTauDQMPathPlotter::analyze(), and lastPassedFilter().
|
inline |
Definition at line 117 of file HLTTauDQMPath.h.
References filterIndices_, and mps_fire::i.
|
inline |
Definition at line 79 of file HLTTauDQMPath.h.
References filterLevel_, and mps_fire::i.
Referenced by HLTTauDQMPath().
|
inline |
Definition at line 73 of file HLTTauDQMPath.h.
References filterMET_, and mps_fire::i.
Referenced by HLTTauDQMPathPlotter::analyze(), HLTTauDQMPathPlotter::bookHistograms(), and HLTTauDQMPath().
|
inline |
Definition at line 53 of file HLTTauDQMPath.h.
References filterIndices_, and mps_fire::i.
Referenced by HLTTauDQMPathPlotter::analyze(), HLTTauDQMPathPlotter::bookHistograms(), and getFilterObjects().
|
inline |
Definition at line 61 of file HLTTauDQMPath.h.
References filterElectronN_, and mps_fire::i.
Referenced by HLTTauDQMPathPlotter::analyze(), HLTTauDQMPathPlotter::bookHistograms(), goodOfflineEvent(), and HLTTauDQMPath().
|
inline |
Definition at line 67 of file HLTTauDQMPath.h.
References filterMuonN_, and mps_fire::i.
Referenced by HLTTauDQMPathPlotter::analyze(), HLTTauDQMPathPlotter::bookHistograms(), goodOfflineEvent(), and HLTTauDQMPath().
|
inline |
Definition at line 55 of file HLTTauDQMPath.h.
References filterTauN_, and mps_fire::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 567 of file HLTTauDQMPath.cc.
References getFilterName(), hltProcess_, mps_fire::i, relativeConstraints::keys, resolutioncreator_cfi::object, PDWG_DiPhoton_SD_cff::triggerEvent, and triggerMatchMonitor_cfi::triggerObjects.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 54 of file HLTTauDQMPath.h.
References filterIndices_, and mps_fire::i.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 113 of file HLTTauDQMPath.h.
References firstFilterBeforeL2METIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
|
inline |
Definition at line 111 of file HLTTauDQMPath.h.
References lastFilterBeforeL2METIndex_.
|
inline |
Definition at line 101 of file HLTTauDQMPath.h.
References lastFilterBeforeL2ElectronIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 106 of file HLTTauDQMPath.h.
References lastFilterBeforeL2MuonIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 96 of file HLTTauDQMPath.h.
References lastFilterBeforeL2TauIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 103 of file HLTTauDQMPath.h.
References lastFilterBeforeL3ElectronIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 108 of file HLTTauDQMPath.h.
References lastFilterBeforeL3MuonIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 98 of file HLTTauDQMPath.h.
References lastFilterBeforeL3TauIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 87 of file HLTTauDQMPath.h.
References filterIndices_.
|
inline |
Definition at line 112 of file HLTTauDQMPath.h.
References lastL2METFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 102 of file HLTTauDQMPath.h.
References lastL2ElectronFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 107 of file HLTTauDQMPath.h.
References lastL2MuonFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 97 of file HLTTauDQMPath.h.
References lastL2TauFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 104 of file HLTTauDQMPath.h.
References lastL3ElectronFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 109 of file HLTTauDQMPath.h.
References lastL3MuonFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 99 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 670 of file HLTTauDQMPath.cc.
References HLTTauDQMOfflineObjects::electrons, getFilterNElectrons(), getFilterNMuons(), getFilterNTaus(), mps_fire::i, HLTTauDQMOfflineObjects::muons, and HLTTauDQMOfflineObjects::taus.
|
inline |
Definition at line 95 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL2METFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 91 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL2ElectronFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 93 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL2MuonFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 89 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL2TauFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 92 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL3ElectronFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 94 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL3MuonFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 90 of file HLTTauDQMPath.h.
References kInvalidIndex, and lastL3TauFilterIndex_.
Referenced by HLTTauDQMPathPlotter::analyze(), and HLTTauDQMPathPlotter::bookHistograms().
|
inline |
Definition at line 86 of file HLTTauDQMPath.h.
References isFirstL1Seed_.
Referenced by HLTTauDQMPathPlotter::analyze().
|
inline |
Definition at line 41 of file HLTTauDQMPath.h.
References isValid_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), HLTTauDQMPathPlotter::HLTTauDQMPathPlotter(), and core.AutoHandle.AutoHandle::ReallyLoad().
int HLTTauDQMPath::lastPassedFilter | ( | const edm::TriggerResults & | triggerResults | ) | const |
Definition at line 548 of file HLTTauDQMPath.cc.
References filterIndices_, fired(), mps_fire::i, pathIndex_, and triggerResults.
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 582 of file HLTTauDQMPath.cc.
References a, b, HGC3DClusterGenMatchSelector_cfi::dR, HLTTauDQMOfflineObjects::electrons, ntuplemaker::fill, filterElectronN_, filterMET_, filterMuonN_, filterTauN_, mps_fire::i, isFirstL1Seed_, HLTTauDQMOfflineObjects::met, HLTTauDQMOfflineObjects::muons, jetUpdater_cfi::sort, HLTTauDQMOfflineObjects::taus, trigger::TriggerElectron, trigger::TriggerL1EG, trigger::TriggerL1ETM, trigger::TriggerL1ETMHF, trigger::TriggerL1Mu, trigger::TriggerL1Tau, trigger::TriggerMET, trigger::TriggerMuon, triggerMatchMonitor_cfi::triggerObjects, trigger::TriggerPhoton, and trigger::TriggerTau.
Referenced by HLTTauDQMPathPlotter::analyze().
|
private |
Definition at line 134 of file HLTTauDQMPath.h.
Referenced by HLTTauDQMPath().
|
private |
Definition at line 138 of file HLTTauDQMPath.h.
Referenced by getFilterNElectrons(), HLTTauDQMPath(), and offlineMatching().
|
private |
Definition at line 136 of file HLTTauDQMPath.h.
Referenced by filtersSize(), getFilterIndex(), getFilterName(), getFilterType(), getLastFilterName(), HLTTauDQMPath(), and lastPassedFilter().
|
private |
Definition at line 141 of file HLTTauDQMPath.h.
Referenced by getFilterLevel(), and HLTTauDQMPath().
|
private |
Definition at line 140 of file HLTTauDQMPath.h.
Referenced by getFilterMET(), HLTTauDQMPath(), and offlineMatching().
|
private |
Definition at line 139 of file HLTTauDQMPath.h.
Referenced by getFilterNMuons(), HLTTauDQMPath(), and offlineMatching().
|
private |
Definition at line 137 of file HLTTauDQMPath.h.
Referenced by getFilterNTaus(), HLTTauDQMPath(), and offlineMatching().
|
private |
Definition at line 158 of file HLTTauDQMPath.h.
Referenced by getFirstFilterBeforeL2CaloMETIndex(), and HLTTauDQMPath().
|
private |
Definition at line 159 of file HLTTauDQMPath.h.
Referenced by getFirstL2CaloMETFilterIndex(), and HLTTauDQMPath().
|
private |
Definition at line 133 of file HLTTauDQMPath.h.
Referenced by getFilterObjects().
|
private |
Definition at line 160 of file HLTTauDQMPath.h.
Referenced by HLTTauDQMPath(), isFirstFilterL1Seed(), and offlineMatching().
|
private |
Definition at line 161 of file HLTTauDQMPath.h.
Referenced by HLTTauDQMPath(), and isValid().
|
static |
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 148 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL2ElectronIndex(), and HLTTauDQMPath().
|
private |
Definition at line 156 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL2CaloMETIndex(), and HLTTauDQMPath().
|
private |
Definition at line 152 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL2MuonIndex(), and HLTTauDQMPath().
|
private |
Definition at line 144 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL2TauIndex(), and HLTTauDQMPath().
|
private |
Definition at line 150 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL3ElectronIndex(), and HLTTauDQMPath().
|
private |
Definition at line 154 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL3MuonIndex(), and HLTTauDQMPath().
|
private |
Definition at line 146 of file HLTTauDQMPath.h.
Referenced by getLastFilterBeforeL3TauIndex(), and HLTTauDQMPath().
|
private |
Definition at line 149 of file HLTTauDQMPath.h.
Referenced by getLastL2ElectronFilterIndex(), hasL2Electrons(), and HLTTauDQMPath().
|
private |
Definition at line 157 of file HLTTauDQMPath.h.
Referenced by getLastL2CaloMETFilterIndex(), hasL2CaloMET(), and HLTTauDQMPath().
|
private |
Definition at line 153 of file HLTTauDQMPath.h.
Referenced by getLastL2MuonFilterIndex(), hasL2Muons(), and HLTTauDQMPath().
|
private |
Definition at line 145 of file HLTTauDQMPath.h.
Referenced by getLastL2TauFilterIndex(), hasL2Taus(), and HLTTauDQMPath().
|
private |
Definition at line 151 of file HLTTauDQMPath.h.
Referenced by getLastL3ElectronFilterIndex(), hasL3Electrons(), and HLTTauDQMPath().
|
private |
Definition at line 155 of file HLTTauDQMPath.h.
Referenced by getLastL3MuonFilterIndex(), hasL3Muons(), and HLTTauDQMPath().
|
private |
Definition at line 147 of file HLTTauDQMPath.h.
Referenced by getLastL3TauFilterIndex(), hasL3Taus(), and HLTTauDQMPath().
|
private |
Definition at line 143 of file HLTTauDQMPath.h.
Referenced by fired(), getPathIndex(), and lastPassedFilter().
|
private |
Definition at line 142 of file HLTTauDQMPath.h.
Referenced by getPathName(), and HLTTauDQMPath().