#include <HLTBTagHarvestingAnalyzer.h>
Private Types | |
typedef unsigned int | flavour_t |
typedef std::vector< flavour_t > | flavours_t |
enum | HCALSpecials { HEP17, HEP18, HEM17 } |
Private Attributes | |
std::map< std::string, MonitorElement * > | H1_ |
std::map< HLTBTagHarvestingAnalyzer::HCALSpecials, std::string > | HCALSpecialsNames |
std::vector< std::string > | hltPathNames_ |
std::vector< std::string > | m_histoName |
std::vector< flavours_t > | m_mcFlavours |
std::vector< std::string > | m_mcLabels |
bool | m_mcMatching |
double | m_minTag |
std::string | mainFolder_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Protected Attributes inherited from DQMEDHarvester | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Code used to produce DQM validation plots for b-tag at HLT. This class read the plots producted by HLTBTagPerformanceAnalyzer and make plots of: b-tag efficiency vs discr, b-tag efficiency vs jet pt, b-tag efficiency vs mistag rate
Definition at line 27 of file HLTBTagHarvestingAnalyzer.h.
|
private |
Definition at line 49 of file HLTBTagHarvestingAnalyzer.h.
|
private |
Definition at line 50 of file HLTBTagHarvestingAnalyzer.h.
|
private |
Enumerator | |
---|---|
HEP17 | |
HEP18 | |
HEM17 |
Definition at line 60 of file HLTBTagHarvestingAnalyzer.h.
|
explicit |
Definition at line 3 of file HLTBTagHarvestingAnalyzer.cc.
References edm::ParameterSet::getParameter(), HCALSpecialsNames, HEM17, HEP17, HEP18, hltPathNames_, m_histoName, m_mcLabels, m_minTag, mainFolder_, CaloTowersParam_cfi::mc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 17 of file HLTBTagHarvestingAnalyzer.cc.
TH1F HLTBTagHarvestingAnalyzer::calculateEfficiency1D | ( | DQMStore::IBooker & | ibooker, |
DQMStore::IGetter & | igetter, | ||
TH1 & | num, | ||
TH1 & | den, | ||
std::string | name | ||
) |
Definition at line 340 of file HLTBTagHarvestingAnalyzer.cc.
References DQMStore::IBooker::book1D(), edmIntegrityCheck::d, DEFINE_FWK_MODULE, MillePedeFileConverter_cfg::e, mps_fire::i, SiStripPI::max, gen::n, and MonitorElement::setEfficiencyFlag().
Referenced by dqmEndJob().
|
overridevirtual |
save efficiency_vs_disc_HEP17 / efficiency_vs_disc_HEM17 plots
for mc labels
save mistagrate vs b-eff plots
save mistagrate vs b-eff plots for modules (HEP17 etc.)
save mistagrate_HEP17 / mistagrate_HEM17 plots
for triggers
Implements DQMEDHarvester.
Definition at line 21 of file HLTBTagHarvestingAnalyzer.cc.
References calculateEfficiency1D(), GenHFHadronMatcher_cff::flavour, GetNumDenumerators(), HCALSpecialsNames, HEM17, HEP17, hltPathNames_, mps_fire::i, label, edm::errors::LogicError, m_histoName, m_mcLabels, mainFolder_, mistagrate(), modulesrate(), pileupDistInMC::num, DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool HLTBTagHarvestingAnalyzer::GetNumDenumerators | ( | DQMStore::IBooker & | ibooker, |
DQMStore::IGetter & | igetter, | ||
std::string | num, | ||
std::string | den, | ||
TH1 *& | ptrnum, | ||
TH1 *& | ptrden, | ||
int | type | ||
) |
numerator preparing
denominator preparing
numerator preparing
denominator preparing
Definition at line 170 of file HLTBTagHarvestingAnalyzer.cc.
References DQMStore::IGetter::get(), MonitorElement::getTH1(), MonitorElement::getTH2F(), edm::errors::LogicError, m_minTag, and cms::Exception::raise().
Referenced by dqmEndJob().
void HLTBTagHarvestingAnalyzer::mistagrate | ( | DQMStore::IBooker & | ibooker, |
DQMStore::IGetter & | igetter, | ||
TH1F * | num, | ||
TH1F * | den, | ||
std::string | effName | ||
) |
Definition at line 277 of file HLTBTagHarvestingAnalyzer.cc.
References DQMStore::IBooker::book1D(), mps_fire::i, and MonitorElement::setEfficiencyFlag().
Referenced by dqmEndJob().
void HLTBTagHarvestingAnalyzer::modulesrate | ( | DQMStore::IBooker & | ibooker, |
DQMStore::IGetter & | igetter, | ||
TH1F * | num, | ||
TH1F * | den, | ||
std::string | effName | ||
) |
Definition at line 314 of file HLTBTagHarvestingAnalyzer.cc.
References DQMStore::IBooker::book1D(), and MonitorElement::setEfficiencyFlag().
Referenced by dqmEndJob().
|
private |
Definition at line 58 of file HLTBTagHarvestingAnalyzer.h.
|
private |
Definition at line 61 of file HLTBTagHarvestingAnalyzer.h.
Referenced by dqmEndJob(), and HLTBTagHarvestingAnalyzer().
|
private |
Definition at line 48 of file HLTBTagHarvestingAnalyzer.h.
Referenced by dqmEndJob(), and HLTBTagHarvestingAnalyzer().
|
private |
Definition at line 55 of file HLTBTagHarvestingAnalyzer.h.
Referenced by dqmEndJob(), and HLTBTagHarvestingAnalyzer().
|
private |
Definition at line 53 of file HLTBTagHarvestingAnalyzer.h.
|
private |
Definition at line 52 of file HLTBTagHarvestingAnalyzer.h.
Referenced by dqmEndJob(), and HLTBTagHarvestingAnalyzer().
|
private |
Definition at line 54 of file HLTBTagHarvestingAnalyzer.h.
|
private |
Definition at line 51 of file HLTBTagHarvestingAnalyzer.h.
Referenced by GetNumDenumerators(), and HLTBTagHarvestingAnalyzer().
|
private |
Definition at line 47 of file HLTBTagHarvestingAnalyzer.h.
Referenced by dqmEndJob(), and HLTBTagHarvestingAnalyzer().