CMS 3D CMS Logo

DQMHcalPhiSymAlCaReco.cc
Go to the documentation of this file.
1 /*
2  * \file DQMHcalPhiSymAlCaReco.cc
3  *
4  * \author Olga Kodolova
5  *
6  *
7  *
8  * Description: Monitoring of Phi Symmetry Calibration Stream
9  */
10 
15 
17 
18 // DQM include files
19 
21 
22 // work on collections
23 
28 
34 
36 
37 using namespace std;
38 using namespace edm;
39 
40 // ******************************************
41 // constructors
42 // *****************************************
43 
45  //
46  // Input from configurator file
47  //
48  folderName_ = ps.getUntrackedParameter<string>("FolderName", "ALCAStreamHcalPhiSym");
49 
50  hbherecoMB = consumes<HBHERecHitCollection>(ps.getParameter<edm::InputTag>("hbheInputMB"));
51  horecoMB = ps.getParameter<edm::InputTag>("hoInputMB");
52  hfrecoMB = consumes<HFRecHitCollection>(ps.getParameter<edm::InputTag>("hfInputMB"));
53 
54  hbherecoNoise = consumes<HBHERecHitCollection>(ps.getParameter<edm::InputTag>("hbheInputNoise"));
55  horecoNoise = ps.getParameter<edm::InputTag>("hoInputNoise");
56  hfrecoNoise = consumes<HFRecHitCollection>(ps.getParameter<edm::InputTag>("hfInputNoise"));
57 
58  rawInLabel_ = consumes<FEDRawDataCollection>(ps.getParameter<edm::InputTag>("rawInputLabel"));
59 
60  period_ = ps.getParameter<unsigned int>("period");
61 
62  saveToFile_ = ps.getUntrackedParameter<bool>("SaveToFile", false);
63  fileName_ = ps.getUntrackedParameter<string>("FileName", "MonitorAlCaHcalPhiSym.root");
64 
65  // histogram parameters
66 
67  // Distribution of rechits in iPhi, iEta
68  hiDistr_y_nbin_ = ps.getUntrackedParameter<int>("hiDistr_y_nbin", 72);
69  hiDistr_y_min_ = ps.getUntrackedParameter<double>("hiDistr_y_min", 0.5);
70  hiDistr_y_max_ = ps.getUntrackedParameter<double>("hiDistr_y_max", 72.5);
71  hiDistr_x_nbin_ = ps.getUntrackedParameter<int>("hiDistr_x_nbin", 41);
72  hiDistr_x_min_ = ps.getUntrackedParameter<double>("hiDistr_x_min", 0.5);
73  hiDistr_x_max_ = ps.getUntrackedParameter<double>("hiDistr_x_max", 41.5);
74  // Check for NZS
75  hiDistr_r_nbin_ = ps.getUntrackedParameter<int>("hiDistr_r_nbin", 100);
76  ihbhe_size_ = ps.getUntrackedParameter<double>("ihbhe_size_", 5184.);
77  ihf_size_ = ps.getUntrackedParameter<double>("ihf_size_", 1728.);
78 }
79 
81 
82 //--------------------------------------------------------
83 void DQMHcalPhiSymAlCaReco::bookHistograms(DQMStore::IBooker &ibooker,
84  edm::Run const &irun,
85  edm::EventSetup const &isetup) {
86  // create and cd into new folder
87  ibooker.setCurrentFolder(folderName_);
88 
89  eventCounter_ = 0;
90 
91  hFEDsize = ibooker.book1D("hFEDsize", "HCAL FED size (kB)", 200, -0.5, 20.5);
92  hFEDsize->setAxisTitle("kB", 1);
93 
94  hHcalIsZS = ibooker.book1D("hHcalIsZS", "Hcal Is ZS", 4, -1.5, 2.5);
95  hHcalIsZS->setBinLabel(2, "NZS");
96  hHcalIsZS->setBinLabel(3, "ZS");
97 
98  char hname[50];
99  sprintf(hname, "L1 Event Number %% %i", period_);
100  hL1Id = ibooker.book1D("hL1Id", hname, 4200, -99.5, 4099.5);
101  hL1Id->setAxisTitle(hname);
102 
103  // book some histograms 1D
104  double xmin = 0.1;
105  double xmax = 1.1;
106  hiDistrHBHEsize1D_ = ibooker.book1D("DistrHBHEsize", "Size of HBHE Collection", hiDistr_r_nbin_, xmin, xmax);
107  hiDistrHFsize1D_ = ibooker.book1D("DistrHFsize", "Size of HF Collection", hiDistr_r_nbin_, xmin, xmax);
108 
109  // First moment
110  hiDistrMBPl2D_ = ibooker.book2D("MBdepthPl1",
111  "iphi- +ieta signal distribution at depth1",
118 
119  hiDistrMBPl2D_->setAxisTitle("i#phi ", 2);
120  hiDistrMBPl2D_->setAxisTitle("i#eta ", 1);
121 
122  hiDistrNoisePl2D_ = ibooker.book2D("NoisedepthPl1",
123  "iphi-ieta noise distribution at depth1",
124  hiDistr_x_nbin_ + 1,
125  hiDistr_x_min_ - 1.,
127  hiDistr_y_nbin_ + 1,
128  hiDistr_y_min_ - 1.,
130 
131  hiDistrNoisePl2D_->setAxisTitle("i#phi ", 2);
132  hiDistrNoisePl2D_->setAxisTitle("i#eta ", 1);
133  // Second moment
134  hiDistrMB2Pl2D_ = ibooker.book2D("MB2depthPl1",
135  "iphi- +ieta signal distribution at depth1",
142 
143  hiDistrMB2Pl2D_->setAxisTitle("i#phi ", 2);
144  hiDistrMB2Pl2D_->setAxisTitle("i#eta ", 1);
145 
146  hiDistrNoise2Pl2D_ = ibooker.book2D("Noise2depthPl1",
147  "iphi-ieta noise distribution at depth1",
154 
155  hiDistrNoise2Pl2D_->setAxisTitle("i#phi ", 2);
156  hiDistrNoise2Pl2D_->setAxisTitle("i#eta ", 1);
157 
158  // Variance
159  hiDistrVarMBPl2D_ = ibooker.book2D("VarMBdepthPl1",
160  "iphi- +ieta signal distribution at depth1",
167 
168  hiDistrVarMBPl2D_->setAxisTitle("i#phi ", 2);
169  hiDistrVarMBPl2D_->setAxisTitle("i#eta ", 1);
170 
171  hiDistrVarNoisePl2D_ = ibooker.book2D("VarNoisedepthPl1",
172  "iphi-ieta noise distribution at depth1",
179 
180  hiDistrVarNoisePl2D_->setAxisTitle("i#phi ", 2);
181  hiDistrVarNoisePl2D_->setAxisTitle("i#eta ", 1);
182 
183  //==================================================================================
184  // First moment
185  hiDistrMBMin2D_ = ibooker.book2D("MBdepthMin1",
186  "iphi- +ieta signal distribution at depth1",
193 
194  hiDistrMBMin2D_->setAxisTitle("i#phi ", 2);
195  hiDistrMBMin2D_->setAxisTitle("i#eta ", 1);
196 
197  hiDistrNoiseMin2D_ = ibooker.book2D("NoisedepthMin1",
198  "iphi-ieta noise distribution at depth1",
205 
206  hiDistrNoiseMin2D_->setAxisTitle("i#phi ", 2);
207  hiDistrNoiseMin2D_->setAxisTitle("i#eta ", 1);
208  // Second moment
209  hiDistrMB2Min2D_ = ibooker.book2D("MB2depthMin1",
210  "iphi- +ieta signal distribution at depth1",
217 
218  hiDistrMB2Min2D_->setAxisTitle("i#phi ", 2);
219  hiDistrMB2Min2D_->setAxisTitle("i#eta ", 1);
220 
221  hiDistrNoise2Min2D_ = ibooker.book2D("Noise2depthMin1",
222  "iphi-ieta noise distribution at depth1",
229 
230  hiDistrNoise2Min2D_->setAxisTitle("i#phi ", 2);
231  hiDistrNoise2Min2D_->setAxisTitle("i#eta ", 1);
232 
233  // Variance
234  hiDistrVarMBMin2D_ = ibooker.book2D("VarMBdepthMin1",
235  "iphi- +ieta signal distribution at depth1",
242 
243  hiDistrVarMBMin2D_->setAxisTitle("i#phi ", 2);
244  hiDistrVarMBMin2D_->setAxisTitle("i#eta ", 1);
245 
246  hiDistrVarNoiseMin2D_ = ibooker.book2D("VarNoisedepthMin1",
247  "iphi-ieta noise distribution at depth1",
254 
255  hiDistrVarNoiseMin2D_->setAxisTitle("i#phi ", 2);
256  hiDistrVarNoiseMin2D_->setAxisTitle("i#eta ", 1);
257 }
258 
259 //--------------------------------------------------------
260 // void DQMHcalPhiSymAlCaReco::beginRun(const edm::Run& r, const EventSetup&
261 // context) {
263 //}
264 
265 //--------------------------------------------------------
266 
267 //-------------------------------------------------------------
268 
270  eventCounter_++;
271 
273  iEvent.getByToken(rawInLabel_, rawIn);
274 
275  if (!rawIn.isValid()) {
276  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
277  return;
278  }
279 
280  // get HCAL FEDs:
281  std::vector<int> selFEDs;
283  selFEDs.push_back(i);
284  }
285 
286  // std::cout<<" Size of FED "<<selFEDs.size()<<std::endl;
287 
288  const FEDRawDataCollection *rdc = rawIn.product();
289 
290  bool hcalIsZS = false;
291  int lvl1ID = 0;
292  bool lvl1IDFound = false;
293  for (unsigned int k = 0; k < selFEDs.size(); k++) {
294  const FEDRawData &fedData = rdc->FEDData(selFEDs[k]);
295  // std::cout<<fedData.size()*std::pow(1024.,-1)<<std::endl;
296  hFEDsize->Fill(fedData.size() * std::pow(1024., -1), 1);
297 
298  // get HCAL DCC Header for each FEDRawData
299  const HcalDCCHeader *dccHeader = (const HcalDCCHeader *)(fedData.data());
300  if (dccHeader) {
301  // walk through the HTR data...
302  HcalHTRData htr;
303 
304  int nspigot = 0;
305  for (int spigot = 0; spigot < HcalDCCHeader::SPIGOT_COUNT; spigot++) {
306  nspigot++;
307 
308  if (!dccHeader->getSpigotPresent(spigot))
309  continue;
310 
311  // Load the given decoder with the pointer and length from this spigot.
312  dccHeader->getSpigotData(spigot, htr, fedData.size());
313 
314  if (k != 20 && nspigot != 14) {
315  if (!htr.isUnsuppressed()) {
316  hcalIsZS = true;
317  }
318  }
319  }
320  }
321 
322  // try to get the lvl1ID from the HCAL fed
323  if (!lvl1IDFound && (fedData.size() > 0)) {
324  // get FED Header for FEDRawData
325  FEDHeader fedHeader(fedData.data());
326  lvl1ID = fedHeader.lvl1ID();
327  lvl1IDFound = true;
328  }
329  } // loop over HcalFEDs
330 
331  hHcalIsZS->Fill(hcalIsZS);
332  hL1Id->Fill(lvl1ID % period_);
333 
335  iEvent.getByToken(hbherecoNoise, hbheNS);
336 
337  if (!hbheNS.isValid()) {
338  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
339  return;
340  }
341 
343  iEvent.getByToken(hbherecoMB, hbheMB);
344 
345  if (!hbheMB.isValid()) {
346  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
347  return;
348  }
349 
351  iEvent.getByToken(hfrecoNoise, hfNS);
352 
353  if (!hfNS.isValid()) {
354  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
355  return;
356  }
357 
359  iEvent.getByToken(hfrecoMB, hfMB);
360 
361  if (!hfMB.isValid()) {
362  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
363  return;
364  }
365 
366  const HBHERecHitCollection HithbheNS = *(hbheNS.product());
367 
368  hiDistrHBHEsize1D_->Fill(HithbheNS.size() / ihbhe_size_);
369 
370  for (HBHERecHitCollection::const_iterator hbheItr = HithbheNS.begin(); hbheItr != HithbheNS.end(); hbheItr++) {
371  DetId id = (*hbheItr).detid();
372  HcalDetId hid = HcalDetId(id);
373 
374  if (hid.depth() == 1) {
375  if (hid.ieta() > 0) {
376  hiDistrNoisePl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy());
377  hiDistrNoise2Pl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy() * hbheItr->energy());
378  } else {
379  hiDistrNoiseMin2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy());
380  hiDistrNoise2Min2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy() * hbheItr->energy());
381  }
382  }
383  }
384 
385  const HBHERecHitCollection HithbheMB = *(hbheMB.product());
386 
387  for (HBHERecHitCollection::const_iterator hbheItr = HithbheMB.begin(); hbheItr != HithbheMB.end(); hbheItr++) {
388  DetId id = (*hbheItr).detid();
389  HcalDetId hid = HcalDetId(id);
390 
391  if (hid.depth() == 1) {
392  if (hid.ieta() > 0) {
393  hiDistrMBPl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy());
394  hiDistrMB2Pl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy() * hbheItr->energy());
395  } else {
396  hiDistrMBMin2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy());
397  hiDistrMB2Min2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy() * hbheItr->energy());
398  }
399  }
400  }
401 
402  const HFRecHitCollection HithfNS = *(hfNS.product());
403 
404  hiDistrHFsize1D_->Fill(HithfNS.size() / ihf_size_);
405 
406  for (HFRecHitCollection::const_iterator hbheItr = HithfNS.begin(); hbheItr != HithfNS.end(); hbheItr++) {
407  DetId id = (*hbheItr).detid();
408  HcalDetId hid = HcalDetId(id);
409 
410  if (hid.depth() == 1) {
411  if (hid.ieta() > 0) {
412  hiDistrNoisePl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy());
413  hiDistrNoise2Pl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy() * hbheItr->energy());
414  } else {
415  hiDistrNoiseMin2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy());
416  hiDistrNoise2Min2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy() * hbheItr->energy());
417  }
418  }
419  }
420 
421  const HFRecHitCollection HithfMB = *(hfMB.product());
422 
423  for (HFRecHitCollection::const_iterator hbheItr = HithfMB.begin(); hbheItr != HithfMB.end(); hbheItr++) {
424  DetId id = (*hbheItr).detid();
425  HcalDetId hid = HcalDetId(id);
426 
427  if (hid.depth() == 1) {
428  if (hid.ieta() > 0) {
429  hiDistrMBPl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy());
430  hiDistrMB2Pl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy() * hbheItr->energy());
431  } else {
432  hiDistrMBMin2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy());
433  hiDistrMB2Min2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy() * hbheItr->energy());
434  }
435  }
436  }
437 
438 } // analyze
439 
440 //--------------------------------------------------------
441 //--------------------------------------------------------
442 void DQMHcalPhiSymAlCaReco::dqmEndRun(const Run &r, const EventSetup &context) {
443  // Keep Variances
444  if (eventCounter_ > 0) {
445  for (int k = 0; k <= hiDistr_x_nbin_; k++) {
446  for (int j = 0; j <= hiDistr_y_nbin_; j++) {
447  // First moment
448  float cc1 = hiDistrMBPl2D_->getBinContent(k, j);
449  cc1 = cc1 * 1. / eventCounter_;
450  float cc2 = hiDistrNoisePl2D_->getBinContent(k, j);
451  cc2 = cc2 * 1. / eventCounter_;
452  float cc3 = hiDistrMBMin2D_->getBinContent(k, j);
453  cc3 = cc3 * 1. / eventCounter_;
454  float cc4 = hiDistrNoiseMin2D_->getBinContent(k, j);
455  cc4 = cc4 * 1. / eventCounter_;
456  // Second moment
457  float cc11 = hiDistrMB2Pl2D_->getBinContent(k, j);
458  cc11 = cc11 * 1. / eventCounter_;
459  hiDistrVarMBPl2D_->setBinContent(k, j, cc11 - cc1 * cc1);
460  float cc22 = hiDistrNoise2Pl2D_->getBinContent(k, j);
461  cc22 = cc22 * 1. / eventCounter_;
462  hiDistrVarNoisePl2D_->setBinContent(k, j, cc22 - cc2 * cc2);
463  float cc33 = hiDistrMB2Min2D_->getBinContent(k, j);
464  cc33 = cc33 * 1. / eventCounter_;
465  hiDistrVarMBMin2D_->setBinContent(k, j, cc33 - cc3 * cc3);
466  float cc44 = hiDistrNoise2Min2D_->getBinContent(k, j);
467  cc44 = cc44 * 1. / eventCounter_;
468  hiDistrVarNoiseMin2D_->setBinContent(k, j, cc44 - cc4 * cc4);
469  }
470  }
471  }
472 }
FEDNumbering.h
mps_fire.i
i
Definition: mps_fire.py:355
edm::SortedCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: SortedCollection.h:80
MessageLogger.h
DQMHcalPhiSymAlCaReco::hiDistrMB2Pl2D_
MonitorElement * hiDistrMB2Pl2D_
Definition: DQMHcalPhiSymAlCaReco.h:44
edm::Handle::product
T const * product() const
Definition: Handle.h:70
HcalDetId::iphi
constexpr int iphi() const
get the cell iphi
Definition: HcalDetId.h:157
DQMHcalPhiSymAlCaReco::hiDistr_x_nbin_
int hiDistr_x_nbin_
Definition: DQMHcalPhiSymAlCaReco.h:62
edm::Run
Definition: Run.h:45
FEDRawDataCollection
Definition: FEDRawDataCollection.h:18
edm
HLT enums.
Definition: AlignableModifier.h:19
HcalHTRData::isUnsuppressed
bool isUnsuppressed() const
Is this event an unsuppresed event?
Definition: HcalHTRData.cc:378
DQMHcalPhiSymAlCaReco::hiDistrVarMBMin2D_
MonitorElement * hiDistrVarMBMin2D_
Definition: DQMHcalPhiSymAlCaReco.h:51
DQMHcalPhiSymAlCaReco::hiDistrNoiseMin2D_
MonitorElement * hiDistrNoiseMin2D_
Definition: DQMHcalPhiSymAlCaReco.h:42
DQMHcalPhiSymAlCaReco::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DQMHcalPhiSymAlCaReco.cc:83
edm::SortedCollection
Definition: SortedCollection.h:49
DQMStore.h
edm::SortedCollection::size
size_type size() const
Definition: SortedCollection.h:215
HcalDetId::depth
constexpr int depth() const
get the tower depth
Definition: HcalDetId.h:164
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
DQMHcalPhiSymAlCaReco::horecoMB
edm::InputTag horecoMB
Definition: DQMHcalPhiSymAlCaReco.h:75
FEDHeader::lvl1ID
uint32_t lvl1ID() const
Level-1 event number generated by the TTC system.
Definition: FEDHeader.cc:15
FEDRawData.h
edm::Handle
Definition: AssociativeIterator.h:50
DQMHcalPhiSymAlCaReco::hiDistrNoise2Pl2D_
MonitorElement * hiDistrNoise2Pl2D_
Definition: DQMHcalPhiSymAlCaReco.h:45
HcalDCCHeader::SPIGOT_COUNT
static const int SPIGOT_COUNT
Definition: HcalDCCHeader.h:19
FEDRawData::data
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:24
FEDRawData
Definition: FEDRawData.h:19
DQMHcalPhiSymAlCaReco::eventCounter_
int eventCounter_
Definition: DQMHcalPhiSymAlCaReco.h:34
DetId
Definition: DetId.h:17
DQMHcalPhiSymAlCaReco::ihbhe_size_
double ihbhe_size_
Definition: DQMHcalPhiSymAlCaReco.h:69
DQMHcalPhiSymAlCaReco::hiDistrMBPl2D_
MonitorElement * hiDistrMBPl2D_
Definition: DQMHcalPhiSymAlCaReco.h:39
DQMHcalPhiSymAlCaReco::hiDistrNoisePl2D_
MonitorElement * hiDistrNoisePl2D_
Definition: DQMHcalPhiSymAlCaReco.h:40
DQMHcalPhiSymAlCaReco::saveToFile_
bool saveToFile_
Write to file.
Definition: DQMHcalPhiSymAlCaReco.h:88
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
Service.h
DQMHcalPhiSymAlCaReco::hbherecoMB
edm::EDGetTokenT< HBHERecHitCollection > hbherecoMB
object to monitor
Definition: DQMHcalPhiSymAlCaReco.h:74
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
DQMHcalPhiSymAlCaReco::ihf_size_
double ihf_size_
Definition: DQMHcalPhiSymAlCaReco.h:70
dqmdumpme.k
k
Definition: dqmdumpme.py:60
FEDRawDataCollection::FEDData
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
Definition: FEDRawDataCollection.cc:19
DQMHcalPhiSymAlCaReco::hL1Id
MonitorElement * hL1Id
Definition: DQMHcalPhiSymAlCaReco.h:59
DQMHcalPhiSymAlCaReco::hiDistr_r_nbin_
int hiDistr_r_nbin_
Definition: DQMHcalPhiSymAlCaReco.h:68
DQMHcalPhiSymAlCaReco::hiDistrVarNoiseMin2D_
MonitorElement * hiDistrVarNoiseMin2D_
Definition: DQMHcalPhiSymAlCaReco.h:52
DQMHcalPhiSymAlCaReco::hiDistrHBHEsize1D_
MonitorElement * hiDistrHBHEsize1D_
Definition: DQMHcalPhiSymAlCaReco.h:54
CaloSubdetectorGeometry.h
HcalDetId::ieta
constexpr int ieta() const
get the cell ieta
Definition: HcalDetId.h:155
DQMHcalPhiSymAlCaReco::hiDistr_x_max_
double hiDistr_x_max_
Definition: DQMHcalPhiSymAlCaReco.h:66
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
DQMHcalPhiSymAlCaReco.h
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
DQMHcalPhiSymAlCaReco::hiDistrVarMBPl2D_
MonitorElement * hiDistrVarMBPl2D_
Definition: DQMHcalPhiSymAlCaReco.h:49
DQMHcalPhiSymAlCaReco::horecoNoise
edm::InputTag horecoNoise
Definition: DQMHcalPhiSymAlCaReco.h:79
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
HcalDetId.h
DQMHcalPhiSymAlCaReco::DQMHcalPhiSymAlCaReco
DQMHcalPhiSymAlCaReco(const edm::ParameterSet &)
Definition: DQMHcalPhiSymAlCaReco.cc:44
HcalDetId
Definition: HcalDetId.h:12
iEvent
int iEvent
Definition: GenABIO.cc:224
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
DQMHcalPhiSymAlCaReco::hHcalIsZS
MonitorElement * hHcalIsZS
Definition: DQMHcalPhiSymAlCaReco.h:58
DQMHcalPhiSymAlCaReco::hiDistr_x_min_
double hiDistr_x_min_
Definition: DQMHcalPhiSymAlCaReco.h:65
DQMHcalPhiSymAlCaReco::rawInLabel_
edm::EDGetTokenT< FEDRawDataCollection > rawInLabel_
Definition: DQMHcalPhiSymAlCaReco.h:82
edm::EventSetup
Definition: EventSetup.h:57
HcalSubdetector.h
DQMHcalPhiSymAlCaReco::hiDistrMBMin2D_
MonitorElement * hiDistrMBMin2D_
Definition: DQMHcalPhiSymAlCaReco.h:41
FEDRawData::size
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:45
HcalDCCHeader::getSpigotPresent
bool getSpigotPresent(unsigned int nspigot) const
Read the "PRESENT" bit for this spigot.
Definition: HcalDCCHeader.h:106
HcalDCCHeader
Definition: HcalDCCHeader.h:17
alignCSCRings.r
r
Definition: alignCSCRings.py:93
DQMHcalPhiSymAlCaReco::hiDistr_y_nbin_
int hiDistr_y_nbin_
Definition: DQMHcalPhiSymAlCaReco.h:61
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
DQMHcalPhiSymAlCaReco::hiDistrHFsize1D_
MonitorElement * hiDistrHFsize1D_
Definition: DQMHcalPhiSymAlCaReco.h:55
DQMHcalPhiSymAlCaReco::dqmEndRun
void dqmEndRun(const edm::Run &r, const edm::EventSetup &c) override
Definition: DQMHcalPhiSymAlCaReco.cc:442
dqm::impl::MonitorElement::setBinContent
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
Definition: MonitorElement.cc:691
CaloCellGeometry.h
DQMHcalPhiSymAlCaReco::hFEDsize
MonitorElement * hFEDsize
Definition: DQMHcalPhiSymAlCaReco.h:57
std
Definition: JetResolutionObject.h:76
DQMHcalPhiSymAlCaReco::folderName_
std::string folderName_
DQM folder name.
Definition: DQMHcalPhiSymAlCaReco.h:85
TrackerOfflineValidation_Dqm_cff.xmax
xmax
Definition: TrackerOfflineValidation_Dqm_cff.py:11
FEDNumbering::MINHCALFEDID
Definition: FEDNumbering.h:47
DQMHcalPhiSymAlCaReco::hfrecoMB
edm::EDGetTokenT< HFRecHitCollection > hfrecoMB
Definition: DQMHcalPhiSymAlCaReco.h:76
DQMHcalPhiSymAlCaReco::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: DQMHcalPhiSymAlCaReco.cc:269
EventSetup.h
DQMHcalPhiSymAlCaReco::hiDistrMB2Min2D_
MonitorElement * hiDistrMB2Min2D_
Definition: DQMHcalPhiSymAlCaReco.h:46
DQMHcalPhiSymAlCaReco::hiDistr_y_min_
double hiDistr_y_min_
Definition: DQMHcalPhiSymAlCaReco.h:63
DQMHcalPhiSymAlCaReco::period_
unsigned int period_
Definition: DQMHcalPhiSymAlCaReco.h:91
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:30
HcalDCCHeader.h
DQMHcalPhiSymAlCaReco::hiDistr_y_max_
double hiDistr_y_max_
Definition: DQMHcalPhiSymAlCaReco.h:64
ParameterSet.h
FEDNumbering::MAXHCALFEDID
Definition: FEDNumbering.h:48
DQMHcalPhiSymAlCaReco::fileName_
std::string fileName_
Output file name if required.
Definition: DQMHcalPhiSymAlCaReco.h:94
DQMHcalPhiSymAlCaReco::~DQMHcalPhiSymAlCaReco
~DQMHcalPhiSymAlCaReco() override
Definition: DQMHcalPhiSymAlCaReco.cc:80
TrackerOfflineValidation_Dqm_cff.xmin
xmin
Definition: TrackerOfflineValidation_Dqm_cff.py:10
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
FEDHeader
Definition: FEDHeader.h:14
edm::Event
Definition: Event.h:73
DQMHcalPhiSymAlCaReco::hbherecoNoise
edm::EDGetTokenT< HBHERecHitCollection > hbherecoNoise
Definition: DQMHcalPhiSymAlCaReco.h:78
HcalHTRData
Definition: HcalHTRData.h:16
FEDHeader.h
dqm::impl::MonitorElement::setAxisTitle
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Definition: MonitorElement.cc:800
dqm::impl::MonitorElement::getBinContent
virtual double getBinContent(int binx) const
get content of bin (1-D)
Definition: MonitorElement.cc:592
edm::InputTag
Definition: InputTag.h:15
HcalDCCHeader::getSpigotData
int getSpigotData(int nspigot, HcalHTRData &decodeTool, int validSize) const
Definition: HcalDCCHeader.cc:27
DQMHcalPhiSymAlCaReco::hiDistrVarNoisePl2D_
MonitorElement * hiDistrVarNoisePl2D_
Definition: DQMHcalPhiSymAlCaReco.h:50
DQMHcalPhiSymAlCaReco::hfrecoNoise
edm::EDGetTokenT< HFRecHitCollection > hfrecoNoise
Definition: DQMHcalPhiSymAlCaReco.h:80
DQMHcalPhiSymAlCaReco::hiDistrNoise2Min2D_
MonitorElement * hiDistrNoise2Min2D_
Definition: DQMHcalPhiSymAlCaReco.h:47
HcalHTRData.h