#include <DTLocalTriggerSynchTest.h>
Protected Member Functions | |
void | beginRun (const edm::Run &run, const edm::EventSetup &c) override |
begin Run More... | |
void | bookChambHistos (DQMStore::IBooker &, DTChamberId chambId, std::string htype, std::string subfolder="") |
Book the new MEs (for each chamber) 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... | |
float | getFloatFromME (DQMStore::IGetter &, DTChamberId chId, std::string meType) |
Get float MEs. More... | |
void | makeRatioME (TH1F *numerator, TH1F *denominator, MonitorElement *result) |
Compute 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 | 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<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
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) |
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 () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Private Attributes | |
bool | bookingdone |
double | bxTime |
std::map< uint32_t, std::map< std::string, MonitorElement * > > | chambME |
std::string | denHistoTag |
int | minEntries |
int | nBXHigh |
int | nBXLow |
std::string | numHistoTag |
bool | rangeInBX |
std::string | ratioHistoTag |
const DTTPGParameters * | wPhaseMap |
edm::ESGetToken< DTTPGParameters, DTTPGParametersRcd > | wPhaseMapToken_ |
bool | writeDB |
DQM Test Client
threadsafe version (//-) oct/nov 2014 - WATWanAbdullah -ncpp-um-my
Definition at line 21 of file DTLocalTriggerSynchTest.h.
DTLocalTriggerSynchTest::DTLocalTriggerSynchTest | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 39 of file DTLocalTriggerSynchTest.cc.
References DTLocalTriggerBaseTest::baseFolderTM, bookingdone, and DTLocalTriggerBaseTest::setConfig().
|
override |
|
overrideprotected |
begin Run
Definition at line 49 of file DTLocalTriggerSynchTest.cc.
References DTLocalTriggerBaseTest::beginRun(), bxTime, DummyCfis::c, denHistoTag, edm::ParameterSet::getParameter(), minEntries, nBXHigh, nBXLow, numHistoTag, DTLocalTriggerBaseTest::parameters, rangeInBX, ratioHistoTag, and DTLocalTriggerBaseTest::run.
|
protected |
Book the new MEs (for each chamber)
Definition at line 230 of file DTLocalTriggerSynchTest.cc.
References dqm::implementation::IBooker::book1D(), bxTime, DTLocalTriggerBaseTest::category(), reco::ceil(), chambME, printsummarytable::folder, DTLocalTriggerBaseTest::fullName(), SiStripPI::max, SiStripPI::min, LaserClient_cfi::nbins, nBXHigh, nBXLow, rangeInBX, DetId::rawId(), nano_mu_digi_cff::sector, DTChamberId::sector(), dqm::implementation::NavigatorBase::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, DTLocalTriggerBaseTest::testName, DTLocalTriggerBaseTest::topFolder(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by dqmEndLuminosityBlock().
|
overrideprotectedvirtual |
Reimplemented from DTLocalTriggerBaseTest.
Definition at line 143 of file DTLocalTriggerSynchTest.cc.
References DTTPGParameters::begin(), bxTime, DTLocalTriggerBaseTest::category(), DTGeometry::chambers(), DTLocalTriggerBaseTest::dqmEndJob(), DTTPGParameters::end(), DTTPGParameters::get(), dqm::implementation::IGetter::get(), getFloatFromME(), DTLocalTriggerBaseTest::getMEName(), edm::ParameterSet::getParameter(), DTLocalTriggerBaseTest::hwSource, minEntries, DTLocalTriggerBaseTest::muonGeom, DTTimeUnits::ns, DTLocalTriggerBaseTest::parameters, ratioHistoTag, DTTPGParameters::set(), DTLocalTriggerBaseTest::testName, wPhaseMap, and DTCalibDBUtils::writeToDB().
|
overrideprotectedvirtual |
Perform client diagnostic in online.
Reimplemented from DTLocalTriggerBaseTest.
Definition at line 62 of file DTLocalTriggerSynchTest.cc.
References bookChambHistos(), bookingdone, DummyCfis::c, DTLocalTriggerBaseTest::category(), DTGeometry::chambers(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), DTLocalTriggerBaseTest::hwSource, DTLocalTriggerBaseTest::hwSources, DTLocalTriggerBaseTest::muonGeom, DTLocalTriggerBaseTest::parameters, ratioHistoTag, DTLocalTriggerBaseTest::testName, DTLocalTriggerBaseTest::trigSource, DTLocalTriggerBaseTest::trigSources, wPhaseMap, and wPhaseMapToken_.
|
protected |
Get float MEs.
Definition at line 206 of file DTLocalTriggerSynchTest.cc.
References DTLocalTriggerBaseTest::category(), ALCARECODTCalibSynchCosmicsDQM_cff::folderName, dqm::implementation::IGetter::get(), hlt_dqm_clientPB-live_cfg::me, nano_mu_digi_cff::sector, DTChamberId::sector(), DTLocalTriggerBaseTest::sourceFolder, DTChamberId::station(), relativeConstraints::station, DTLocalTriggerBaseTest::testName, DTLocalTriggerBaseTest::topFolder(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by dqmEndJob().
|
protected |
Compute efficiency plots.
Definition at line 201 of file DTLocalTriggerSynchTest.cc.
References bTagMiniDQMDeepCSV::denominator, L1TObjectsTimingClient_cff::efficiency, bTagMiniDQMDeepCSV::numerator, and mps_fire::result.
Referenced by runClientDiagnostic().
|
overrideprotectedvirtual |
DQM Client Diagnostic.
Implements DTLocalTriggerBaseTest.
Definition at line 99 of file DTLocalTriggerSynchTest.cc.
References DTLocalTriggerBaseTest::category(), DTGeometry::chambers(), chambME, denHistoTag, DTLocalTriggerBaseTest::fullName(), dqm::implementation::IGetter::get(), DTLocalTriggerBaseTest::getMEName(), dqm::impl::MonitorElement::getName(), DTLocalTriggerBaseTest::hwSource, DTLocalTriggerBaseTest::hwSources, makeRatioME(), minEntries, DTLocalTriggerBaseTest::muonGeom, numHistoTag, ratioHistoTag, DetId::rawId(), DTLocalTriggerBaseTest::testName, DTLocalTriggerBaseTest::trigSource, and DTLocalTriggerBaseTest::trigSources.
|
private |
Definition at line 69 of file DTLocalTriggerSynchTest.h.
Referenced by dqmEndLuminosityBlock(), and DTLocalTriggerSynchTest().
|
private |
Definition at line 60 of file DTLocalTriggerSynchTest.h.
Referenced by beginRun(), bookChambHistos(), and dqmEndJob().
|
private |
Definition at line 56 of file DTLocalTriggerSynchTest.h.
Referenced by bookChambHistos(), and runClientDiagnostic().
|
private |
Definition at line 58 of file DTLocalTriggerSynchTest.h.
Referenced by beginRun(), and runClientDiagnostic().
|
private |
Definition at line 64 of file DTLocalTriggerSynchTest.h.
Referenced by beginRun(), dqmEndJob(), and runClientDiagnostic().
|
private |
Definition at line 63 of file DTLocalTriggerSynchTest.h.
Referenced by beginRun(), and bookChambHistos().
|
private |
Definition at line 62 of file DTLocalTriggerSynchTest.h.
Referenced by beginRun(), and bookChambHistos().
|
private |
Definition at line 57 of file DTLocalTriggerSynchTest.h.
Referenced by beginRun(), and runClientDiagnostic().
|
private |
Definition at line 61 of file DTLocalTriggerSynchTest.h.
Referenced by beginRun(), and bookChambHistos().
|
private |
Definition at line 59 of file DTLocalTriggerSynchTest.h.
Referenced by beginRun(), dqmEndJob(), dqmEndLuminosityBlock(), and runClientDiagnostic().
|
private |
Definition at line 67 of file DTLocalTriggerSynchTest.h.
Referenced by dqmEndJob(), and dqmEndLuminosityBlock().
|
private |
Definition at line 66 of file DTLocalTriggerSynchTest.h.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 65 of file DTLocalTriggerSynchTest.h.