CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
DTnoiseDBValidation Class Reference

#include <DTnoiseDBValidation.h>

Inheritance diagram for DTnoiseDBValidation:
edm::EDAnalyzer edm::EDConsumerBase

Public Types

typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 
- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

void analyze (const edm::Event &event, const edm::EventSetup &setup) override
 
void beginRun (const edm::Run &run, const edm::EventSetup &setup) override
 Operations. More...
 
 DTnoiseDBValidation (const edm::ParameterSet &pset)
 Constructor. More...
 
void endJob () override
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
 ~DTnoiseDBValidation () override
 Destructor. More...
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void bookHisto (const DTChamberId &)
 

Private Attributes

DQMStoredbe_
 
MonitorElementdiffHisto_
 
std::string diffTestName_
 
edm::ESHandle< DTGeometrydtGeom_
 
std::string labelDB_
 
std::string labelDBRef_
 
MonitorElementlayerHisto_
 
std::string layerTestName_
 
std::map< DTChamberId, MonitorElement * > noiseHistoMap_
 
const DTStatusFlagnoiseMap_
 
const DTStatusFlagnoiseRefMap_
 
int noisyCellsRef_
 
int noisyCellsValid_
 
std::string outputFileName_
 
bool outputMEsInRootFile_
 
MonitorElementsectorHisto_
 
std::string sectorTestName_
 
MonitorElementstationHisto_
 
std::string stationTestName_
 
MonitorElementwheelHisto_
 
std::string wheelTestName_
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- 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)
 

Detailed Description

Plot the noise from the DB comparaison

Author
G. Mila - INFN Torino

Definition at line 28 of file DTnoiseDBValidation.h.

Member Typedef Documentation

◆ DQMStore

Definition at line 31 of file DTnoiseDBValidation.h.

◆ MonitorElement

Definition at line 30 of file DTnoiseDBValidation.h.

Constructor & Destructor Documentation

◆ DTnoiseDBValidation()

DTnoiseDBValidation::DTnoiseDBValidation ( const edm::ParameterSet pset)

Constructor.

Definition at line 39 of file DTnoiseDBValidation.cc.

39  {
40  LogVerbatim("NoiseDBValidation") << "[DTnoiseDBValidation] Constructor called!";
41 
42  // Get the DQM needed services
43  dbe_ = edm::Service<DQMStore>().operator->();
44  dbe_->setCurrentFolder("DT/DtCalib/NoiseDBValidation");
45 
46  // Get dataBase label
47  labelDBRef_ = pset.getParameter<string>("labelDBRef");
48  labelDB_ = pset.getParameter<string>("labelDB");
49 
50  diffTestName_ = "noiseDifferenceInRange";
51  if (pset.exists("diffTestName"))
52  diffTestName_ = pset.getParameter<string>("diffTestName");
53 
54  wheelTestName_ = "noiseWheelOccInRange";
55  if (pset.exists("wheelTestName"))
56  wheelTestName_ = pset.getParameter<string>("wheelTestName");
57 
58  stationTestName_ = "noiseStationOccInRange";
59  if (pset.exists("stationTestName"))
60  stationTestName_ = pset.getParameter<string>("stationTestName");
61 
62  sectorTestName_ = "noiseSectorOccInRange";
63  if (pset.exists("sectorTestName"))
64  sectorTestName_ = pset.getParameter<string>("sectorTestName");
65 
66  layerTestName_ = "noiseLayerOccInRange";
67  if (pset.exists("layerTestName"))
68  layerTestName_ = pset.getParameter<string>("layerTestName");
69 
70  outputMEsInRootFile_ = false;
71  if (pset.exists("OutputFileName")) {
72  outputMEsInRootFile_ = true;
73  outputFileName_ = pset.getParameter<std::string>("OutputFileName");
74  }
75 }

References dbe_, muonDTDigis_cfi::pset, dqm::implementation::DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~DTnoiseDBValidation()

DTnoiseDBValidation::~DTnoiseDBValidation ( )
override

Destructor.

Definition at line 77 of file DTnoiseDBValidation.cc.

77 {}

Member Function Documentation

◆ analyze()

void DTnoiseDBValidation::analyze ( const edm::Event event,
const edm::EventSetup setup 
)
inlineoverridevirtual

Implements edm::EDAnalyzer.

Definition at line 42 of file DTnoiseDBValidation.h.

42 {}

◆ beginRun()

void DTnoiseDBValidation::beginRun ( const edm::Run run,
const edm::EventSetup setup 
)
overridevirtual

Operations.

Reimplemented from edm::EDAnalyzer.

Definition at line 79 of file DTnoiseDBValidation.cc.

79  {
83 
84  ESHandle<DTStatusFlag> noiseValid;
85  setup.get<DTStatusFlagRcd>().get(labelDB_, noiseValid);
86  noiseMap_ = &*noiseValid;
87 
88  // Get the geometry
90 
91  LogVerbatim("NoiseDBValidation") << "[DTnoiseDBValidation] Parameters initialization";
92 
93  noisyCellsRef_ = 0;
94  noisyCellsValid_ = 0;
95 
96  // Histo booking
97  diffHisto_ =
98  dbe_->book1D("noisyCellDiff", "percentual (wrt the previous db) total number of noisy cells", 1, 0.5, 1.5);
99  diffHisto_->setBinLabel(1, "Diff");
100  wheelHisto_ = dbe_->book1D("wheelOccupancy", "percentual noisy cells occupancy per wheel", 5, -2.5, 2.5);
101  wheelHisto_->setBinLabel(1, "Wh-2");
102  wheelHisto_->setBinLabel(2, "Wh-1");
103  wheelHisto_->setBinLabel(3, "Wh0");
104  wheelHisto_->setBinLabel(4, "Wh1");
105  wheelHisto_->setBinLabel(5, "Wh2");
106  stationHisto_ = dbe_->book1D("stationOccupancy", "percentual noisy cells occupancy per station", 4, 0.5, 4.5);
107  stationHisto_->setBinLabel(1, "St1");
108  stationHisto_->setBinLabel(2, "St2");
109  stationHisto_->setBinLabel(3, "St3");
110  stationHisto_->setBinLabel(4, "St4");
111  sectorHisto_ = dbe_->book1D("sectorOccupancy", "percentual noisy cells occupancy per sector", 12, 0.5, 12.5);
112  sectorHisto_->setBinLabel(1, "Sect1");
113  sectorHisto_->setBinLabel(2, "Sect2");
114  sectorHisto_->setBinLabel(3, "Sect3");
115  sectorHisto_->setBinLabel(4, "Sect4");
116  sectorHisto_->setBinLabel(5, "Sect5");
117  sectorHisto_->setBinLabel(6, "Sect6");
118  sectorHisto_->setBinLabel(7, "Sect7");
119  sectorHisto_->setBinLabel(8, "Sect8");
120  sectorHisto_->setBinLabel(9, "Sect9");
121  sectorHisto_->setBinLabel(10, "Sect10");
122  sectorHisto_->setBinLabel(11, "Sect11");
123  sectorHisto_->setBinLabel(12, "Sect12");
124  layerHisto_ = dbe_->book1D("layerOccupancy", "percentual noisy cells occupancy per layer", 3, 0.5, 3.5);
125  layerHisto_->setBinLabel(1, "First 10 bins");
126  layerHisto_->setBinLabel(2, "Middle bins");
127  layerHisto_->setBinLabel(3, "Last 10 bins");
128 
129  // map initialization
130  map<int, int> whMap;
131  whMap.clear();
132  map<int, int> stMap;
133  stMap.clear();
134  map<int, int> sectMap;
135  sectMap.clear();
136  map<int, int> layerMap;
137  layerMap.clear();
138 
139  // Loop over reference DB entries
141  DTWireId wireId((*noise).first.wheelId,
142  (*noise).first.stationId,
143  (*noise).first.sectorId,
144  (*noise).first.slId,
145  (*noise).first.layerId,
146  (*noise).first.cellId);
147  LogVerbatim("NoiseDBValidation") << "Ref. noisy wire: " << wireId;
148  ++noisyCellsRef_;
149  }
150 
151  // Loop over validation DB entries
153  DTWireId wireId((*noise).first.wheelId,
154  (*noise).first.stationId,
155  (*noise).first.sectorId,
156  (*noise).first.slId,
157  (*noise).first.layerId,
158  (*noise).first.cellId);
159  LogVerbatim("NoiseDBValidation") << "Valid. noisy wire: " << wireId;
161 
162  whMap[(*noise).first.wheelId]++;
163  stMap[(*noise).first.stationId]++;
164  sectMap[(*noise).first.sectorId]++;
165 
166  const DTTopology &dtTopo = dtGeom_->layer(wireId.layerId())->specificTopology();
167  const int lastWire = dtTopo.lastChannel();
168  if ((*noise).first.cellId <= 10)
169  layerMap[1]++;
170  if ((*noise).first.cellId > 10 && (*noise).first.cellId < (lastWire - 10))
171  layerMap[2]++;
172  if ((*noise).first.cellId >= (lastWire - 10))
173  layerMap[3]++;
174 
175  const DTChamberId chId = wireId.layerId().superlayerId().chamberId();
176  if (noiseHistoMap_.find(chId) == noiseHistoMap_.end())
177  bookHisto(chId);
178  int binNumber = 4 * (wireId.superLayer() - 1) + wireId.layer();
179  noiseHistoMap_[chId]->Fill(wireId.wire(), binNumber);
180  }
181 
182  // histo filling
183  double scale = 1 / double(noisyCellsRef_);
185 
186  scale = 1 / double(noisyCellsValid_);
187  for (map<int, int>::const_iterator wheel = whMap.begin(); wheel != whMap.end(); wheel++) {
188  wheelHisto_->Fill((*wheel).first, ((*wheel).second) * scale);
189  }
190  for (map<int, int>::const_iterator station = stMap.begin(); station != stMap.end(); station++) {
191  stationHisto_->Fill((*station).first, ((*station).second) * scale);
192  }
193  for (map<int, int>::const_iterator sector = sectMap.begin(); sector != sectMap.end(); sector++) {
194  sectorHisto_->Fill((*sector).first, ((*sector).second) * scale);
195  }
196  for (map<int, int>::const_iterator layer = layerMap.begin(); layer != layerMap.end(); layer++) {
197  layerHisto_->Fill((*layer).first, ((*layer).second) * scale);
198  }
199 }

References funct::abs(), plotT0FromHistos::binNumber(), dqm::implementation::IBooker::book1D(), DTSuperLayerId::chamberId(), dbe_, edm::get(), DTTopology::lastChannel(), DTLayerId::layer(), DTWireId::layerId(), hgcalDigitizer_cfi::noise, dtNoiseDBValidation_cfg::noiseRef, HLT_FULL_cff::scale, dqm::impl::MonitorElement::setBinLabel(), singleTopDQM_cfi::setup, relativeConstraints::station, DTSuperLayerId::superLayer(), DTLayerId::superlayerId(), makeMuonMisalignmentScenario::wheel, and DTWireId::wire().

◆ bookHisto()

void DTnoiseDBValidation::bookHisto ( const DTChamberId chId)
private

Definition at line 275 of file DTnoiseDBValidation.cc.

275  {
276  stringstream histoName;
277  histoName << "NoiseOccupancy"
278  << "_W" << chId.wheel() << "_St" << chId.station() << "_Sec" << chId.sector();
279 
280  if (noiseHistoMap_.find(chId) == noiseHistoMap_.end()) { // Redundant check
281  // Get the chamber from the geometry
282  int nWiresMax = 0;
283  const DTChamber *dtchamber = dtGeom_->chamber(chId);
284  const vector<const DTSuperLayer *> &superlayers = dtchamber->superLayers();
285 
286  // Loop over layers and find the max # of wires
287  for (vector<const DTSuperLayer *>::const_iterator sl = superlayers.begin(); sl != superlayers.end();
288  ++sl) { // loop over SLs
289  vector<const DTLayer *> layers = (*sl)->layers();
290  for (vector<const DTLayer *>::const_iterator lay = layers.begin(); lay != layers.end();
291  ++lay) { // loop over layers
292  int nWires = (*lay)->specificTopology().channels();
293  if (nWires > nWiresMax)
294  nWiresMax = nWires;
295  }
296  }
297 
298  noiseHistoMap_[chId] = dbe_->book2D(histoName.str(), "Noise occupancy", nWiresMax, 1, (nWiresMax + 1), 12, 1, 13);
299  for (int i_sl = 1; i_sl <= 3; ++i_sl) {
300  for (int i_lay = 1; i_lay <= 4; ++i_lay) {
301  int binNumber = 4 * (i_sl - 1) + i_lay;
302  stringstream label;
303  label << "SL" << i_sl << ": L" << i_lay;
304  noiseHistoMap_[chId]->setBinLabel(binNumber, label.str(), 2);
305  }
306  }
307  }
308 }

References plotT0FromHistos::binNumber(), dqm::implementation::IBooker::book2D(), dbe_, HltBtagPostValidation_cff::histoName, label, hgcalTopologyTester_cfi::layers, DTChamberId::sector(), DTChamberId::station(), DTChamber::superLayers(), and DTChamberId::wheel().

◆ endJob()

void DTnoiseDBValidation::endJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 269 of file DTnoiseDBValidation.cc.

269  {
270  // Write the histos in a ROOT file
273 }

References dbe_, and dqm::implementation::DQMStore::save().

◆ endRun()

void DTnoiseDBValidation::endRun ( edm::Run const &  run,
edm::EventSetup const &  setup 
)
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 201 of file DTnoiseDBValidation.cc.

201  {
202  // test on difference histo
203  // string testCriterionName;
204  // testCriterionName =
205  // parameters.getUntrackedParameter<string>("diffTestName","noiseDifferenceInRange");
206  const QReport *theDiffQReport = diffHisto_->getQReport(diffTestName_);
207  if (theDiffQReport) {
208  vector<dqm::me_util::Channel> badChannels = theDiffQReport->getBadChannels();
209  for (vector<dqm::me_util::Channel>::iterator channel = badChannels.begin(); channel != badChannels.end();
210  channel++) {
211  LogWarning("NoiseDBValidation") << " Bad partial difference of noisy channels! Contents : "
212  << (*channel).getContents();
213  }
214  }
215  // testCriterionName =
216  // parameters.getUntrackedParameter<string>("wheelTestName","noiseWheelOccInRange");
217  const QReport *theDiffQReport2 = wheelHisto_->getQReport(wheelTestName_);
218  if (theDiffQReport2) {
219  vector<dqm::me_util::Channel> badChannels = theDiffQReport2->getBadChannels();
220  for (vector<dqm::me_util::Channel>::iterator channel = badChannels.begin(); channel != badChannels.end();
221  channel++) {
222  int wheel = (*channel).getBin() - 3;
223  LogWarning("NoiseDBValidation") << " Bad percentual occupancy for wheel : " << wheel
224  << " Contents : " << (*channel).getContents();
225  }
226  }
227  // testCriterionName =
228  // parameters.getUntrackedParameter<string>("stationTestName","noiseStationOccInRange");
229  const QReport *theDiffQReport3 = stationHisto_->getQReport(stationTestName_);
230  if (theDiffQReport3) {
231  vector<dqm::me_util::Channel> badChannels = theDiffQReport3->getBadChannels();
232  for (vector<dqm::me_util::Channel>::iterator channel = badChannels.begin(); channel != badChannels.end();
233  channel++) {
234  LogWarning("NoiseDBValidation") << " Bad percentual occupancy for station : " << (*channel).getBin()
235  << " Contents : " << (*channel).getContents();
236  }
237  }
238  // testCriterionName =
239  // parameters.getUntrackedParameter<string>("sectorTestName","noiseSectorOccInRange");
240  const QReport *theDiffQReport4 = sectorHisto_->getQReport(sectorTestName_);
241  if (theDiffQReport4) {
242  vector<dqm::me_util::Channel> badChannels = theDiffQReport4->getBadChannels();
243  for (vector<dqm::me_util::Channel>::iterator channel = badChannels.begin(); channel != badChannels.end();
244  channel++) {
245  LogWarning("NoiseDBValidation") << " Bad percentual occupancy for sector : " << (*channel).getBin()
246  << " Contents : " << (*channel).getContents();
247  }
248  }
249  // testCriterionName =
250  // parameters.getUntrackedParameter<string>("layerTestName","noiseLayerOccInRange");
251  const QReport *theDiffQReport5 = layerHisto_->getQReport(layerTestName_);
252  if (theDiffQReport5) {
253  vector<dqm::me_util::Channel> badChannels = theDiffQReport5->getBadChannels();
254  for (vector<dqm::me_util::Channel>::iterator channel = badChannels.begin(); channel != badChannels.end();
255  channel++) {
256  if ((*channel).getBin() == 1)
257  LogWarning("NoiseDBValidation") << " Bad percentual occupancy for the first 10 wires! Contents : "
258  << (*channel).getContents();
259  if ((*channel).getBin() == 2)
260  LogWarning("NoiseDBValidation") << " Bad percentual occupancy for the middle wires! Contents : "
261  << (*channel).getContents();
262  if ((*channel).getBin() == 3)
263  LogWarning("NoiseDBValidation") << " Bad percentual occupancy for the last 10 wires! Contents : "
264  << (*channel).getContents();
265  }
266  }
267 }

References MonitorElementData::QReport::getBadChannels(), and makeMuonMisalignmentScenario::wheel.

Member Data Documentation

◆ dbe_

DQMStore* DTnoiseDBValidation::dbe_
private

Definition at line 48 of file DTnoiseDBValidation.h.

◆ diffHisto_

MonitorElement* DTnoiseDBValidation::diffHisto_
private

Definition at line 68 of file DTnoiseDBValidation.h.

◆ diffTestName_

std::string DTnoiseDBValidation::diffTestName_
private

Definition at line 52 of file DTnoiseDBValidation.h.

◆ dtGeom_

edm::ESHandle<DTGeometry> DTnoiseDBValidation::dtGeom_
private

Definition at line 58 of file DTnoiseDBValidation.h.

◆ labelDB_

std::string DTnoiseDBValidation::labelDB_
private

Definition at line 51 of file DTnoiseDBValidation.h.

◆ labelDBRef_

std::string DTnoiseDBValidation::labelDBRef_
private

Definition at line 50 of file DTnoiseDBValidation.h.

◆ layerHisto_

MonitorElement* DTnoiseDBValidation::layerHisto_
private

Definition at line 72 of file DTnoiseDBValidation.h.

◆ layerTestName_

std::string DTnoiseDBValidation::layerTestName_
private

Definition at line 52 of file DTnoiseDBValidation.h.

◆ noiseHistoMap_

std::map<DTChamberId, MonitorElement *> DTnoiseDBValidation::noiseHistoMap_
private

Definition at line 73 of file DTnoiseDBValidation.h.

◆ noiseMap_

const DTStatusFlag* DTnoiseDBValidation::noiseMap_
private

Definition at line 61 of file DTnoiseDBValidation.h.

◆ noiseRefMap_

const DTStatusFlag* DTnoiseDBValidation::noiseRefMap_
private

Definition at line 62 of file DTnoiseDBValidation.h.

◆ noisyCellsRef_

int DTnoiseDBValidation::noisyCellsRef_
private

Definition at line 65 of file DTnoiseDBValidation.h.

◆ noisyCellsValid_

int DTnoiseDBValidation::noisyCellsValid_
private

Definition at line 66 of file DTnoiseDBValidation.h.

◆ outputFileName_

std::string DTnoiseDBValidation::outputFileName_
private

Definition at line 55 of file DTnoiseDBValidation.h.

◆ outputMEsInRootFile_

bool DTnoiseDBValidation::outputMEsInRootFile_
private

Definition at line 54 of file DTnoiseDBValidation.h.

◆ sectorHisto_

MonitorElement* DTnoiseDBValidation::sectorHisto_
private

Definition at line 71 of file DTnoiseDBValidation.h.

◆ sectorTestName_

std::string DTnoiseDBValidation::sectorTestName_
private

Definition at line 52 of file DTnoiseDBValidation.h.

◆ stationHisto_

MonitorElement* DTnoiseDBValidation::stationHisto_
private

Definition at line 70 of file DTnoiseDBValidation.h.

◆ stationTestName_

std::string DTnoiseDBValidation::stationTestName_
private

Definition at line 52 of file DTnoiseDBValidation.h.

◆ wheelHisto_

MonitorElement* DTnoiseDBValidation::wheelHisto_
private

Definition at line 69 of file DTnoiseDBValidation.h.

◆ wheelTestName_

std::string DTnoiseDBValidation::wheelTestName_
private

Definition at line 52 of file DTnoiseDBValidation.h.

DTnoiseDBValidation::sectorTestName_
std::string sectorTestName_
Definition: DTnoiseDBValidation.h:52
DTnoiseDBValidation::noiseHistoMap_
std::map< DTChamberId, MonitorElement * > noiseHistoMap_
Definition: DTnoiseDBValidation.h:73
DTnoiseDBValidation::bookHisto
void bookHisto(const DTChamberId &)
Definition: DTnoiseDBValidation.cc:275
HLT_FULL_cff.scale
scale
Definition: HLT_FULL_cff.py:6637
relativeConstraints.station
station
Definition: relativeConstraints.py:67
DTnoiseDBValidation::diffHisto_
MonitorElement * diffHisto_
Definition: DTnoiseDBValidation.h:68
DTChamber
Definition: DTChamber.h:24
DTnoiseDBValidation::layerHisto_
MonitorElement * layerHisto_
Definition: DTnoiseDBValidation.h:72
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
DTnoiseDBValidation::labelDBRef_
std::string labelDBRef_
Definition: DTnoiseDBValidation.h:50
DTnoiseDBValidation::diffTestName_
std::string diffTestName_
Definition: DTnoiseDBValidation.h:52
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
DTGeometry::chamber
const DTChamber * chamber(const DTChamberId &id) const
Return a DTChamber given its id.
Definition: DTGeometry.cc:90
DTStatusFlag::begin
const_iterator begin() const
Definition: DTStatusFlag.cc:294
DTnoiseDBValidation::noiseRefMap_
const DTStatusFlag * noiseRefMap_
Definition: DTnoiseDBValidation.h:62
DTTopology
Definition: DTTopology.h:28
DTnoiseDBValidation::stationHisto_
MonitorElement * stationHisto_
Definition: DTnoiseDBValidation.h:70
DTWireId
Definition: DTWireId.h:12
DTnoiseDBValidation::noiseMap_
const DTStatusFlag * noiseMap_
Definition: DTnoiseDBValidation.h:61
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
edm::ESHandle
Definition: DTSurvey.h:22
DTStatusFlag::const_iterator
std::vector< std::pair< DTStatusFlagId, DTStatusFlagData > >::const_iterator const_iterator
Access methods to data.
Definition: DTStatusFlag.h:192
dqm::implementation::DQMStore::setCurrentFolder
void setCurrentFolder(std::string const &fullpath) override
Definition: DQMStore.h:569
DTnoiseDBValidation::outputFileName_
std::string outputFileName_
Definition: DTnoiseDBValidation.h:55
MonitorElementData::QReport::getBadChannels
const std::vector< DQMChannel > & getBadChannels() const
Definition: MonitorElementCollection.h:116
dqm::implementation::DQMStore::save
DQM_DEPRECATED void save(std::string const &filename, std::string const &path="")
Definition: DQMStore.cc:761
DTnoiseDBValidation::outputMEsInRootFile_
bool outputMEsInRootFile_
Definition: DTnoiseDBValidation.h:54
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTStatusFlagRcd
Definition: DTStatusFlagRcd.h:5
dqm::impl::MonitorElement::getQReport
const MonitorElementData::QReport * getQReport(const std::string &qtname) const
get QReport corresponding to <qtname> (null pointer if QReport does not exist)
Definition: MonitorElement.cc:481
DTGeometry::layer
const DTLayer * layer(const DTLayerId &id) const
Return a layer given its id.
Definition: DTGeometry.cc:96
plotT0FromHistos.binNumber
def binNumber(station, sl)
Definition: plotT0FromHistos.py:6
hgcalDigitizer_cfi.noise
noise
Definition: hgcalDigitizer_cfi.py:155
dtNoiseDBValidation_cfg.noiseRef
noiseRef
Definition: dtNoiseDBValidation_cfg.py:50
MonitorElementData::QReport
Definition: MonitorElementCollection.h:55
makeMuonMisalignmentScenario.wheel
wheel
Definition: makeMuonMisalignmentScenario.py:319
edm::Service
Definition: Service.h:30
DTnoiseDBValidation::noisyCellsValid_
int noisyCellsValid_
Definition: DTnoiseDBValidation.h:66
dqm::impl::MonitorElement::setBinLabel
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
Definition: MonitorElement.cc:771
DTChamber::superLayers
const std::vector< const DTSuperLayer * > & superLayers() const
Return the superlayers in the chamber.
Definition: DTChamber.cc:51
DTnoiseDBValidation::layerTestName_
std::string layerTestName_
Definition: DTnoiseDBValidation.h:52
DTnoiseDBValidation::sectorHisto_
MonitorElement * sectorHisto_
Definition: DTnoiseDBValidation.h:71
DTStatusFlag::end
const_iterator end() const
Definition: DTStatusFlag.cc:296
get
#define get
DTnoiseDBValidation::stationTestName_
std::string stationTestName_
Definition: DTnoiseDBValidation.h:52
DTTopology::lastChannel
int lastChannel() const
Returns the wire number of the last wire.
Definition: DTTopology.h:81
DTnoiseDBValidation::wheelTestName_
std::string wheelTestName_
Definition: DTnoiseDBValidation.h:52
DTChamberId::sector
int sector() const
Definition: DTChamberId.h:49
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
dqm::implementation::IBooker::book2D
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
HltBtagPostValidation_cff.histoName
histoName
Definition: HltBtagPostValidation_cff.py:17
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
DTChamberId
Definition: DTChamberId.h:14
DTnoiseDBValidation::dtGeom_
edm::ESHandle< DTGeometry > dtGeom_
Definition: DTnoiseDBValidation.h:58
DTnoiseDBValidation::labelDB_
std::string labelDB_
Definition: DTnoiseDBValidation.h:51
DTnoiseDBValidation::dbe_
DQMStore * dbe_
Definition: DTnoiseDBValidation.h:48
MuonGeometryRecord
Definition: MuonGeometryRecord.h:34
DTChamberId::wheel
int wheel() const
Return the wheel number.
Definition: DTChamberId.h:39
label
const char * label
Definition: PFTauDecayModeTools.cc:11
hgcalTopologyTester_cfi.layers
layers
Definition: hgcalTopologyTester_cfi.py:8
DTChamberId::station
int station() const
Return the station number.
Definition: DTChamberId.h:42
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
DTnoiseDBValidation::wheelHisto_
MonitorElement * wheelHisto_
Definition: DTnoiseDBValidation.h:69
DTnoiseDBValidation::noisyCellsRef_
int noisyCellsRef_
Definition: DTnoiseDBValidation.h:65