CMS 3D CMS Logo

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