Functions | |
template<typename ObjType > | |
std::function< float(const ObjType &)> | getUnaryFuncExtraFloat (const std::string &varName) |
template<> | |
std::function< float(const reco::GsfElectron &)> | getUnaryFuncExtraFloat< reco::GsfElectron > (const std::string &varName) |
template<> | |
std::function< float(const reco::Photon &)> | getUnaryFuncExtraFloat< reco::Photon > (const std::string &varName) |
template<typename ObjType > | |
std::function< float(const ObjType &)> | getUnaryFuncFloat (const std::string &varName) |
bool | passTrig (const float objEta, float objPhi, const trigger::TriggerEvent &trigEvt, const std::string &filterName, const std::string &processName) |
bool | passTrig (const float objEta, float objPhi, const trigger::TriggerEvent &trigEvt, const std::vector< std::string > &filterNames, bool orFilters, const std::string &processName) |
bool | passTrig (const std::string &trigPattern, const edm::TriggerNames &trigNames, const edm::TriggerResults &trigResults) |
template<typename ObjType > | |
float | scEtaFunc (const ObjType &obj) |
std::function<float(const ObjType&)> hltdqm::getUnaryFuncExtraFloat | ( | const std::string & | varName | ) |
Definition at line 44 of file FunctionDefs.h.
std::function<float(const reco::GsfElectron&)> hltdqm::getUnaryFuncExtraFloat< reco::GsfElectron > | ( | const std::string & | varName | ) |
std::function<float(const reco::Photon&)> hltdqm::getUnaryFuncExtraFloat< reco::Photon > | ( | const std::string & | varName | ) |
Definition at line 74 of file FunctionDefs.h.
References reco::Photon::hadTowOverEm().
std::function<float(const ObjType&)> hltdqm::getUnaryFuncFloat | ( | const std::string & | varName | ) |
Definition at line 51 of file FunctionDefs.h.
References stringResolutionProvider_cfi::et, PVValHelper::eta, Exception, PVValHelper::phi, and EnergyCorrector::pt.
bool hltdqm::passTrig | ( | const float | objEta, |
float | objPhi, | ||
const trigger::TriggerEvent & | trigEvt, | ||
const std::string & | filterName, | ||
const std::string & | processName | ||
) |
Definition at line 14 of file UtilFuncs.h.
References constexpr, reco::deltaR2(), trigger::TriggerObject::eta(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::getObjects(), trigger::TriggerObject::phi(), and trigger::TriggerEvent::sizeFilters().
Referenced by L1Muon2RecoTreeProducer::analyze(), HLTDQMFilterEffHists< ObjType >::fillHists(), HLTDQMFilterTnPEffHists< TagType, ProbeType >::fillHists(), HLTDQMTagAndProbeEff< TagType, TagCollType, ProbeType, ProbeCollType >::getPassingRefs(), WPlusJetsEventSelector::operator()(), and passTrig().
bool hltdqm::passTrig | ( | const float | objEta, |
float | objPhi, | ||
const trigger::TriggerEvent & | trigEvt, | ||
const std::vector< std::string > & | filterNames, | ||
bool | orFilters, | ||
const std::string & | processName | ||
) |
Definition at line 32 of file UtilFuncs.h.
References diMuonOutputModule_cfi::filterName, and passTrig().
bool hltdqm::passTrig | ( | const std::string & | trigPattern, |
const edm::TriggerNames & | trigNames, | ||
const edm::TriggerResults & | trigResults | ||
) |
Definition at line 51 of file UtilFuncs.h.
References edm::HLTGlobalStatus::accept(), edm::is_glob(), patRefSel_triggerMatching_cfi::matches, dataset::name, edm::regexMatch(), edm::HLTGlobalStatus::size(), edm::TriggerNames::triggerIndex(), and edm::TriggerNames::triggerNames().
float hltdqm::scEtaFunc | ( | const ObjType & | obj | ) |
Definition at line 39 of file FunctionDefs.h.