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  perLSsaving_ = (ps.getUntrackedParameter<bool>("perLSsaving", false));
66 
67  // histogram parameters
68 
69  // Distribution of rechits in iPhi, iEta
70  hiDistr_y_nbin_ = ps.getUntrackedParameter<int>("hiDistr_y_nbin", 72);
71  hiDistr_y_min_ = ps.getUntrackedParameter<double>("hiDistr_y_min", 0.5);
72  hiDistr_y_max_ = ps.getUntrackedParameter<double>("hiDistr_y_max", 72.5);
73  hiDistr_x_nbin_ = ps.getUntrackedParameter<int>("hiDistr_x_nbin", 41);
74  hiDistr_x_min_ = ps.getUntrackedParameter<double>("hiDistr_x_min", 0.5);
75  hiDistr_x_max_ = ps.getUntrackedParameter<double>("hiDistr_x_max", 41.5);
76  // Check for NZS
77  hiDistr_r_nbin_ = ps.getUntrackedParameter<int>("hiDistr_r_nbin", 100);
78  ihbhe_size_ = ps.getUntrackedParameter<double>("ihbhe_size_", 5184.);
79  ihf_size_ = ps.getUntrackedParameter<double>("ihf_size_", 1728.);
80 }
81 
83 
84 //--------------------------------------------------------
86  edm::Run const &irun,
87  edm::EventSetup const &isetup) {
88  // create and cd into new folder
90 
91  eventCounter_ = 0;
92 
93  hFEDsize = ibooker.book1D("hFEDsize", "HCAL FED size (kB)", 200, -0.5, 20.5);
94  hFEDsize->setAxisTitle("kB", 1);
95 
96  hHcalIsZS = ibooker.book1D("hHcalIsZS", "Hcal Is ZS", 4, -1.5, 2.5);
97  hHcalIsZS->setBinLabel(2, "NZS");
98  hHcalIsZS->setBinLabel(3, "ZS");
99 
100  char hname[50];
101  sprintf(hname, "L1 Event Number %% %i", period_);
102  hL1Id = ibooker.book1D("hL1Id", hname, 4200, -99.5, 4099.5);
103  hL1Id->setAxisTitle(hname);
104 
105  // book some histograms 1D
106  double xmin = 0.1;
107  double xmax = 1.1;
108  hiDistrHBHEsize1D_ = ibooker.book1D("DistrHBHEsize", "Size of HBHE Collection", hiDistr_r_nbin_, xmin, xmax);
109  hiDistrHFsize1D_ = ibooker.book1D("DistrHFsize", "Size of HF Collection", hiDistr_r_nbin_, xmin, xmax);
110 
111  // First moment
112  hiDistrMBPl2D_ = ibooker.book2D("MBdepthPl1",
113  "iphi- +ieta signal distribution at depth1",
120 
121  hiDistrMBPl2D_->setAxisTitle("i#phi ", 2);
122  hiDistrMBPl2D_->setAxisTitle("i#eta ", 1);
123 
124  hiDistrNoisePl2D_ = ibooker.book2D("NoisedepthPl1",
125  "iphi-ieta noise distribution at depth1",
126  hiDistr_x_nbin_ + 1,
127  hiDistr_x_min_ - 1.,
129  hiDistr_y_nbin_ + 1,
130  hiDistr_y_min_ - 1.,
132 
133  hiDistrNoisePl2D_->setAxisTitle("i#phi ", 2);
134  hiDistrNoisePl2D_->setAxisTitle("i#eta ", 1);
135  // Second moment
136  hiDistrMB2Pl2D_ = ibooker.book2D("MB2depthPl1",
137  "iphi- +ieta signal distribution at depth1",
144 
145  hiDistrMB2Pl2D_->setAxisTitle("i#phi ", 2);
146  hiDistrMB2Pl2D_->setAxisTitle("i#eta ", 1);
147 
148  hiDistrNoise2Pl2D_ = ibooker.book2D("Noise2depthPl1",
149  "iphi-ieta noise distribution at depth1",
156 
157  hiDistrNoise2Pl2D_->setAxisTitle("i#phi ", 2);
158  hiDistrNoise2Pl2D_->setAxisTitle("i#eta ", 1);
159 
160  // Variance
161  hiDistrVarMBPl2D_ = ibooker.book2D("VarMBdepthPl1",
162  "iphi- +ieta signal distribution at depth1",
169 
170  hiDistrVarMBPl2D_->setAxisTitle("i#phi ", 2);
171  hiDistrVarMBPl2D_->setAxisTitle("i#eta ", 1);
172 
173  hiDistrVarNoisePl2D_ = ibooker.book2D("VarNoisedepthPl1",
174  "iphi-ieta noise distribution at depth1",
181 
182  hiDistrVarNoisePl2D_->setAxisTitle("i#phi ", 2);
183  hiDistrVarNoisePl2D_->setAxisTitle("i#eta ", 1);
184 
185  //==================================================================================
186  // First moment
187  hiDistrMBMin2D_ = ibooker.book2D("MBdepthMin1",
188  "iphi- +ieta signal distribution at depth1",
195 
196  hiDistrMBMin2D_->setAxisTitle("i#phi ", 2);
197  hiDistrMBMin2D_->setAxisTitle("i#eta ", 1);
198 
199  hiDistrNoiseMin2D_ = ibooker.book2D("NoisedepthMin1",
200  "iphi-ieta noise distribution at depth1",
207 
208  hiDistrNoiseMin2D_->setAxisTitle("i#phi ", 2);
209  hiDistrNoiseMin2D_->setAxisTitle("i#eta ", 1);
210  // Second moment
211  hiDistrMB2Min2D_ = ibooker.book2D("MB2depthMin1",
212  "iphi- +ieta signal distribution at depth1",
219 
220  hiDistrMB2Min2D_->setAxisTitle("i#phi ", 2);
221  hiDistrMB2Min2D_->setAxisTitle("i#eta ", 1);
222 
223  hiDistrNoise2Min2D_ = ibooker.book2D("Noise2depthMin1",
224  "iphi-ieta noise distribution at depth1",
231 
232  hiDistrNoise2Min2D_->setAxisTitle("i#phi ", 2);
233  hiDistrNoise2Min2D_->setAxisTitle("i#eta ", 1);
234 
235  // Variance
236  hiDistrVarMBMin2D_ = ibooker.book2D("VarMBdepthMin1",
237  "iphi- +ieta signal distribution at depth1",
244 
245  hiDistrVarMBMin2D_->setAxisTitle("i#phi ", 2);
246  hiDistrVarMBMin2D_->setAxisTitle("i#eta ", 1);
247 
248  hiDistrVarNoiseMin2D_ = ibooker.book2D("VarNoisedepthMin1",
249  "iphi-ieta noise distribution at depth1",
256 
257  hiDistrVarNoiseMin2D_->setAxisTitle("i#phi ", 2);
258  hiDistrVarNoiseMin2D_->setAxisTitle("i#eta ", 1);
259 }
260 
261 //--------------------------------------------------------
262 // void DQMHcalPhiSymAlCaReco::beginRun(const edm::Run& r, const EventSetup&
263 // context) {
265 //}
266 
267 //--------------------------------------------------------
268 
269 //-------------------------------------------------------------
270 
272  eventCounter_++;
273 
275  iEvent.getByToken(rawInLabel_, rawIn);
276 
277  if (!rawIn.isValid()) {
278  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
279  return;
280  }
281 
282  // get HCAL FEDs:
283  std::vector<int> selFEDs;
285  selFEDs.push_back(i);
286  }
287 
288  // std::cout<<" Size of FED "<<selFEDs.size()<<std::endl;
289 
290  const FEDRawDataCollection *rdc = rawIn.product();
291 
292  bool hcalIsZS = false;
293  int lvl1ID = 0;
294  bool lvl1IDFound = false;
295  for (unsigned int k = 0; k < selFEDs.size(); k++) {
296  const FEDRawData &fedData = rdc->FEDData(selFEDs[k]);
297  // std::cout<<fedData.size()*std::pow(1024.,-1)<<std::endl;
298  hFEDsize->Fill(fedData.size() * std::pow(1024., -1), 1);
299 
300  // get HCAL DCC Header for each FEDRawData
301  const HcalDCCHeader *dccHeader = (const HcalDCCHeader *)(fedData.data());
302  if (dccHeader) {
303  // walk through the HTR data...
304  HcalHTRData htr;
305 
306  int nspigot = 0;
307  for (int spigot = 0; spigot < HcalDCCHeader::SPIGOT_COUNT; spigot++) {
308  nspigot++;
309 
310  if (!dccHeader->getSpigotPresent(spigot))
311  continue;
312 
313  // Load the given decoder with the pointer and length from this spigot.
314  dccHeader->getSpigotData(spigot, htr, fedData.size());
315 
316  if (k != 20 && nspigot != 14) {
317  if (!htr.isUnsuppressed()) {
318  hcalIsZS = true;
319  }
320  }
321  }
322  }
323 
324  // try to get the lvl1ID from the HCAL fed
325  if (!lvl1IDFound && (fedData.size() > 0)) {
326  // get FED Header for FEDRawData
327  FEDHeader fedHeader(fedData.data());
328  lvl1ID = fedHeader.lvl1ID();
329  lvl1IDFound = true;
330  }
331  } // loop over HcalFEDs
332 
333  hHcalIsZS->Fill(hcalIsZS);
334  hL1Id->Fill(lvl1ID % period_);
335 
337  iEvent.getByToken(hbherecoNoise, hbheNS);
338 
339  if (!hbheNS.isValid()) {
340  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
341  return;
342  }
343 
345  iEvent.getByToken(hbherecoMB, hbheMB);
346 
347  if (!hbheMB.isValid()) {
348  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
349  return;
350  }
351 
353  iEvent.getByToken(hfrecoNoise, hfNS);
354 
355  if (!hfNS.isValid()) {
356  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
357  return;
358  }
359 
361  iEvent.getByToken(hfrecoMB, hfMB);
362 
363  if (!hfMB.isValid()) {
364  LogDebug("") << "HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
365  return;
366  }
367 
368  const HBHERecHitCollection HithbheNS = *(hbheNS.product());
369 
370  hiDistrHBHEsize1D_->Fill(HithbheNS.size() / ihbhe_size_);
371 
372  for (HBHERecHitCollection::const_iterator hbheItr = HithbheNS.begin(); hbheItr != HithbheNS.end(); hbheItr++) {
373  DetId id = (*hbheItr).detid();
374  HcalDetId hid = HcalDetId(id);
375 
376  if (hid.depth() == 1) {
377  if (hid.ieta() > 0) {
378  hiDistrNoisePl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy());
379  hiDistrNoise2Pl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy() * hbheItr->energy());
380  } else {
381  hiDistrNoiseMin2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy());
382  hiDistrNoise2Min2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy() * hbheItr->energy());
383  }
384  }
385  }
386 
387  const HBHERecHitCollection HithbheMB = *(hbheMB.product());
388 
389  for (HBHERecHitCollection::const_iterator hbheItr = HithbheMB.begin(); hbheItr != HithbheMB.end(); hbheItr++) {
390  DetId id = (*hbheItr).detid();
391  HcalDetId hid = HcalDetId(id);
392 
393  if (hid.depth() == 1) {
394  if (hid.ieta() > 0) {
395  hiDistrMBPl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy());
396  hiDistrMB2Pl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy() * hbheItr->energy());
397  } else {
398  hiDistrMBMin2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy());
399  hiDistrMB2Min2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy() * hbheItr->energy());
400  }
401  }
402  }
403 
404  const HFRecHitCollection HithfNS = *(hfNS.product());
405 
406  hiDistrHFsize1D_->Fill(HithfNS.size() / ihf_size_);
407 
408  for (HFRecHitCollection::const_iterator hbheItr = HithfNS.begin(); hbheItr != HithfNS.end(); hbheItr++) {
409  DetId id = (*hbheItr).detid();
410  HcalDetId hid = HcalDetId(id);
411 
412  if (hid.depth() == 1) {
413  if (hid.ieta() > 0) {
414  hiDistrNoisePl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy());
415  hiDistrNoise2Pl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy() * hbheItr->energy());
416  } else {
417  hiDistrNoiseMin2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy());
418  hiDistrNoise2Min2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy() * hbheItr->energy());
419  }
420  }
421  }
422 
423  const HFRecHitCollection HithfMB = *(hfMB.product());
424 
425  for (HFRecHitCollection::const_iterator hbheItr = HithfMB.begin(); hbheItr != HithfMB.end(); hbheItr++) {
426  DetId id = (*hbheItr).detid();
427  HcalDetId hid = HcalDetId(id);
428 
429  if (hid.depth() == 1) {
430  if (hid.ieta() > 0) {
431  hiDistrMBPl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy());
432  hiDistrMB2Pl2D_->Fill(hid.ieta(), hid.iphi(), hbheItr->energy() * hbheItr->energy());
433  } else {
434  hiDistrMBMin2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy());
435  hiDistrMB2Min2D_->Fill(fabs(hid.ieta()), hid.iphi(), hbheItr->energy() * hbheItr->energy());
436  }
437  }
438  }
439 
440 } // analyze
441 
442 //--------------------------------------------------------
443 //--------------------------------------------------------
445  // Keep Variances
446  if (eventCounter_ > 0 && !perLSsaving_) {
447  for (int k = 0; k <= hiDistr_x_nbin_; k++) {
448  for (int j = 0; j <= hiDistr_y_nbin_; j++) {
449  // First moment
450  float cc1 = hiDistrMBPl2D_->getBinContent(k, j);
451  cc1 = cc1 * 1. / eventCounter_;
452  float cc2 = hiDistrNoisePl2D_->getBinContent(k, j);
453  cc2 = cc2 * 1. / eventCounter_;
454  float cc3 = hiDistrMBMin2D_->getBinContent(k, j);
455  cc3 = cc3 * 1. / eventCounter_;
456  float cc4 = hiDistrNoiseMin2D_->getBinContent(k, j);
457  cc4 = cc4 * 1. / eventCounter_;
458  // Second moment
459  float cc11 = hiDistrMB2Pl2D_->getBinContent(k, j);
460  cc11 = cc11 * 1. / eventCounter_;
461  hiDistrVarMBPl2D_->setBinContent(k, j, cc11 - cc1 * cc1);
462  float cc22 = hiDistrNoise2Pl2D_->getBinContent(k, j);
463  cc22 = cc22 * 1. / eventCounter_;
464  hiDistrVarNoisePl2D_->setBinContent(k, j, cc22 - cc2 * cc2);
465  float cc33 = hiDistrMB2Min2D_->getBinContent(k, j);
466  cc33 = cc33 * 1. / eventCounter_;
467  hiDistrVarMBMin2D_->setBinContent(k, j, cc33 - cc3 * cc3);
468  float cc44 = hiDistrNoise2Min2D_->getBinContent(k, j);
469  cc44 = cc44 * 1. / eventCounter_;
470  hiDistrVarNoiseMin2D_->setBinContent(k, j, cc44 - cc4 * cc4);
471  }
472  }
473  }
474 }
FEDNumbering.h
mps_fire.i
i
Definition: mps_fire.py:428
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
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
DQMHcalPhiSymAlCaReco::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DQMHcalPhiSymAlCaReco.cc:85
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:77
FEDHeader::lvl1ID
uint32_t lvl1ID() const
Level-1 event number generated by the TTC system.
Definition: FEDHeader.cc:15
FEDRawData.h
edm::Handle< FEDRawDataCollection >
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
visDQMUpload.context
context
Definition: visDQMUpload.py:37
DQMHcalPhiSymAlCaReco::eventCounter_
int eventCounter_
Definition: DQMHcalPhiSymAlCaReco.h:34
DetId
Definition: DetId.h:17
DQMHcalPhiSymAlCaReco::ihbhe_size_
double ihbhe_size_
Definition: DQMHcalPhiSymAlCaReco.h:69
FEDNumbering::MAXHCALFEDID
Definition: FEDNumbering.h:48
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:90
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:76
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:233
DQMHcalPhiSymAlCaReco.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
DQMHcalPhiSymAlCaReco::hiDistrVarMBPl2D_
MonitorElement * hiDistrVarMBPl2D_
Definition: DQMHcalPhiSymAlCaReco.h:49
DQMHcalPhiSymAlCaReco::horecoNoise
edm::InputTag horecoNoise
Definition: DQMHcalPhiSymAlCaReco.h:81
FEDNumbering::MINHCALFEDID
Definition: FEDNumbering.h:47
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:762
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:84
edm::EventSetup
Definition: EventSetup.h:58
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
DQMHcalPhiSymAlCaReco::hiDistrHFsize1D_
MonitorElement * hiDistrHFsize1D_
Definition: DQMHcalPhiSymAlCaReco.h:55
DQMHcalPhiSymAlCaReco::dqmEndRun
void dqmEndRun(const edm::Run &r, const edm::EventSetup &c) override
Definition: DQMHcalPhiSymAlCaReco.cc:444
dqm::impl::MonitorElement::setBinContent
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
Definition: MonitorElement.cc:682
CaloCellGeometry.h
DQMHcalPhiSymAlCaReco::hFEDsize
MonitorElement * hFEDsize
Definition: DQMHcalPhiSymAlCaReco.h:57
std
Definition: JetResolutionObject.h:76
DQMHcalPhiSymAlCaReco::perLSsaving_
bool perLSsaving_
Definition: DQMHcalPhiSymAlCaReco.h:72
DQMHcalPhiSymAlCaReco::folderName_
std::string folderName_
DQM folder name.
Definition: DQMHcalPhiSymAlCaReco.h:87
TrackerOfflineValidation_Dqm_cff.xmax
xmax
Definition: TrackerOfflineValidation_Dqm_cff.py:11
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
DQMHcalPhiSymAlCaReco::hfrecoMB
edm::EDGetTokenT< HFRecHitCollection > hfrecoMB
Definition: DQMHcalPhiSymAlCaReco.h:78
DQMHcalPhiSymAlCaReco::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: DQMHcalPhiSymAlCaReco.cc:271
EventSetup.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DQMHcalPhiSymAlCaReco::hiDistrMB2Min2D_
MonitorElement * hiDistrMB2Min2D_
Definition: DQMHcalPhiSymAlCaReco.h:46
dqm::implementation::IBooker
Definition: DQMStore.h:43
DQMHcalPhiSymAlCaReco::hiDistr_y_min_
double hiDistr_y_min_
Definition: DQMHcalPhiSymAlCaReco.h:63
DQMHcalPhiSymAlCaReco::period_
unsigned int period_
Definition: DQMHcalPhiSymAlCaReco.h:93
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
HcalDCCHeader.h
DQMHcalPhiSymAlCaReco::hiDistr_y_max_
double hiDistr_y_max_
Definition: DQMHcalPhiSymAlCaReco.h:64
ParameterSet.h
DQMHcalPhiSymAlCaReco::fileName_
std::string fileName_
Output file name if required.
Definition: DQMHcalPhiSymAlCaReco.h:96
DQMHcalPhiSymAlCaReco::~DQMHcalPhiSymAlCaReco
~DQMHcalPhiSymAlCaReco() override
Definition: DQMHcalPhiSymAlCaReco.cc:82
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:80
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:791
dqm::impl::MonitorElement::getBinContent
virtual double getBinContent(int binx) const
get content of bin (1-D)
Definition: MonitorElement.cc:583
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:82
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
DQMHcalPhiSymAlCaReco::hiDistrNoise2Min2D_
MonitorElement * hiDistrNoise2Min2D_
Definition: DQMHcalPhiSymAlCaReco.h:47
HcalHTRData.h