#include <DTTriggerEfficiencyTest.h>
Protected Member Functions | |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) override |
BeginRun. More... | |
void | bookChambHistos (DQMStore::IBooker &ibooker, DTChamberId chambId, std::string htype, std::string folder="") |
Book the new MEs (for each chamber) More... | |
void | bookHistos (DQMStore::IBooker &ibooker, std::string hTag, std::string folder) |
Book the new MEs (global) More... | |
void | Bookings (DQMStore::IBooker &, DQMStore::IGetter &) |
void | bookWheelHistos (DQMStore::IBooker &ibooker, int wheel, std::string hTag, std::string folder) |
Book the new MEs (for each wheel) More... | |
std::string | getMEName (std::string histoTag, std::string folder, int wh) |
Get the ME name (by wheel) More... | |
void | makeEfficiencyME (TH2F *numerator, TH2F *denominator, MonitorElement *result2DWh) |
Compute 2D efficiency plots. More... | |
void | makeEfficiencyME (TH2F *numerator, TH2F *denominator, MonitorElement *result2DWh, MonitorElement *result1DWh, MonitorElement *result1D) |
Compute 1D/2D efficiency plots. More... | |
void | runClientDiagnostic (DQMStore::IBooker &, DQMStore::IGetter &) override |
DQM Client Diagnostic. More... | |
Protected Member Functions inherited from DTLocalTriggerBaseTest | |
void | beginRun (edm::Run const &run, edm::EventSetup const &context) override |
BeginRun. More... | |
void | bookCmsHistos (DQMStore::IBooker &, std::string hTag, std::string folder="", bool isGlb=false) |
Book the new MEs (CMS summary) More... | |
void | bookSectorHistos (DQMStore::IBooker &, int wheel, int sector, std::string hTag, std::string folder="") |
Book the new MEs (for each sector) More... | |
void | bookWheelHistos (DQMStore::IBooker &, int wheel, std::string hTag, std::string folder="") |
Book the new MEs (for each wheel) More... | |
std::string | category () |
Get message logger name. More... | |
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override |
Perform client diagnostic in online. More... | |
void | endRun (edm::Run const &run, edm::EventSetup const &context) override |
Perform client diagnostic in offline. More... | |
std::string | fullName (std::string htype) |
Create fullname from histo partial name. More... | |
template<class T > | |
T * | getHisto (MonitorElement *me) |
Convert ME to Histogram fo type T. More... | |
std::string | getMEName (std::string histoTag, std::string subfolder, const DTChamberId &chambid) |
Get the ME name (by chamber) More... | |
std::string | getMEName (std::string histoTag, std::string subfolder, int wh) |
Get the ME name (by wheel) More... | |
std::pair< float, float > | phiRange (const DTChamberId &id) |
Calculate phi range for histograms. More... | |
void | setConfig (const edm::ParameterSet &ps, std::string name) |
Set configuration variables. More... | |
std::string & | topFolder () |
Get top folder name. More... | |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Private Attributes | |
bool | bookingdone |
std::map< uint32_t, std::map< std::string, MonitorElement * > > | chambME |
bool | detailedPlots |
std::map< int, std::map< std::string, MonitorElement * > > | EffDistrPerWh |
std::map< std::string, MonitorElement * > | globalEffDistr |
DTTrigGeomUtils * | trigGeomUtils |
DQM Test Client
threadsafe version (//-) oct/nov 2014 - WATWanAbdullah -ncpp-um-my
Definition at line 21 of file DTTriggerEfficiencyTest.h.
DTTriggerEfficiencyTest::DTTriggerEfficiencyTest | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 36 of file DTTriggerEfficiencyTest.cc.
References edm::ParameterSet::getUntrackedParameter().
|
override |
|
overrideprotected |
BeginRun.
Definition at line 46 of file DTTriggerEfficiencyTest.cc.
References DTLocalTriggerBaseTest::beginRun(), c, and alignCSCRings::r.
|
protected |
Book the new MEs (for each chamber)
Definition at line 258 of file DTTriggerEfficiencyTest.cc.
References dqm::implementation::IBooker::book2D(), taus_updatedMVAIds_cff::category, printsummarytable::folder, newFWLiteAna::fullName, LogTrace, edm::max(), edm::min(), LaserClient_cfi::nbins, DetId::rawId(), DTChamberId::sector(), dqm::implementation::NavigatorBase::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, L1TBPTX_cfi::testName, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
|
protected |
Book the new MEs (global)
Definition at line 189 of file DTTriggerEfficiencyTest.cc.
References makeHippyCampaign::basedir, dqm::implementation::IBooker::book1D(), printsummarytable::folder, newFWLiteAna::fullName, dqm::impl::MonitorElement::setAxisTitle(), and dqm::implementation::NavigatorBase::setCurrentFolder().
|
protected |
Definition at line 294 of file DTTriggerEfficiencyTest.cc.
References bookHistos(), dtFineDelayCorr_cfi::hwSource, dtFineDelayCorr_cfi::hwSources, and edm_modernize_messagelogger::stat.
|
protected |
Book the new MEs (for each wheel)
Definition at line 206 of file DTTriggerEfficiencyTest.cc.
References makeHippyCampaign::basedir, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), taus_updatedMVAIds_cff::category, printsummarytable::folder, newFWLiteAna::fullName, LogTrace, hlt_dqm_clientPB-live_cfg::me, dqm::implementation::NavigatorBase::setCurrentFolder(), L1TBPTX_cfi::testName, and makeMuonMisalignmentScenario::wheel.
|
protected |
Get the ME name (by wheel)
Definition at line 178 of file DTTriggerEfficiencyTest.cc.
References printsummarytable::folder, ALCARECODTCalibSynchCosmicsDQM_cff::folderName, newFWLiteAna::fullName, dtResolutionTest_cfi::histoTag, and makeMuonMisalignmentScenario::wheel.
|
protected |
Compute 2D efficiency plots.
Definition at line 155 of file DTTriggerEfficiencyTest.cc.
References HLTTauDQMOffline_cfi::denominator, L1TObjectsTimingClient_cff::efficiency, relativeConstraints::error, dqm::legacy::MonitorElement::getTH2F(), HLTTauDQMOffline_cfi::numerator, and mathSSE::sqrt().
|
protected |
Compute 1D/2D efficiency plots.
Definition at line 125 of file DTTriggerEfficiencyTest.cc.
References HLTTauDQMOffline_cfi::denominator, L1TObjectsTimingClient_cff::efficiency, relativeConstraints::error, dqm::impl::MonitorElement::Fill(), dqm::legacy::MonitorElement::getTH2F(), HLTTauDQMOffline_cfi::numerator, and mathSSE::sqrt().
|
overrideprotectedvirtual |
DQM Client Diagnostic.
Implements DTLocalTriggerBaseTest.
Definition at line 51 of file DTTriggerEfficiencyTest.cc.
References bookHistos(), spr::find(), newFWLiteAna::fullName, dqm::implementation::IGetter::get(), dtFineDelayCorr_cfi::hwSource, dtFineDelayCorr_cfi::hwSources, DetId::rawId(), edm::second(), and edm_modernize_messagelogger::stat.
|
private |
Definition at line 66 of file DTTriggerEfficiencyTest.h.
|
private |
Definition at line 62 of file DTTriggerEfficiencyTest.h.
|
private |
Definition at line 64 of file DTTriggerEfficiencyTest.h.
|
private |
Definition at line 61 of file DTTriggerEfficiencyTest.h.
|
private |
Definition at line 60 of file DTTriggerEfficiencyTest.h.
|
private |
Definition at line 63 of file DTTriggerEfficiencyTest.h.