#include <DTNoiseAnalysisTest.h>
Protected Member Functions | |
void | beginRun (edm::Run const &run, edm::EventSetup const &context) override |
BeginRun. More... | |
void | bookHistos (DQMStore::IBooker &) |
book the summary histograms More... | |
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override |
DQM Client Diagnostic. 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 Member Functions | |
std::string | getMEName (const DTChamberId &chID) |
Get the ME name. More... | |
std::string | getSynchNoiseMEName (int wheelId) const |
Private Attributes | |
bool | bookingdone |
bool | detailedAnalysis |
bool | doSynchNoise |
MonitorElement * | glbSummarySynchNoiseHisto |
bool | isCosmics |
double | maxSynchNoiseRate |
const DTGeometry * | muonGeom |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | muonGeomToken_ |
int | nevents |
int | nMinEvts |
std::map< int, MonitorElement * > | noiseHistos |
double | noiseSafetyFactor |
int | noisyCellDef |
std::map< int, MonitorElement * > | noisyCellHistos |
MonitorElement * | summaryNoiseHisto |
MonitorElement * | summarySynchNoiseHisto |
MonitorElement * | threshChannelsHisto |
Static Private Attributes | |
static constexpr float | cellW = 4.2 |
static constexpr float | instLumi = 20 |
static constexpr std::array< std::array< float, 4 >, 3 > | kW_MB |
static constexpr std::array< std::array< float, 4 >, 2 > | lenghtSL_MB |
DQM Test Client
threadsafe version (//-) oct/nov 2014 - WATWanAbdullah -ncpp-um-my
Definition at line 29 of file DTNoiseAnalysisTest.h.
DTNoiseAnalysisTest::DTNoiseAnalysisTest | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 32 of file DTNoiseAnalysisTest.cc.
References bookingdone, detailedAnalysis, doSynchNoise, edm::ParameterSet::getUntrackedParameter(), isCosmics, LogTrace, maxSynchNoiseRate, nevents, nMinEvts, noiseSafetyFactor, and noisyCellDef.
|
override |
|
overrideprotected |
BeginRun.
Definition at line 57 of file DTNoiseAnalysisTest.cc.
References visDQMUpload::context, muonGeom, and muonGeomToken_.
|
protected |
book the summary histograms
Definition at line 235 of file DTNoiseAnalysisTest.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), detailedAnalysis, doSynchNoise, glbSummarySynchNoiseHisto, HltBtagPostValidation_cff::histoName, noiseHistos, noisyCellHistos, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), summaryNoiseHisto, summarySynchNoiseHisto, threshChannelsHisto, and makeMuonMisalignmentScenario::wheel.
Referenced by dqmEndLuminosityBlock().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
DQM Client Diagnostic.
Reimplemented from DQMEDHarvester.
Definition at line 62 of file DTNoiseAnalysisTest.cc.
References funct::abs(), bookHistos(), bookingdone, cellW, DTGeometry::chambers(), DTTopology::channels(), detailedAnalysis, doSynchNoise, dqm::impl::MonitorElement::Fill(), DTTopology::firstChannel(), nano_mu_digi_cff::float, dqm::implementation::IGetter::get(), dqm::impl::MonitorElement::getFloatValue(), getMEName(), getSynchNoiseMEName(), dqm::legacy::MonitorElement::getTH2F(), glbSummarySynchNoiseHisto, timingPdfMaker::histo, instLumi, isCosmics, dqmdumpme::k, kW_MB, nano_mu_digi_cff::layer, DTGeometry::layer(), lenghtSL_MB, LogTrace, maxSynchNoiseRate, cms::alpakatools::config::minBin, muonGeom, nevents, nMinEvts, hgchebackDigitizer_cfi::noise, noiseHistos, noiseSafetyFactor, noisyCellDef, noisyCellHistos, plotFactory::plot, dqm::impl::MonitorElement::Reset(), nano_mu_digi_cff::sector, DTChamberId::sector(), dqm::impl::MonitorElement::setBinContent(), dqm::impl::MonitorElement::setEntries(), DTLayer::specificTopology(), DTChamberId::station(), summaryNoiseHisto, summarySynchNoiseHisto, threshChannelsHisto, DTChamberId::wheel(), makeMuonMisalignmentScenario::wheel, and nano_mu_digi_cff::wire.
|
private |
Get the ME name.
Definition at line 219 of file DTNoiseAnalysisTest.cc.
References ALCARECODTCalibSynchCosmicsDQM_cff::folderName, nano_mu_digi_cff::sector, DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 296 of file DTNoiseAnalysisTest.cc.
References ALCARECODTCalibSynchCosmicsDQM_cff::folderName, AlCaHLTBitMon_QueryRunRegistry::string, and makeMuonMisalignmentScenario::wheel.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 61 of file DTNoiseAnalysisTest.h.
Referenced by dqmEndLuminosityBlock(), and DTNoiseAnalysisTest().
|
staticprivate |
Definition at line 84 of file DTNoiseAnalysisTest.h.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 71 of file DTNoiseAnalysisTest.h.
Referenced by bookHistos(), dqmEndLuminosityBlock(), and DTNoiseAnalysisTest().
|
private |
Definition at line 70 of file DTNoiseAnalysisTest.h.
Referenced by bookHistos(), dqmEndLuminosityBlock(), and DTNoiseAnalysisTest().
|
private |
Definition at line 81 of file DTNoiseAnalysisTest.h.
Referenced by bookHistos(), and dqmEndLuminosityBlock().
|
staticprivate |
Definition at line 85 of file DTNoiseAnalysisTest.h.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 69 of file DTNoiseAnalysisTest.h.
Referenced by dqmEndLuminosityBlock(), and DTNoiseAnalysisTest().
|
staticprivate |
Definition at line 86 of file DTNoiseAnalysisTest.h.
Referenced by dqmEndLuminosityBlock().
|
staticprivate |
Definition at line 90 of file DTNoiseAnalysisTest.h.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 72 of file DTNoiseAnalysisTest.h.
Referenced by dqmEndLuminosityBlock(), and DTNoiseAnalysisTest().
|
private |
Definition at line 65 of file DTNoiseAnalysisTest.h.
Referenced by beginRun(), and dqmEndLuminosityBlock().
|
private |
Definition at line 64 of file DTNoiseAnalysisTest.h.
Referenced by beginRun().
|
private |
Definition at line 58 of file DTNoiseAnalysisTest.h.
Referenced by dqmEndLuminosityBlock(), DTNoiseAnalysisTest(), and ~DTNoiseAnalysisTest().
|
private |
Definition at line 59 of file DTNoiseAnalysisTest.h.
Referenced by dqmEndLuminosityBlock(), and DTNoiseAnalysisTest().
|
private |
Definition at line 76 of file DTNoiseAnalysisTest.h.
Referenced by bookHistos(), and dqmEndLuminosityBlock().
|
private |
Definition at line 73 of file DTNoiseAnalysisTest.h.
Referenced by dqmEndLuminosityBlock(), and DTNoiseAnalysisTest().
|
private |
Definition at line 68 of file DTNoiseAnalysisTest.h.
Referenced by dqmEndLuminosityBlock(), and DTNoiseAnalysisTest().
|
private |
Definition at line 77 of file DTNoiseAnalysisTest.h.
Referenced by bookHistos(), and dqmEndLuminosityBlock().
|
private |
Definition at line 78 of file DTNoiseAnalysisTest.h.
Referenced by bookHistos(), and dqmEndLuminosityBlock().
|
private |
Definition at line 80 of file DTNoiseAnalysisTest.h.
Referenced by bookHistos(), and dqmEndLuminosityBlock().
|
private |
Definition at line 79 of file DTNoiseAnalysisTest.h.
Referenced by bookHistos(), and dqmEndLuminosityBlock().