CMS 3D CMS Logo

ClusterTask.cc
Go to the documentation of this file.
2 
14 
19 
20 namespace ecaldqm {
22  : DQWorkerTask(),
23  ebHits_(nullptr),
24  eeHits_(nullptr),
25  // ievt_(0),
26  // massCalcPrescale_(_workerParams.getUntrackedParameter<int>("massCalcPrescale")),
27  doExtra_(true),
28  energyThreshold_(0.),
29  swissCrossMaxThreshold_(3.),
30  egTriggerAlgos_(),
31  trigTypeToME_{0, 1, 2, 3, 4},
32  L1GlobalTriggerReadoutRecordTag_(),
33  L1MuGMTReadoutCollectionTag_(),
34  L1GlobalTriggerReadoutRecordToken_(),
35  L1MuGMTReadoutCollectionToken_() {}
36 
38  doExtra_ = _params.getUntrackedParameter<bool>("doExtra");
39 
40  if (!doExtra_) {
41  MEs_.erase(std::string("SCSizeVsEnergy"));
42  MEs_.erase(std::string("SCSeedOccupancyHighE"));
43  MEs_.erase(std::string("SCSeedOccupancyTrig"));
44  MEs_.erase(std::string("SCSeedTimeTrigEx"));
45  MEs_.erase(std::string("SCSeedTimeMapTrigEx"));
46  MEs_.erase(std::string("SCOccupancyProjEta"));
47  MEs_.erase(std::string("SCOccupancyProjPhi"));
48  MEs_.erase(std::string("SCSwissCross"));
49  MEs_.erase(std::string("Triggers"));
50  MEs_.erase(std::string("ExclusiveTriggers"));
51 
52  return;
53  }
54 
55  energyThreshold_ = _params.getUntrackedParameter<double>("energyThreshold");
56  swissCrossMaxThreshold_ = _params.getUntrackedParameter<double>("swissCrossMaxThreshold");
57  egTriggerAlgos_ = _params.getUntrackedParameter<std::vector<std::string> >("egTriggerAlgos");
58  L1GlobalTriggerReadoutRecordTag_ = _params.getUntrackedParameter<edm::InputTag>("L1GlobalTriggerReadoutRecordTag");
59  L1MuGMTReadoutCollectionTag_ = _params.getUntrackedParameter<edm::InputTag>("L1MuGMTReadoutCollectionTag");
60 
62 
63  std::string triggerTypeNames[nTriggerTypes] = {"ECAL", "HCAL", "CSC", "DT", "RPC"};
64 
65  MESetMulti& occupancy(static_cast<MESetMulti&>(MEs_.at("SCSeedOccupancyTrig")));
66  for (unsigned iT(0); iT != nTriggerTypes; ++iT) {
67  repl["trig"] = triggerTypeNames[iT];
68  trigTypeToME_[iT] = occupancy.getIndex(repl);
69  }
70  }
71 
75  }
76 
77  void ClusterTask::beginEvent(edm::Event const& _evt, edm::EventSetup const& _es) {
78  if (!doExtra_)
79  return;
80 
81  triggered_.reset();
82 
83  // TODO IS THIS THE MOST UP-TO-DATE ACCESSOR TO L1 INFO?
84 
87  DecisionWord const& dWord(l1GTHndl->decisionWord());
88 
89  //Ecal
91  _es.get<L1GtTriggerMenuRcd>().get(menuRcd);
92  L1GtTriggerMenu const* menu(menuRcd.product());
93 
94  if (!dWord.empty()) { //protect against no L1GT in run
95  for (unsigned iT(0); iT != egTriggerAlgos_.size(); ++iT) {
96  if (menu->gtAlgorithmResult(egTriggerAlgos_[iT], dWord)) {
98  break;
99  }
100  }
101  }
102 
103  //Hcal
104  bool hcal_top = false;
105  bool hcal_bot = false;
106  const L1GtPsbWord psb = l1GTHndl->gtPsbWord(0xbb0d, 0);
107  std::vector<int> valid_phi;
108  if ((psb.aData(4) & 0x3f) >= 1) {
109  valid_phi.push_back((psb.aData(4) >> 10) & 0x1f);
110  }
111  if ((psb.bData(4) & 0x3f) >= 1) {
112  valid_phi.push_back((psb.bData(4) >> 10) & 0x1f);
113  }
114  if ((psb.aData(5) & 0x3f) >= 1) {
115  valid_phi.push_back((psb.aData(5) >> 10) & 0x1f);
116  }
117  if ((psb.bData(5) & 0x3f) >= 1) {
118  valid_phi.push_back((psb.bData(5) >> 10) & 0x1f);
119  }
120  std::vector<int>::const_iterator iphi;
121  for (iphi = valid_phi.begin(); iphi != valid_phi.end(); iphi++) {
122  if (*iphi < 9)
123  hcal_top = true;
124  if (*iphi > 8)
125  hcal_bot = true;
126  }
127  if (hcal_top && hcal_bot)
129 
130  //Muons
132  if (!_evt.getByToken(L1MuGMTReadoutCollectionToken_, l1MuHndl))
133  return;
134  std::vector<L1MuGMTReadoutRecord> const& records(l1MuHndl->getRecords());
135 
136  for (unsigned iR(0); iR != records.size(); ++iR) {
137  if (records[iR].getBxInEvent() != 0)
138  continue;
139 
140  unsigned iC(0);
141 
142  //DT triggers
143  std::vector<L1MuRegionalCand> dtBXCands(records[iR].getDTBXCands());
144  for (iC = 0; iC != dtBXCands.size(); ++iC)
145  if (!dtBXCands[iC].empty())
146  break;
147  if (iC != dtBXCands.size())
148  triggered_.set(kDTTrigger);
149 
150  //RPC triggers
151  std::vector<L1MuRegionalCand> brlRPCCands(records[iR].getBrlRPCCands());
152  for (iC = 0; iC != brlRPCCands.size(); ++iC)
153  if (!brlRPCCands[iC].empty())
154  break;
155  if (iC != brlRPCCands.size())
156  triggered_.set(kRPCTrigger);
157 
158  //CSC Triggers
159  std::vector<L1MuRegionalCand> cscCands(records[iR].getCSCCands());
160  for (iC = 0; iC != cscCands.size(); ++iC)
161  if (!cscCands[iC].empty())
162  break;
163  if (iC != cscCands.size())
164  triggered_.set(kCSCTrigger);
165  }
166 
167  if (triggered_.none())
168  return;
169 
170  MESet& meTriggers(MEs_.at("Triggers"));
171  MESet& meExclusiveTriggers(MEs_.at("ExclusiveTriggers"));
172 
173  for (unsigned iT(0); iT != nTriggerTypes; ++iT) {
174  if (!triggered_[iT])
175  continue;
176  meTriggers.fill(iT + 0.5);
177  if (triggered_.count() == 1)
178  meExclusiveTriggers.fill(iT + 0.5);
179  }
180  }
181 
183  // ++ievt_;
184 
185  ebHits_ = nullptr;
186  eeHits_ = nullptr;
187  }
188 
189  bool ClusterTask::filterRunType(short const* _runType) {
190  for (unsigned iFED(0); iFED != nDCC; iFED++) {
191  if (_runType[iFED] == EcalDCCHeaderBlock::COSMIC || _runType[iFED] == EcalDCCHeaderBlock::MTCC ||
192  _runType[iFED] == EcalDCCHeaderBlock::COSMICS_GLOBAL ||
193  _runType[iFED] == EcalDCCHeaderBlock::PHYSICS_GLOBAL || _runType[iFED] == EcalDCCHeaderBlock::COSMICS_LOCAL ||
194  _runType[iFED] == EcalDCCHeaderBlock::PHYSICS_LOCAL)
195  return true;
196  }
197 
198  return false;
199  }
200 
202  switch (_collection) {
203  case kEBRecHit:
204  ebHits_ = &_hits;
205  break;
206  case kEERecHit:
207  eeHits_ = &_hits;
208  break;
209  default:
210  break;
211  }
212  }
213 
215  MESet& meBCE(MEs_.at("BCE"));
216  MESet& meBCEMap(MEs_.at("BCEMap"));
217  MESet& meBCEMapProjEta(MEs_.at("BCEMapProjEta"));
218  MESet& meBCEMapProjPhi(MEs_.at("BCEMapProjPhi"));
219  MESet& meBCEtMapProjEta(MEs_.at("BCEtMapProjEta"));
220  MESet& meBCEtMapProjPhi(MEs_.at("BCEtMapProjPhi"));
221  MESet& meBCOccupancy(MEs_.at("BCOccupancy"));
222  MESet& meBCOccupancyProjEta(MEs_.at("BCOccupancyProjEta"));
223  MESet& meBCOccupancyProjPhi(MEs_.at("BCOccupancyProjPhi"));
224  MESet& meBCSize(MEs_.at("BCSize"));
225  MESet& meTrendBCSize(MEs_.at("TrendBCSize"));
226  MESet& meBCSizeMap(MEs_.at("BCSizeMap"));
227  MESet& meBCSizeMapProjEta(MEs_.at("BCSizeMapProjEta"));
228  MESet& meBCSizeMapProjPhi(MEs_.at("BCSizeMapProjPhi"));
229  MESet& meBCNum(MEs_.at("BCNum"));
230  MESet& meTrendNBC(MEs_.at("TrendNBC"));
231 
232  int nBC[] = {0, 0};
233  bool isBarrel(_collection == kEBBasicCluster);
234 
235  // vector<reco::BasicCluster const*> lowMassCands;
236 
237  for (edm::View<reco::CaloCluster>::const_iterator bcItr(_bcs.begin()); bcItr != _bcs.end(); ++bcItr) {
238  if (bcItr->caloID().detectors() != 0) {
239  if (isBarrel && !bcItr->caloID().detector(reco::CaloID::DET_ECAL_BARREL))
240  continue;
241  if (!isBarrel && !bcItr->caloID().detector(reco::CaloID::DET_ECAL_ENDCAP))
242  continue;
243  }
244 
245  math::XYZPoint const& position(bcItr->position());
246 
247  DetId id(bcItr->seed());
248  if (id.null()) {
249  GlobalPoint gp(position.x(), position.y(), position.z());
250  CaloSubdetectorGeometry const* subgeom(
251  getGeometry()->getSubdetectorGeometry(DetId::Ecal, isBarrel ? EcalBarrel : EcalEndcap));
252 
253  id = subgeom->getClosestCell(gp);
254  }
255 
256  if (id.null() || (id.subdetId() == EcalBarrel && !isBarrel) || (id.subdetId() == EcalEndcap && isBarrel))
257  continue;
258 
259  float energy(bcItr->energy());
260  float posEta(position.eta());
261  float posPhi(phi(position.phi()));
262  float et(energy / std::cosh(posEta));
263  int subdet(isBarrel ? EcalBarrel : EcalEndcap);
264  if (subdet == EcalEndcap && position.z() < 0.)
265  subdet = -EcalEndcap;
266 
267  meBCE.fill(id, energy);
268 
269  meBCEMap.fill(id, energy);
270  meBCEMapProjEta.fill(posEta, energy);
271  meBCEMapProjPhi.fill(subdet, posPhi, energy);
272  meBCEtMapProjEta.fill(posEta, et);
273  meBCEtMapProjPhi.fill(subdet, posPhi, et);
274 
275  meBCOccupancy.fill(id);
276  meBCOccupancyProjEta.fill(posEta);
277  meBCOccupancyProjPhi.fill(subdet, posPhi);
278 
279  float size(bcItr->size());
280 
281  meBCSize.fill(id, size);
282  meTrendBCSize.fill(id, double(timestamp_.iLumi), size);
283 
284  meBCSizeMap.fill(id, size);
285  meBCSizeMapProjEta.fill(posEta, size);
286  meBCSizeMapProjPhi.fill(subdet, posPhi, size);
287 
288  int zside(position.z() > 0 ? 1 : 0);
289  nBC[zside]++;
290 
291  // if(ievt_ % massCalcPrescale_ != 0) continue;
292 
293  // if(energy > 10.) continue;
294 
295  // EcalRecHitCollection::const_iterator hitItr(isBarrel ? ebHits_->find(id) : eeHits_->find(id));
296  // if(hitItr == (isBarrel ? ebHits_->end() : eeHits_->end())) continue;
297 
298  // // cuts here must be parametrized
299  // if(hitItr->energy() < 0.5) continue;
300 
301  // if(hitItr->energy() / energy > 0.95) continue;
302 
303  // lowMassCands.push_back(&(*bcItr));
304  }
305 
306  if (isBarrel) {
307  meBCNum.fill(EcalBarrel, nBC[0] + nBC[1]);
308  meTrendNBC.fill(EcalBarrel, double(timestamp_.iLumi), nBC[0] + nBC[1]);
309  } else {
310  meBCNum.fill(-EcalEndcap, nBC[0]);
311  meBCNum.fill(EcalEndcap, nBC[1]);
312  meTrendNBC.fill(EcalEndcap, double(timestamp_.iLumi), nBC[0] + nBC[1]);
313  }
314 
315  // if(ievt_ % massCalcPrescale_ != 0) return;
316 
317  // double const pi(3.14159265);
318 
319  // for(vector<reco::BasicCluster const*>::iterator bcItr1(lowMassCands.begin()); bcItr1 != lowMassCands.end(); ++bcItr1){
320  // reco::BasicCluster const& bc1(**bcItr1);
321  // float energy1(bc1.energy());
322  // float px1(energy1 * sin(bc1.position().theta()) * cos(bc1.phi()));
323  // float py1(energy1 * sin(bc1.position().theta()) * sin(bc1.phi()));
324  // float pz1(energy1 * cos(bc1.position().theta()));
325 
326  // for(vector<reco::BasicCluster const*>::iterator bcItr2(lowMassCands.begin()); bcItr2 != lowMassCands.end(); ++bcItr2){
327  // if(*bcItr1 == *bcItr2) continue;
328  // reco::BasicCluster const& bc2(**bcItr2);
329  // float energy2(bc2.energy());
330  // float px2(energy2 * sin(bc2.position().theta()) * cos(bc2.phi()));
331  // float py2(energy2 * sin(bc2.position().theta()) * sin(bc2.phi()));
332  // float pz2(energy2 * cos(bc2.position().theta()));
333 
334  // float ptpair(sqrt((px1 + px2) * (px1 + px2) + (py1 + py2) * (py1 + py2)));
335  // if(ptpair < 2.5) continue;
336 
337  // float epair(energy1 + energy2);
338  // float pzpair(abs(pz1 + pz2));
339 
340  // float m2(epair * epair - pzpair * pzpair - ptpair * ptpair);
341  // if(m2 < 0.) continue;
342 
343  // float eta(0.5 * log((epair + pzpair)/(epair - pzpair)));
344  // float phi(atan2(px1 + px2, py1 + py2));
345 
346  // float iso(0.);
347  // for(reco::BasicClusterCollection::const_iterator bcItr(_bcs.begin()); bcItr != _bcs.end(); ++bcItr){
348  // float dEta(bcItr->eta() - eta);
349  // float dPhi(bcItr->phi() - phi);
350  // if(dPhi > 2. * pi) dPhi -= 2. * pi;
351  // else if(dPhi < -2. * pi) dPhi += 2. * pi;
352  // if(sqrt(dEta * dEta + dPhi * dPhi) < 0.2) iso += bcItr->energy() * sin(bcItr->position().theta());
353  // }
354  // if(iso > 0.5) continue;
355 
356  // float mass(sqrt(m2));
357  // MEs_[kPi0]->fill(mass);
358  // MEs_[kJPsi]->fill(mass);
359  // }
360  // }
361  }
362 
364  bool isBarrel(_collection == kEBSuperCluster);
366 
367  MESet& meSCE(MEs_.at("SCE"));
368  MESet& meSCELow(MEs_.at("SCELow"));
369  MESet& meSCNBCs(MEs_.at("SCNBCs"));
370  MESet& meSCNcrystals(MEs_.at("SCNcrystals"));
371  MESet& meTrendSCSize(MEs_.at("TrendSCSize"));
372  MESet& meSCSeedEnergy(MEs_.at("SCSeedEnergy"));
373  MESet& meSCClusterVsSeed(MEs_.at("SCClusterVsSeed"));
374  MESet& meSCSeedOccupancy(MEs_.at("SCSeedOccupancy"));
375  MESet& meSingleCrystalCluster(MEs_.at("SingleCrystalCluster"));
376  MESet& meSCR9(MEs_.at("SCR9"));
377 
378  MESet* meSCSizeVsEnergy(doExtra_ ? &MEs_.at("SCSizeVsEnergy") : nullptr);
379  MESet* meSCSeedOccupancyHighE(doExtra_ ? &MEs_.at("SCSeedOccupancyHighE") : nullptr);
380  MESet* meSCSeedOccupancyTrig(doExtra_ ? &MEs_.at("SCSeedOccupancyTrig") : nullptr);
381  MESet* meSCSeedTimeTrigEx(doExtra_ ? &MEs_.at("SCSeedTimeTrigEx") : nullptr);
382  MESet* meSCSeedTimeMapTrigEx(doExtra_ ? &MEs_.at("SCSeedTimeMapTrigEx") : nullptr);
383  MESet* meSCOccupancyProjEta(doExtra_ ? &MEs_.at("SCOccupancyProjEta") : nullptr);
384  MESet* meSCOccupancyProjPhi(doExtra_ ? &MEs_.at("SCOccupancyProjPhi") : nullptr);
385  MESet* meSCSwissCross(doExtra_ ? &MEs_.at("SCSwissCross") : nullptr);
386 
388 
389  // reco::SuperCluster const* leading(0);
390  // reco::SuperCluster const* subLeading(0);
391 
392  int nSC(0);
393 
394  for (reco::SuperClusterCollection::const_iterator scItr(_scs.begin()); scItr != _scs.end(); ++scItr) {
395  DetId seedId(scItr->seed()->seed());
396  if (seedId.null()) {
397  math::XYZPoint const& position(scItr->position());
398 
399  GlobalPoint gp(position.x(), position.y(), position.z());
400 
401  CaloSubdetectorGeometry const* subgeom(
402  getGeometry()->getSubdetectorGeometry(DetId::Ecal, isBarrel ? EcalBarrel : EcalEndcap));
403 
404  seedId = subgeom->getClosestCell(gp);
405  }
406 
407  if (seedId.null() || (seedId.subdetId() != subdet))
408  continue;
409 
410  EcalRecHitCollection::const_iterator seedItr(hits->find(seedId));
411  if (seedItr == hits->end())
412  continue;
413 
414  ++nSC;
415 
416  float energy(scItr->energy());
417  float size(scItr->size());
418 
419  meSCE.fill(seedId, energy);
420  meSCELow.fill(seedId, energy);
421 
422  meSCNBCs.fill(seedId, scItr->clustersSize());
423  meSCNcrystals.fill(seedId, size);
424 
425  if (doExtra_)
426  meSCSizeVsEnergy->fill(subdet, energy, size);
427 
428  meTrendSCSize.fill(seedId, double(timestamp_.iLumi), size);
429 
430  meSCSeedEnergy.fill(seedId, seedItr->energy());
431  meSCClusterVsSeed.fill(seedId, seedItr->energy(), energy);
432 
433  meSCSeedOccupancy.fill(seedId);
435  meSCSeedOccupancyHighE->fill(seedId);
436 
437  if (scItr->size() == 1)
438  meSingleCrystalCluster.fill(seedId);
439 
440  float e3x3(EcalClusterTools::e3x3(*scItr->seed(), hits, getTopology()));
441  meSCR9.fill(seedId, e3x3 / energy);
442 
443  if (doExtra_) {
444  for (unsigned iT(0); iT != nTriggerTypes; ++iT) {
445  if (!triggered_[iT])
446  continue;
447 
448  static_cast<MESetMulti*>(meSCSeedOccupancyTrig)->use(trigTypeToME_[iT]);
449  meSCSeedOccupancyTrig->fill(seedId);
450 
451  // exclusive
452  if (triggered_.count() == 1) {
453  static_cast<MESetMulti*>(meSCSeedTimeTrigEx)->use(trigTypeToME_[iT]);
454  static_cast<MESetMulti*>(meSCSeedTimeMapTrigEx)->use(trigTypeToME_[iT]);
455  meSCSeedTimeTrigEx->fill(subdet, seedItr->time());
456  meSCSeedTimeMapTrigEx->fill(seedId, seedItr->time());
457  }
458  }
459 
460  meSCOccupancyProjEta->fill(subdet, scItr->eta());
461  meSCOccupancyProjPhi->fill(subdet, phi(scItr->phi()));
462 
463  if (isBarrel) {
464  float e1(EcalClusterTools::eMax(*scItr, ebHits_));
465  if (e1 > swissCrossMaxThreshold_) {
466  float e4(EcalClusterTools::eTop(*scItr, ebHits_, getTopology()) +
467  EcalClusterTools::eRight(*scItr, ebHits_, getTopology()) +
468  EcalClusterTools::eBottom(*scItr, ebHits_, getTopology()) +
469  EcalClusterTools::eLeft(*scItr, ebHits_, getTopology()));
470 
471  meSCSwissCross->fill(1. - e4 / e1);
472  }
473  }
474  }
475 
476  // if(ievt_ % massCalcPrescale_ != 0) continue;
477 
478  // float et(energy * sin(scItr->position().theta()));
479  // if(!leading || et > leading->energy() * sin(leading->position().theta())){
480  // subLeading = leading;
481  // leading = &(*scItr);
482  // }
483  // else if(!subLeading || et > subLeading->energy() * sin(subLeading->position().theta())){
484  // subLeading = &(*scItr);
485  // }
486  }
487 
488  MEs_.at("SCNum").fill(subdet, nSC);
489  MEs_.at("TrendNSC").fill(subdet, double(timestamp_.iLumi), nSC);
490 
491  // if(ievt_ % massCalcPrescale_ != 0) return;
492 
493  // // implement isolation & cuts
494  // if(!leading || !subLeading) return;
495  // float e(leading->energy() + subLeading->energy());
496  // float px(leading->energy() * sin(leading->position().theta()) * cos(leading->phi()) + subLeading->energy() * sin(subLeading->position().theta()) * cos(subLeading->phi()));
497  // float py(leading->energy() * sin(leading->position().theta()) * sin(leading->phi()) + subLeading->energy() * sin(subLeading->position().theta()) * sin(subLeading->phi()));
498  // float pz(leading->energy() * cos(leading->position().theta()) + subLeading->energy() * cos(subLeading->position().theta()));
499  // float m2(e * e - px * px - py * py - pz * pz);
500  // if(m2 < 0.) return;
501  // float mass(sqrt(m2));
502  // MEs_[kZ]->fill(mass);
503  // MEs_[kHighMass]->fill(mass);
504  }
505 
510  }
511 
513 } // namespace ecaldqm
L1GtTriggerMenu.h
EcalDCCHeaderBlock::COSMICS_LOCAL
Definition: EcalDCCHeaderBlock.h:49
edm::View::begin
const_iterator begin() const
ecaldqm::getTopology
const CaloTopology * getTopology()
Definition: EcalDQMCommonUtils.cc:498
ecaldqm::ClusterTask::ebHits_
EcalRecHitCollection const * ebHits_
Definition: ClusterTask.h:45
edm::SortedCollection< EcalRecHit >::const_iterator
std::vector< EcalRecHit >::const_iterator const_iterator
Definition: SortedCollection.h:80
L1GtPsbWord::aData
const cms_uint16_t aData(int iA) const
get/set A_DATA_CH_IA
Definition: L1GtPsbWord.cc:181
ecaldqm
Definition: DQWorker.h:24
ecaldqm::ClusterTask::L1GlobalTriggerReadoutRecordToken_
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > L1GlobalTriggerReadoutRecordToken_
Definition: ClusterTask.h:58
ecaldqm::ClusterTask::ClusterTask
ClusterTask()
Definition: ClusterTask.cc:21
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
ESHandle.h
ecaldqm::kEBBasicCluster
Definition: Collections.h:40
ecaldqm::DependencySet
Definition: DQWorkerTask.h:44
ecaldqm::kEESuperCluster
Definition: Collections.h:43
ecaldqm::zside
int zside(DetId const &)
Definition: EcalDQMCommonUtils.cc:189
reco::CaloID::DET_ECAL_ENDCAP
Definition: CaloID.h:21
L1GtTriggerMenuRcd.h
ecaldqm::ClusterTask::setParams
void setParams(edm::ParameterSet const &) override
Definition: ClusterTask.cc:37
ecaldqm::ClusterTask
Definition: ClusterTask.h:20
EcalDetIdCollections.h
ecaldqm::MESet::PathReplacements
std::map< std::string, std::string > PathReplacements
Definition: MESet.h:31
l1extraParticles_cfi._params
_params
Definition: l1extraParticles_cfi.py:29
L1GtPsbWord.h
edm::SortedCollection< EcalRecHit >
ecaldqm::ClusterTask::kRPCTrigger
Definition: ClusterTask.h:40
ecaldqm::Dependency
Definition: DQWorkerTask.h:19
EcalSubdetector
EcalSubdetector
Definition: EcalSubdetector.h:10
L1GlobalTriggerReadoutRecord::gtPsbWord
const L1GtPsbWord gtPsbWord(cms_uint16_t boardIdValue, int bxInEventValue) const
get / set PSB word (record) in the GT readout record
Definition: L1GlobalTriggerReadoutRecord.cc:421
L1GtPsbWord
Definition: L1GtPsbWord.h:29
edm::Handle
Definition: AssociativeIterator.h:50
ecaldqm::ClusterTask::runOnBasicClusters
void runOnBasicClusters(edm::View< reco::CaloCluster > const &, Collections)
Definition: ClusterTask.cc:214
L1GlobalTriggerReadoutRecord
Definition: L1GlobalTriggerReadoutRecord.h:46
EcalBarrel
Definition: EcalSubdetector.h:10
L1GtPsbWord::bData
const cms_uint16_t bData(int iB) const
get/set B_DATA_CH_IB
Definition: L1GtPsbWord.cc:253
ecaldqm::ClusterTask::nTriggerTypes
Definition: ClusterTask.h:40
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
ecaldqm::ClusterTask::kEcalTrigger
Definition: ClusterTask.h:40
reco::SuperClusterCollection
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
Definition: SuperClusterFwd.h:9
ecaldqm::MESet::fill
virtual void fill(DetId const &, double=1., double=1., double=1.)
Definition: MESet.h:46
DetId
Definition: DetId.h:17
EcalDCCHeaderBlock::PHYSICS_GLOBAL
Definition: EcalDCCHeaderBlock.h:37
ecaldqm::ClusterTask::endEvent
void endEvent(edm::Event const &, edm::EventSetup const &) override
Definition: ClusterTask.cc:182
ecaldqm::DQWorkerTask
Definition: DQWorkerTask.h:71
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
ecaldqm::ClusterTask::addDependencies
void addDependencies(DependencySet &) override
Definition: ClusterTask.cc:72
ecaldqm::ClusterTask::egTriggerAlgos_
std::vector< std::string > egTriggerAlgos_
Definition: ClusterTask.h:52
L1GtTriggerMenuRcd
Definition: L1GtTriggerMenuRcd.h:32
ecaldqm::ClusterTask::runOnRecHits
void runOnRecHits(EcalRecHitCollection const &, Collections)
Definition: ClusterTask.cc:201
ecaldqm::MESetMulti::getIndex
unsigned getIndex(PathReplacements const &) const
Definition: MESetMulti.cc:137
edm::ESHandle< L1GtTriggerMenu >
ecaldqm::ClusterTask::doExtra_
bool doExtra_
Definition: ClusterTask.h:49
ecaldqm::kEBRecHit
Definition: Collections.h:36
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:49
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
ecaldqm::getGeometry
const CaloGeometry * getGeometry()
Definition: EcalDQMCommonUtils.cc:478
edm::Event::getByToken
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:528
ecaldqm::ClusterTask::filterRunType
bool filterRunType(short const *) override
Definition: ClusterTask.cc:189
Point3DBase< float, GlobalTag >
ecaldqm::DQWorker::MEs_
MESetCollection MEs_
Definition: DQWorker.h:78
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalSubdetector.h
EcalEndcap
Definition: EcalSubdetector.h:10
PixelPluginsPhase0_cfi.isBarrel
isBarrel
Definition: PixelPluginsPhase0_cfi.py:17
runTauDisplay.gp
gp
Definition: runTauDisplay.py:431
edm::View
Definition: CaloClusterFwd.h:14
funct::true
true
Definition: Factorize.h:173
ecaldqm::ClusterTask::L1MuGMTReadoutCollectionToken_
edm::EDGetTokenT< L1MuGMTReadoutCollection > L1MuGMTReadoutCollectionToken_
Definition: ClusterTask.h:59
CaloSubdetectorGeometry.h
ecaldqm::ClusterTask::kDTTrigger
Definition: ClusterTask.h:40
optionsL1T.menu
menu
Definition: optionsL1T.py:29
edm::ParameterSet
Definition: ParameterSet.h:36
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
ecaldqm::MESetMulti
Definition: MESetMulti.h:13
L1GtTriggerMenu
Definition: L1GtTriggerMenu.h:48
Event.h
L1MuGMTReadoutCollection::getRecords
std::vector< L1MuGMTReadoutRecord > const & getRecords() const
Definition: L1MuGMTReadoutCollection.h:52
ecaldqm::ClusterTask::beginEvent
void beginEvent(edm::Event const &, edm::EventSetup const &) override
Definition: ClusterTask.cc:77
cosmicPhotonAnalyzer_cfi.eMax
eMax
Definition: cosmicPhotonAnalyzer_cfi.py:10
EcalDCCHeaderBlock::PHYSICS_LOCAL
Definition: EcalDCCHeaderBlock.h:48
EcalClusterTools.h
L1GlobalTriggerReadoutRecord::decisionWord
const DecisionWord & decisionWord(int bxInEventValue) const
Definition: L1GlobalTriggerReadoutRecord.cc:186
StorageManager_cfg.e1
e1
Definition: StorageManager_cfg.py:16
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
ecaldqm::ClusterTask::energyThreshold_
float energyThreshold_
Definition: ClusterTask.h:50
ecaldqm::DependencySet::push_back
void push_back(Dependency const &_d)
Definition: DQWorkerTask.h:46
ecaldqm::ClusterTask::triggered_
std::bitset< nTriggerTypes > triggered_
Definition: ClusterTask.h:53
ecaldqm::ClusterTask::setTokens
void setTokens(edm::ConsumesCollector &) override
Definition: ClusterTask.cc:506
ecaldqm::Collections
Collections
Definition: Collections.h:8
EcalDCCHeaderBlock.h
EgHLTOffHistBins_cfi.et
et
Definition: EgHLTOffHistBins_cfi.py:8
ecaldqm::ClusterTask::L1GlobalTriggerReadoutRecordTag_
edm::InputTag L1GlobalTriggerReadoutRecordTag_
Definition: ClusterTask.h:56
edm::EventSetup
Definition: EventSetup.h:57
DetId::Ecal
Definition: DetId.h:27
get
#define get
ecaldqm::ClusterTask::trigTypeToME_
unsigned trigTypeToME_[nTriggerTypes]
Definition: ClusterTask.h:54
ecaldqm::ClusterTask::swissCrossMaxThreshold_
float swissCrossMaxThreshold_
Definition: ClusterTask.h:51
DecisionWord
std::vector< bool > DecisionWord
typedefs
Definition: L1GlobalTriggerReadoutSetupFwd.h:34
ecaldqm::DQWorker::Timestamp::iLumi
edm::LuminosityBlockNumber_t iLumi
Definition: DQWorker.h:35
ecaldqm::ClusterTask::eeHits_
EcalRecHitCollection const * eeHits_
Definition: ClusterTask.h:46
ecaldqm::kEERecHit
Definition: Collections.h:37
L1MuGMTReadoutCollection
Definition: L1MuGMTReadoutCollection.h:39
EcalDCCHeaderBlock::COSMICS_GLOBAL
Definition: EcalDCCHeaderBlock.h:38
ecaldqm::kEBSuperCluster
Definition: Collections.h:42
ecaldqm::ClusterTask::L1MuGMTReadoutCollectionTag_
edm::InputTag L1MuGMTReadoutCollectionTag_
Definition: ClusterTask.h:57
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
relativeConstraints.empty
bool empty
Definition: relativeConstraints.py:46
ecaldqm::ClusterTask::runOnSuperClusters
void runOnSuperClusters(reco::SuperClusterCollection const &, Collections)
Definition: ClusterTask.cc:363
EcalDCCHeaderBlock::MTCC
Definition: EcalDCCHeaderBlock.h:25
ecaldqm::DQWorker::timestamp_
Timestamp timestamp_
Definition: DQWorker.h:81
CaloSubdetectorGeometry
Definition: CaloSubdetectorGeometry.h:22
ecaldqm::ClusterTask::kCSCTrigger
Definition: ClusterTask.h:40
ClusterTask.h
MESetMulti.h
EcalDCCHeaderBlock::COSMIC
Definition: EcalDCCHeaderBlock.h:22
edm::View::const_iterator
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
Definition: View.h:86
ecaldqm::nDCC
Definition: EcalDQMCommonUtils.h:92
DEFINE_ECALDQM_WORKER
#define DEFINE_ECALDQM_WORKER(TYPE)
Definition: DQWorker.h:112
ConsumesCollector.h
edm::View::end
const_iterator end() const
ParameterSet.h
ecaldqm::ClusterTask::kHcalTrigger
Definition: ClusterTask.h:40
edm::Event
Definition: Event.h:73
GlobalPoint.h
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
vertexPlots.e4
e4
Definition: vertexPlots.py:64
reco::CaloID::DET_ECAL_BARREL
Definition: CaloID.h:20
EcalDQMCommonUtils.h
ecaldqm::phi
double phi(EBDetId const &)
Definition: EcalDQMCommonUtils.cc:215
ecaldqm::MESet
Definition: MESet.h:27
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443