CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LaserDQMStatistics.cc
Go to the documentation of this file.
1 
12 
16 
21 
25 
26 void LaserDQM::trackerStatistics(edm::Event const& theEvent,edm::EventSetup const& theSetup)
27 {
28  //Retrieve tracker topology from geometry
30  theSetup.get<IdealGeometryRecord>().get(tTopoHandle);
31  const TrackerTopology* const tTopo = tTopoHandle.product();
32 
33 
34  // access the tracker
35  edm::ESHandle<TrackerGeometry> theTrackerGeometry;
36  theSetup.get<TrackerDigiGeometryRecord>().get(theTrackerGeometry);
37  const TrackerGeometry& theTracker(*theTrackerGeometry);
38 
39  // get the StripDigiCollection
40  // get the StripDigiCollection
42 
43  for (Parameters::iterator itDigiProducersList = theDigiProducersList.begin(); itDigiProducersList != theDigiProducersList.end(); ++itDigiProducersList)
44  {
45  std::string digiProducer = itDigiProducersList->getParameter<std::string>("DigiProducer");
46  std::string digiLabel = itDigiProducersList->getParameter<std::string>("DigiLabel");
47 
48  theEvent.getByLabel(digiProducer, digiLabel, theStripDigis);
49 
50  // loop over the entries of theStripDigis, get the DetId to identify the Detunit and find the one which will be hit by the laser beams
51  for (edm::DetSetVector<SiStripDigi>::const_iterator DSViter = theStripDigis->begin(); DSViter != theStripDigis->end(); DSViter++)
52  {
53  DetId theDetUnitID(DSViter->id);
54 
55  // get the DetUnit via the DetUnitId and cast it to a StripGeomDetUnit
56  const StripGeomDetUnit * const theStripDet = dynamic_cast<const StripGeomDetUnit*>(theTracker.idToDet(theDetUnitID));
57 
58  // get the Digis in this DetUnit
59  edm::DetSet<SiStripDigi>::const_iterator theDigiRangeIterator = (*DSViter).data.begin();
60  edm::DetSet<SiStripDigi>::const_iterator theDigiRangeIteratorEnd = (*DSViter).data.end();
61 
62  // some variables we need later on in the program
63  int theBeam = 0;
64  int theRing = 0;
65  std::string thePart = "";
66  int theTIBLayer = 0;
67  int theTOBLayer = 0;
68  int theTECWheel = 0;
69  int theTOBStereoDet = 0;
70 
71  switch (theDetUnitID.subdetId())
72  {
74  {
75 
76  thePart = "TIB";
77  theTIBLayer = tTopo->tibLayer(theDetUnitID.rawId());
78  break;
79  }
81  {
82 
83  thePart = "TOB";
84  theTOBLayer = tTopo->tobLayer(theDetUnitID.rawId());
85  theTOBStereoDet = tTopo->tobStereo(theDetUnitID.rawId());
86  break;
87  }
89  {
90 
91 
92  // is this module in TEC+ or TEC-?
93  if (tTopo->tecSide(theDetUnitID.rawId()) == 1) { thePart = "TEC-"; }
94  else if (tTopo->tecSide(theDetUnitID.rawId()) == 2) { thePart = "TEC+"; }
95 
96  // in which ring is this module?
97  if ( theStripDet->surface().position().perp() > 55.0 && theStripDet->surface().position().perp() < 59.0 )
98  { theRing = 4; } // Ring 4
99  else if ( theStripDet->surface().position().perp() > 81.0 && theStripDet->surface().position().perp() < 85.0 )
100  { theRing = 6; } // Ring 6
101  else
102  { theRing = -1; } // probably not a Laser Hit!
103 
104  // on which disk is this module
105  theTECWheel = tTopo->tecWheel(theDetUnitID.rawId());
106  break;
107  }
108  }
109 
110  // which beam belongs these digis to
111  if ( thePart == "TIB" && theTIBLayer == 4 )
112  {
113  if ( (theStripDet->surface().position().phi() > 0.39 - theSearchPhiTIB)
114  && (theStripDet->surface().position().phi() < 0.39 + theSearchPhiTIB)) { theBeam = 0; } // beam 0
115 
116  else if ( (theStripDet->surface().position().phi() > 1.29 - theSearchPhiTIB)
117  && (theStripDet->surface().position().phi() < 1.29 + theSearchPhiTIB)) { theBeam = 1; } // beam 1
118 
119  else if ( (theStripDet->surface().position().phi() > 1.85 - theSearchPhiTIB)
120  && (theStripDet->surface().position().phi() < 1.85 + theSearchPhiTIB)) { theBeam = 2; } // beam 2
121 
122  else if ( (theStripDet->surface().position().phi() > 2.75 - theSearchPhiTIB)
123  && (theStripDet->surface().position().phi() < 2.75 + theSearchPhiTIB)) { theBeam = 3; } // beam 3
124 
125  else if ( (theStripDet->surface().position().phi() > -2.59 - theSearchPhiTIB)
126  && (theStripDet->surface().position().phi() < -2.59 + theSearchPhiTIB)) { theBeam = 4; } // beam 4
127 
128  else if ( (theStripDet->surface().position().phi() > -2.00 - theSearchPhiTIB)
129  && (theStripDet->surface().position().phi() < -2.00 + theSearchPhiTIB)) { theBeam = 5; } // beam 5
130 
131  else if ( (theStripDet->surface().position().phi() > -1.10 - theSearchPhiTIB)
132  && (theStripDet->surface().position().phi() < -1.10 + theSearchPhiTIB)) { theBeam = 6; } // beam 6
133 
134  else if ( (theStripDet->surface().position().phi() > -0.50 - theSearchPhiTIB)
135  && (theStripDet->surface().position().phi() < -0.50 + theSearchPhiTIB)) { theBeam = 7; } // beam 7
136  else
137  { theBeam = -1; } // probably not a Laser Hit!
138  }
139  else if ( thePart == "TOB" && theTOBLayer == 1 )
140  {
141  if ( (theStripDet->surface().position().phi() > 0.39 - theSearchPhiTOB)
142  && (theStripDet->surface().position().phi() < 0.39 + theSearchPhiTOB)) { theBeam = 0; } // beam 0
143 
144  else if ( (theStripDet->surface().position().phi() > 1.29 - theSearchPhiTOB)
145  && (theStripDet->surface().position().phi() < 1.29 + theSearchPhiTOB)) { theBeam = 1; } // beam 1
146 
147  else if ( (theStripDet->surface().position().phi() > 1.85 - theSearchPhiTOB)
148  && (theStripDet->surface().position().phi() < 1.85 + theSearchPhiTOB)) { theBeam = 2; } // beam 2
149 
150  else if ( (theStripDet->surface().position().phi() > 2.75 - theSearchPhiTOB)
151  && (theStripDet->surface().position().phi() < 2.75 + theSearchPhiTOB)) { theBeam = 3; } // beam 3
152 
153  else if ( (theStripDet->surface().position().phi() > -2.59 - theSearchPhiTOB)
154  && (theStripDet->surface().position().phi() < -2.59 + theSearchPhiTOB)) { theBeam = 4; } // beam 4
155 
156  else if ( (theStripDet->surface().position().phi() > -2.00 - theSearchPhiTOB)
157  && (theStripDet->surface().position().phi() < -2.00 + theSearchPhiTOB)) { theBeam = 5; } // beam 5
158 
159  else if ( (theStripDet->surface().position().phi() > -1.10 - theSearchPhiTOB)
160  && (theStripDet->surface().position().phi() < -1.10 + theSearchPhiTOB)) { theBeam = 6; } // beam 6
161 
162  else if ( (theStripDet->surface().position().phi() > -0.50 - theSearchPhiTOB)
163  && (theStripDet->surface().position().phi() < -0.50 + theSearchPhiTOB)) { theBeam = 7; } // beam 7
164  else
165  { theBeam = -1; } // probably not a Laser Hit!
166  }
167  else if ( thePart == "TEC+" || thePart == "TEC-" )
168  {
169  if ( (theStripDet->surface().position().phi() > 0.39 - theSearchPhiTEC)
170  && (theStripDet->surface().position().phi() < 0.39 + theSearchPhiTEC)) { theBeam = 0; } // beam 0
171 
172  else if ( (theStripDet->surface().position().phi() > 1.18 - theSearchPhiTEC)
173  && (theStripDet->surface().position().phi() < 1.18 + theSearchPhiTEC)) { theBeam = 1; } // beam 1
174 
175  else if ( (theStripDet->surface().position().phi() > 1.96 - theSearchPhiTEC)
176  && (theStripDet->surface().position().phi() < 1.96 + theSearchPhiTEC)) { theBeam = 2; } // beam 2
177 
178  else if ( (theStripDet->surface().position().phi() > 2.74 - theSearchPhiTEC)
179  && (theStripDet->surface().position().phi() < 2.74 + theSearchPhiTEC)) { theBeam = 3; } // beam 3
180 
181  else if ( (theStripDet->surface().position().phi() > -2.74 - theSearchPhiTEC)
182  && (theStripDet->surface().position().phi() < -2.74 + theSearchPhiTEC)) { theBeam = 4; } // beam 4
183 
184  else if ( (theStripDet->surface().position().phi() > -1.96 - theSearchPhiTEC)
185  && (theStripDet->surface().position().phi() < -1.96 + theSearchPhiTEC)) { theBeam = 5; } // beam 5
186 
187  else if ( (theStripDet->surface().position().phi() > -1.18 - theSearchPhiTEC)
188  && (theStripDet->surface().position().phi() < -1.18 + theSearchPhiTEC)) { theBeam = 6; } // beam 6
189 
190  else if ( (theStripDet->surface().position().phi() > -0.39 - theSearchPhiTEC)
191  && (theStripDet->surface().position().phi() < -0.39 + theSearchPhiTEC)) { theBeam = 7; } // beam 7
192 
193  else if ( (theStripDet->surface().position().phi() > 1.28 - theSearchPhiTEC)
194  && (theStripDet->surface().position().phi() < 1.28 + theSearchPhiTEC)) { theBeam = 21; } // beam 1 TEC2TEC
195 
196  else if ( (theStripDet->surface().position().phi() > 1.84 - theSearchPhiTEC)
197  && (theStripDet->surface().position().phi() < 1.84 + theSearchPhiTEC)) { theBeam = 22; } // beam 2 TEC2TEC
198 
199  else if ( (theStripDet->surface().position().phi() > -2.59 - theSearchPhiTEC)
200  && (theStripDet->surface().position().phi() < -2.59 + theSearchPhiTEC)) { theBeam = 24; } // beam 4 TEC2TEC
201 
202  else if ( (theStripDet->surface().position().phi() > -1.10 - theSearchPhiTEC)
203  && (theStripDet->surface().position().phi() < -1.10 + theSearchPhiTEC)) { theBeam = 26; } // beam 6 TEC2TEC
204 
205  else if ( (theStripDet->surface().position().phi() > -0.50 - theSearchPhiTEC)
206  && (theStripDet->surface().position().phi() < -0.50 + theSearchPhiTEC)) { theBeam = 27; } // beam 7 TEC2TEC
207  else
208  { theBeam = -1; } // probably not a Laser Hit!
209  }
210 
211 
212  // if ( ( thePart == "TEC+" || thePart == "TEC-" ) && theEvents == 1 )
213  // {
214  // cout << " theBeam = " << theBeam << " thePart = " << thePart << " theRing = " << theRing << " Disc = " << theTECWheel << endl;
215  // cout << " DetUnitId = " << theDetUnitID.rawId() << endl;
216  // cout << " Phi of Det = " << theStripDet->surface().position().phi() << endl;
217 
218  // }
219 
220  // fill the histograms which will be fitted at the end of the run to reconstruct the laser profile
221 
222  /* work with else if ... for all the parts and beams */
223  // ****** beam 0 in Ring 4
224  if ( (thePart == "TEC+") && (theRing == 4) && (theBeam == 0) )
225  {
226  if ( theTECWheel == 1 )
227  {
229  theDigiRangeIterator, theDigiRangeIteratorEnd);
230  }
231  else if ( theTECWheel == 2 )
232  {
234  theDigiRangeIterator, theDigiRangeIteratorEnd);
235  }
236  else if ( theTECWheel == 3 )
237  {
239  theDigiRangeIterator, theDigiRangeIteratorEnd);
240  }
241  else if ( theTECWheel == 4 )
242  {
244  theDigiRangeIterator, theDigiRangeIteratorEnd);
245  }
246  else if ( theTECWheel == 5 )
247  {
249  theDigiRangeIterator, theDigiRangeIteratorEnd);
250  }
251  else if ( theTECWheel == 6 )
252  {
254  theDigiRangeIterator, theDigiRangeIteratorEnd);
255  }
256  else if ( theTECWheel == 7 )
257  {
259  theDigiRangeIterator, theDigiRangeIteratorEnd);
260  }
261  else if ( theTECWheel == 8 )
262  {
264  theDigiRangeIterator, theDigiRangeIteratorEnd);
265  }
266  else if ( theTECWheel == 9 )
267  {
269  theDigiRangeIterator, theDigiRangeIteratorEnd);
270  }
271  }
272  // **** end of beam 0 in Ring 4 ****
273 
274  // **** Beam 1 in Ring 4 ****
275  else if ( (thePart == "TEC+") && (theRing == 4) && (theBeam == 1) )
276  {
277  if ( theTECWheel == 1 )
278  {
280  theDigiRangeIterator, theDigiRangeIteratorEnd);
281  }
282  else if ( theTECWheel == 2 )
283  {
285  theDigiRangeIterator, theDigiRangeIteratorEnd);
286  }
287  else if ( theTECWheel == 3 )
288  {
290  theDigiRangeIterator, theDigiRangeIteratorEnd);
291  }
292  else if ( theTECWheel == 4 )
293  {
295  theDigiRangeIterator, theDigiRangeIteratorEnd);
296  }
297  else if ( theTECWheel == 5 )
298  {
300  theDigiRangeIterator, theDigiRangeIteratorEnd);
301  }
302  else if ( theTECWheel == 6 )
303  {
305  theDigiRangeIterator, theDigiRangeIteratorEnd);
306  }
307  else if ( theTECWheel == 7 )
308  {
310  theDigiRangeIterator, theDigiRangeIteratorEnd);
311  }
312  else if ( theTECWheel == 8 )
313  {
315  theDigiRangeIterator, theDigiRangeIteratorEnd);
316  }
317  else if ( theTECWheel == 9 )
318  {
320  theDigiRangeIterator, theDigiRangeIteratorEnd);
321  }
322  }
323  // **** TEC2TEC
324  else if ( (thePart == "TEC+") && (theRing == 4) && (theBeam == 21) )
325  {
326  if ( theTECWheel == 1 )
327  {
329  theDigiRangeIterator, theDigiRangeIteratorEnd);
330  }
331  else if ( theTECWheel == 2 )
332  {
334  theDigiRangeIterator, theDigiRangeIteratorEnd);
335  }
336  else if ( theTECWheel == 3 )
337  {
339  theDigiRangeIterator, theDigiRangeIteratorEnd);
340  }
341  else if ( theTECWheel == 4 )
342  {
344  theDigiRangeIterator, theDigiRangeIteratorEnd);
345  }
346  else if ( theTECWheel == 5 )
347  {
349  theDigiRangeIterator, theDigiRangeIteratorEnd);
350  }
351  }
352  // **** end of beam 1 in Ring 4 ****
353 
354  // **** Beam 2 in Ring 4 ****
355  else if ( (thePart == "TEC+") && (theRing == 4) && (theBeam == 2) )
356  {
357  if ( theTECWheel == 1 )
358  {
360  theDigiRangeIterator, theDigiRangeIteratorEnd);
361  }
362  else if ( theTECWheel == 2 )
363  {
365  theDigiRangeIterator, theDigiRangeIteratorEnd);
366  }
367  else if ( theTECWheel == 3 )
368  {
370  theDigiRangeIterator, theDigiRangeIteratorEnd);
371  }
372  else if ( theTECWheel == 4 )
373  {
374 
376  theDigiRangeIterator, theDigiRangeIteratorEnd);
377  }
378  else if ( theTECWheel == 5 )
379  {
381  theDigiRangeIterator, theDigiRangeIteratorEnd);
382  }
383  else if ( theTECWheel == 6 )
384  {
386  theDigiRangeIterator, theDigiRangeIteratorEnd);
387  }
388  else if ( theTECWheel == 7 )
389  {
391  theDigiRangeIterator, theDigiRangeIteratorEnd);
392  }
393  else if ( theTECWheel == 8 )
394  {
396  theDigiRangeIterator, theDigiRangeIteratorEnd);
397  }
398  else if ( theTECWheel == 9 )
399  {
401  theDigiRangeIterator, theDigiRangeIteratorEnd);
402  }
403  }
404  // TEC2TEC
405  // **** Beam 2 in Ring 4 ****
406  else if ( (thePart == "TEC+") && (theRing == 4) && (theBeam == 22) )
407  {
408  if ( theTECWheel == 1 )
409  {
411  theDigiRangeIterator, theDigiRangeIteratorEnd);
412  }
413  else if ( theTECWheel == 2 )
414  {
416  theDigiRangeIterator, theDigiRangeIteratorEnd);
417  }
418  else if ( theTECWheel == 3 )
419  {
421  theDigiRangeIterator, theDigiRangeIteratorEnd);
422  }
423  else if ( theTECWheel == 4 )
424  {
426  theDigiRangeIterator, theDigiRangeIteratorEnd);
427  }
428  else if ( theTECWheel == 5 )
429  {
431  theDigiRangeIterator, theDigiRangeIteratorEnd);
432  }
433  }
434  // **** end of beam 2 in Ring 4 ****
435 
436  // **** Beam 3 in Ring 4 ****
437  else if ( (thePart == "TEC+") && (theRing == 4) && (theBeam == 3) )
438  {
439  if ( theTECWheel == 1 )
440  {
442  theDigiRangeIterator, theDigiRangeIteratorEnd);
443  }
444  else if ( theTECWheel == 2 )
445  {
447  theDigiRangeIterator, theDigiRangeIteratorEnd);
448  }
449  else if ( theTECWheel == 3 )
450  {
452  theDigiRangeIterator, theDigiRangeIteratorEnd);
453  }
454  else if ( theTECWheel == 4 )
455  {
457  theDigiRangeIterator, theDigiRangeIteratorEnd);
458  }
459  else if ( theTECWheel == 5 )
460  {
462  theDigiRangeIterator, theDigiRangeIteratorEnd);
463  }
464  else if ( theTECWheel == 6 )
465  {
467  theDigiRangeIterator, theDigiRangeIteratorEnd);
468  }
469  else if ( theTECWheel == 7 )
470  {
472  theDigiRangeIterator, theDigiRangeIteratorEnd);
473  }
474  else if ( theTECWheel == 8 )
475  {
477  theDigiRangeIterator, theDigiRangeIteratorEnd);
478  }
479  else if ( theTECWheel == 9 )
480  {
482  theDigiRangeIterator, theDigiRangeIteratorEnd);
483  }
484  }
485  // **** end of beam 3 in Ring 4 ****
486 
487  // **** Beam 4 in Ring 4 ****
488  else if ( (thePart == "TEC+") && (theRing == 4) && (theBeam == 4) )
489  {
490  if ( theTECWheel == 1 )
491  {
493  theDigiRangeIterator, theDigiRangeIteratorEnd);
494  }
495  else if ( theTECWheel == 2 )
496  {
498  theDigiRangeIterator, theDigiRangeIteratorEnd);
499  }
500  else if ( theTECWheel == 3 )
501  {
503  theDigiRangeIterator, theDigiRangeIteratorEnd);
504  }
505  else if ( theTECWheel == 4 )
506  {
508  theDigiRangeIterator, theDigiRangeIteratorEnd);
509  }
510  else if ( theTECWheel == 5 )
511  {
513  theDigiRangeIterator, theDigiRangeIteratorEnd);
514  }
515  else if ( theTECWheel == 6 )
516  {
518  theDigiRangeIterator, theDigiRangeIteratorEnd);
519  }
520  else if ( theTECWheel == 7 )
521  {
523  theDigiRangeIterator, theDigiRangeIteratorEnd);
524  }
525  else if ( theTECWheel == 8 )
526  {
528  theDigiRangeIterator, theDigiRangeIteratorEnd);
529  }
530  else if ( theTECWheel == 9 )
531  {
533  theDigiRangeIterator, theDigiRangeIteratorEnd);
534  }
535  }
536  // TEC2TEC
537  else if ( (thePart == "TEC+") && (theRing == 4) && (theBeam == 24) )
538  {
539  if ( theTECWheel == 1 )
540  {
542  theDigiRangeIterator, theDigiRangeIteratorEnd);
543  }
544  else if ( theTECWheel == 2 )
545  {
547  theDigiRangeIterator, theDigiRangeIteratorEnd);
548  }
549  else if ( theTECWheel == 3 )
550  {
552  theDigiRangeIterator, theDigiRangeIteratorEnd);
553  }
554  else if ( theTECWheel == 4 )
555  {
557  theDigiRangeIterator, theDigiRangeIteratorEnd);
558  }
559  else if ( theTECWheel == 5 )
560  {
562  theDigiRangeIterator, theDigiRangeIteratorEnd);
563  }
564  }
565  // **** end of beam 4 in Ring 4 ****
566 
567  // **** Beam 5 in Ring 4 ****
568  else if ( (thePart == "TEC+") && (theRing == 4) && (theBeam == 5) )
569  {
570  if ( theTECWheel == 1 )
571  {
573  theDigiRangeIterator, theDigiRangeIteratorEnd);
574  }
575  else if ( theTECWheel == 2 )
576  {
578  theDigiRangeIterator, theDigiRangeIteratorEnd);
579  }
580  else if ( theTECWheel == 3 )
581  {
583  theDigiRangeIterator, theDigiRangeIteratorEnd);
584  }
585  else if ( theTECWheel == 4 )
586  {
588  theDigiRangeIterator, theDigiRangeIteratorEnd);
589  }
590  else if ( theTECWheel == 5 )
591  {
593  theDigiRangeIterator, theDigiRangeIteratorEnd);
594  }
595  else if ( theTECWheel == 6 )
596  {
598  theDigiRangeIterator, theDigiRangeIteratorEnd);
599  }
600  else if ( theTECWheel == 7 )
601  {
603  theDigiRangeIterator, theDigiRangeIteratorEnd);
604  }
605  else if ( theTECWheel == 8 )
606  {
608  theDigiRangeIterator, theDigiRangeIteratorEnd);
609  }
610  else if ( theTECWheel == 9 )
611  {
613  theDigiRangeIterator, theDigiRangeIteratorEnd);
614  }
615  }
616  // **** end of beam 5 in Ring 4 ****
617 
618  // **** Beam 6 in Ring 4 ****
619  else if ( (thePart == "TEC+") && (theRing == 4) && (theBeam == 6) )
620  {
621  if ( theTECWheel == 1 )
622  {
624  theDigiRangeIterator, theDigiRangeIteratorEnd);
625  }
626  else if ( theTECWheel == 2 )
627  {
629  theDigiRangeIterator, theDigiRangeIteratorEnd);
630  }
631  else if ( theTECWheel == 3 )
632  {
634  theDigiRangeIterator, theDigiRangeIteratorEnd);
635  }
636  else if ( theTECWheel == 4 )
637  {
639  theDigiRangeIterator, theDigiRangeIteratorEnd);
640  }
641  else if ( theTECWheel == 5 )
642  {
644  theDigiRangeIterator, theDigiRangeIteratorEnd);
645  }
646  else if ( theTECWheel == 6 )
647  {
649  theDigiRangeIterator, theDigiRangeIteratorEnd);
650  }
651  else if ( theTECWheel == 7 )
652  {
654  theDigiRangeIterator, theDigiRangeIteratorEnd);
655  }
656  else if ( theTECWheel == 8 )
657  {
659  theDigiRangeIterator, theDigiRangeIteratorEnd);
660  }
661  else if ( theTECWheel == 9 )
662  {
664  theDigiRangeIterator, theDigiRangeIteratorEnd);
665  }
666  }
667  // TEC2TEC
668  else if ( (thePart == "TEC+") && (theRing == 4) && (theBeam == 26) )
669  {
670  if ( theTECWheel == 1 )
671  {
673  theDigiRangeIterator, theDigiRangeIteratorEnd);
674  }
675  else if ( theTECWheel == 2 )
676  {
678  theDigiRangeIterator, theDigiRangeIteratorEnd);
679  }
680  else if ( theTECWheel == 3 )
681  {
683  theDigiRangeIterator, theDigiRangeIteratorEnd);
684  }
685  else if ( theTECWheel == 4 )
686  {
688  theDigiRangeIterator, theDigiRangeIteratorEnd);
689  }
690  else if ( theTECWheel == 5 )
691  {
693  theDigiRangeIterator, theDigiRangeIteratorEnd);
694  }
695  }
696  // **** end of beam 6 in Ring 4 ****
697 
698  // **** Beam 7 in Ring 4 ****
699  else if ( (thePart == "TEC+") && (theRing == 4) && (theBeam == 7) )
700  {
701  if ( theTECWheel == 1 )
702  {
704  theDigiRangeIterator, theDigiRangeIteratorEnd);
705  }
706  else if ( theTECWheel == 2 )
707  {
709  theDigiRangeIterator, theDigiRangeIteratorEnd);
710  }
711  else if ( theTECWheel == 3 )
712  {
714  theDigiRangeIterator, theDigiRangeIteratorEnd);
715  }
716  else if ( theTECWheel == 4 )
717  {
719  theDigiRangeIterator, theDigiRangeIteratorEnd);
720  }
721  else if ( theTECWheel == 5 )
722  {
724  theDigiRangeIterator, theDigiRangeIteratorEnd);
725  }
726  else if ( theTECWheel == 6 )
727  {
729  theDigiRangeIterator, theDigiRangeIteratorEnd);
730  }
731  else if ( theTECWheel == 7 )
732  {
734  theDigiRangeIterator, theDigiRangeIteratorEnd);
735  }
736  else if ( theTECWheel == 8 )
737  {
739  theDigiRangeIterator, theDigiRangeIteratorEnd);
740  }
741  else if ( theTECWheel == 9 )
742  {
744  theDigiRangeIterator, theDigiRangeIteratorEnd);
745  }
746  }
747  // TEC2TEC
748  else if ( (thePart == "TEC+") && (theRing == 4) && (theBeam == 27) )
749  {
750  if ( theTECWheel == 1 )
751  {
753  theDigiRangeIterator, theDigiRangeIteratorEnd);
754  }
755  else if ( theTECWheel == 2 )
756  {
758  theDigiRangeIterator, theDigiRangeIteratorEnd);
759  }
760  else if ( theTECWheel == 3 )
761  {
763  theDigiRangeIterator, theDigiRangeIteratorEnd);
764  }
765  else if ( theTECWheel == 4 )
766  {
768  theDigiRangeIterator, theDigiRangeIteratorEnd);
769  }
770  else if ( theTECWheel == 5 )
771  {
773  theDigiRangeIterator, theDigiRangeIteratorEnd);
774  }
775  }
776  // **** end of beam 7 in Ring 4 ****
777 
778  // **** Ring 6
779  else if ( (thePart == "TEC+") && (theRing == 6) && (theBeam == 0) )
780  {
781  if ( theTECWheel == 1 )
782  {
784  theDigiRangeIterator, theDigiRangeIteratorEnd);
785  }
786  else if ( theTECWheel == 2 )
787  {
789  theDigiRangeIterator, theDigiRangeIteratorEnd);
790  }
791  else if ( theTECWheel == 3 )
792  {
794  theDigiRangeIterator, theDigiRangeIteratorEnd);
795  }
796  else if ( theTECWheel == 4 )
797  {
799  theDigiRangeIterator, theDigiRangeIteratorEnd);
800  }
801  else if ( theTECWheel == 5 )
802  {
804  theDigiRangeIterator, theDigiRangeIteratorEnd);
805  }
806  else if ( theTECWheel == 6 )
807  {
809  theDigiRangeIterator, theDigiRangeIteratorEnd);
810  }
811  else if ( theTECWheel == 7 )
812  {
814  theDigiRangeIterator, theDigiRangeIteratorEnd);
815  }
816  else if ( theTECWheel == 8 )
817  {
819  theDigiRangeIterator, theDigiRangeIteratorEnd);
820  }
821  else if ( theTECWheel == 9 )
822  {
824  theDigiRangeIterator, theDigiRangeIteratorEnd);
825  }
826  }
827  // **** end of beam 0 in Ring 6 ****
828 
829  // **** Beam 1 in Ring 6 ****
830  else if ( (thePart == "TEC+") && (theRing == 6) && (theBeam == 1) )
831  {
832  if ( theTECWheel == 1 )
833  {
835  theDigiRangeIterator, theDigiRangeIteratorEnd);
836  }
837  else if ( theTECWheel == 2 )
838  {
840  theDigiRangeIterator, theDigiRangeIteratorEnd);
841  }
842  else if ( theTECWheel == 3 )
843  {
845  theDigiRangeIterator, theDigiRangeIteratorEnd);
846  }
847  else if ( theTECWheel == 4 )
848  {
850  theDigiRangeIterator, theDigiRangeIteratorEnd);
851  }
852  else if ( theTECWheel == 5 )
853  {
855  theDigiRangeIterator, theDigiRangeIteratorEnd);
856  }
857  else if ( theTECWheel == 6 )
858  {
860  theDigiRangeIterator, theDigiRangeIteratorEnd);
861  }
862  else if ( theTECWheel == 7 )
863  {
865  theDigiRangeIterator, theDigiRangeIteratorEnd);
866  }
867  else if ( theTECWheel == 8 )
868  {
870  theDigiRangeIterator, theDigiRangeIteratorEnd);
871  }
872  else if ( theTECWheel == 9 )
873  {
875  theDigiRangeIterator, theDigiRangeIteratorEnd);
876  }
877  }
878  // **** end of beam 1 in Ring 6 ****
879 
880  // **** Beam 2 in Ring 6 ****
881  else if ( (thePart == "TEC+") && (theRing == 6) && (theBeam == 2) )
882  {
883  if ( theTECWheel == 1 )
884  {
886  theDigiRangeIterator, theDigiRangeIteratorEnd);
887  }
888  else if ( theTECWheel == 2 )
889  {
891  theDigiRangeIterator, theDigiRangeIteratorEnd);
892  }
893  else if ( theTECWheel == 3 )
894  {
896  theDigiRangeIterator, theDigiRangeIteratorEnd);
897  }
898  else if ( theTECWheel == 4 )
899  {
901  theDigiRangeIterator, theDigiRangeIteratorEnd);
902  }
903  else if ( theTECWheel == 5 )
904  {
906  theDigiRangeIterator, theDigiRangeIteratorEnd);
907  }
908  else if ( theTECWheel == 6 )
909  {
911  theDigiRangeIterator, theDigiRangeIteratorEnd);
912  }
913  else if ( theTECWheel == 7 )
914  {
916  theDigiRangeIterator, theDigiRangeIteratorEnd);
917  }
918  else if ( theTECWheel == 8 )
919  {
921  theDigiRangeIterator, theDigiRangeIteratorEnd);
922  }
923  else if ( theTECWheel == 9 )
924  {
926  theDigiRangeIterator, theDigiRangeIteratorEnd);
927  }
928  }
929  // **** end of beam 2 in Ring 6 ****
930 
931  // **** Beam 3 in Ring 6 ****
932  else if ( (thePart == "TEC+") && (theRing == 6) && (theBeam == 3) )
933  {
934  if ( theTECWheel == 1 )
935  {
937  theDigiRangeIterator, theDigiRangeIteratorEnd);
938  }
939  else if ( theTECWheel == 2 )
940  {
942  theDigiRangeIterator, theDigiRangeIteratorEnd);
943  }
944  else if ( theTECWheel == 3 )
945  {
947  theDigiRangeIterator, theDigiRangeIteratorEnd);
948  }
949  else if ( theTECWheel == 4 )
950  {
952  theDigiRangeIterator, theDigiRangeIteratorEnd);
953  }
954  else if ( theTECWheel == 5 )
955  {
957  theDigiRangeIterator, theDigiRangeIteratorEnd);
958  }
959  else if ( theTECWheel == 6 )
960  {
962  theDigiRangeIterator, theDigiRangeIteratorEnd);
963  }
964  else if ( theTECWheel == 7 )
965  {
967  theDigiRangeIterator, theDigiRangeIteratorEnd);
968  }
969  else if ( theTECWheel == 8 )
970  {
972  theDigiRangeIterator, theDigiRangeIteratorEnd);
973  }
974  else if ( theTECWheel == 9 )
975  {
977  theDigiRangeIterator, theDigiRangeIteratorEnd);
978  }
979  }
980  // **** end of beam 3 in Ring 6 ****
981 
982  // **** Beam 4 in Ring 6 ****
983  else if ( (thePart == "TEC+") && (theRing == 6) && (theBeam == 4) )
984  {
985  if ( theTECWheel == 1 )
986  {
988  theDigiRangeIterator, theDigiRangeIteratorEnd);
989  }
990  else if ( theTECWheel == 2 )
991  {
993  theDigiRangeIterator, theDigiRangeIteratorEnd);
994  }
995  else if ( theTECWheel == 3 )
996  {
998  theDigiRangeIterator, theDigiRangeIteratorEnd);
999  }
1000  else if ( theTECWheel == 4 )
1001  {
1003  theDigiRangeIterator, theDigiRangeIteratorEnd);
1004  }
1005  else if ( theTECWheel == 5 )
1006  {
1008  theDigiRangeIterator, theDigiRangeIteratorEnd);
1009  }
1010  else if ( theTECWheel == 6 )
1011  {
1013  theDigiRangeIterator, theDigiRangeIteratorEnd);
1014  }
1015  else if ( theTECWheel == 7 )
1016  {
1018  theDigiRangeIterator, theDigiRangeIteratorEnd);
1019  }
1020  else if ( theTECWheel == 8 )
1021  {
1023  theDigiRangeIterator, theDigiRangeIteratorEnd);
1024  }
1025  else if ( theTECWheel == 9 )
1026  {
1028  theDigiRangeIterator, theDigiRangeIteratorEnd);
1029  }
1030  }
1031  // **** end of beam 4 in Ring 6 ****
1032 
1033  // **** Beam 5 in Ring 6 ****
1034  else if ( (thePart == "TEC+") && (theRing == 6) && (theBeam == 5) )
1035  {
1036  if ( theTECWheel == 1 )
1037  {
1039  theDigiRangeIterator, theDigiRangeIteratorEnd);
1040  }
1041  else if ( theTECWheel == 2 )
1042  {
1044  theDigiRangeIterator, theDigiRangeIteratorEnd);
1045  }
1046  else if ( theTECWheel == 3 )
1047  {
1049  theDigiRangeIterator, theDigiRangeIteratorEnd);
1050  }
1051  else if ( theTECWheel == 4 )
1052  {
1054  theDigiRangeIterator, theDigiRangeIteratorEnd);
1055  }
1056  else if ( theTECWheel == 5 )
1057  {
1059  theDigiRangeIterator, theDigiRangeIteratorEnd);
1060  }
1061  else if ( theTECWheel == 6 )
1062  {
1064  theDigiRangeIterator, theDigiRangeIteratorEnd);
1065  }
1066  else if ( theTECWheel == 7 )
1067  {
1069  theDigiRangeIterator, theDigiRangeIteratorEnd);
1070  }
1071  else if ( theTECWheel == 8 )
1072  {
1074  theDigiRangeIterator, theDigiRangeIteratorEnd);
1075  }
1076  else if ( theTECWheel == 9 )
1077  {
1079  theDigiRangeIterator, theDigiRangeIteratorEnd);
1080  }
1081  }
1082  // **** end of beam 5 in Ring 6 ****
1083 
1084  // **** Beam 6 in Ring 6 ****
1085  else if ( (thePart == "TEC+") && (theRing == 6) && (theBeam == 6) )
1086  {
1087  if ( theTECWheel == 1 )
1088  {
1090  theDigiRangeIterator, theDigiRangeIteratorEnd);
1091  }
1092  else if ( theTECWheel == 2 )
1093  {
1095  theDigiRangeIterator, theDigiRangeIteratorEnd);
1096  }
1097  else if ( theTECWheel == 3 )
1098  {
1100  theDigiRangeIterator, theDigiRangeIteratorEnd);
1101  }
1102  else if ( theTECWheel == 4 )
1103  {
1105  theDigiRangeIterator, theDigiRangeIteratorEnd);
1106  }
1107  else if ( theTECWheel == 5 )
1108  {
1110  theDigiRangeIterator, theDigiRangeIteratorEnd);
1111  }
1112  else if ( theTECWheel == 6 )
1113  {
1115  theDigiRangeIterator, theDigiRangeIteratorEnd);
1116  }
1117  else if ( theTECWheel == 7 )
1118  {
1120  theDigiRangeIterator, theDigiRangeIteratorEnd);
1121  }
1122  else if ( theTECWheel == 8 )
1123  {
1125  theDigiRangeIterator, theDigiRangeIteratorEnd);
1126  }
1127  else if ( theTECWheel == 9 )
1128  {
1130  theDigiRangeIterator, theDigiRangeIteratorEnd);
1131  }
1132  }
1133  // **** end of beam 6 in Ring 6 ****
1134 
1135  // **** Beam 7 in Ring 6 ****
1136  else if ( (thePart == "TEC+") && (theRing == 6) && (theBeam == 7) )
1137  {
1138  if ( theTECWheel == 1 )
1139  {
1141  theDigiRangeIterator, theDigiRangeIteratorEnd);
1142  }
1143  else if ( theTECWheel == 2 )
1144  {
1146  theDigiRangeIterator, theDigiRangeIteratorEnd);
1147  }
1148  else if ( theTECWheel == 3 )
1149  {
1151  theDigiRangeIterator, theDigiRangeIteratorEnd);
1152  }
1153  else if ( theTECWheel == 4 )
1154  {
1156  theDigiRangeIterator, theDigiRangeIteratorEnd);
1157  }
1158  else if ( theTECWheel == 5 )
1159  {
1161  theDigiRangeIterator, theDigiRangeIteratorEnd);
1162  }
1163  else if ( theTECWheel == 6 )
1164  {
1166  theDigiRangeIterator, theDigiRangeIteratorEnd);
1167  }
1168  else if ( theTECWheel == 7 )
1169  {
1171  theDigiRangeIterator, theDigiRangeIteratorEnd);
1172  }
1173  else if ( theTECWheel == 8 )
1174  {
1176  theDigiRangeIterator, theDigiRangeIteratorEnd);
1177  }
1178  else if ( theTECWheel == 9 )
1179  {
1181  theDigiRangeIterator, theDigiRangeIteratorEnd);
1182  }
1183  }
1184  // **** end of beam 7 in Ring 6 ****
1185 
1186  // ***** TEC- *****
1187  else if ( (thePart == "TEC-") && (theRing == 4) && (theBeam == 0) )
1188  {
1189  if ( theTECWheel == 1 )
1190  {
1192  theDigiRangeIterator, theDigiRangeIteratorEnd);
1193  }
1194  else if ( theTECWheel == 2 )
1195  {
1197  theDigiRangeIterator, theDigiRangeIteratorEnd);
1198  }
1199  else if ( theTECWheel == 3 )
1200  {
1202  theDigiRangeIterator, theDigiRangeIteratorEnd);
1203  }
1204  else if ( theTECWheel == 4 )
1205  {
1207  theDigiRangeIterator, theDigiRangeIteratorEnd);
1208  }
1209  else if ( theTECWheel == 5 )
1210  {
1212  theDigiRangeIterator, theDigiRangeIteratorEnd);
1213  }
1214  else if ( theTECWheel == 6 )
1215  {
1217  theDigiRangeIterator, theDigiRangeIteratorEnd);
1218  }
1219  else if ( theTECWheel == 7 )
1220  {
1222  theDigiRangeIterator, theDigiRangeIteratorEnd);
1223  }
1224  else if ( theTECWheel == 8 )
1225  {
1227  theDigiRangeIterator, theDigiRangeIteratorEnd);
1228  }
1229  else if ( theTECWheel == 9 )
1230  {
1232  theDigiRangeIterator, theDigiRangeIteratorEnd);
1233  }
1234  }
1235  // **** end of beam 0 in Ring 4 ****
1236 
1237  // **** Beam 1 in Ring 4 ****
1238  else if ( (thePart == "TEC-") && (theRing == 4) && (theBeam == 1) )
1239  {
1240  if ( theTECWheel == 1 )
1241  {
1243  theDigiRangeIterator, theDigiRangeIteratorEnd);
1244  }
1245  else if ( theTECWheel == 2 )
1246  {
1248  theDigiRangeIterator, theDigiRangeIteratorEnd);
1249  }
1250  else if ( theTECWheel == 3 )
1251  {
1253  theDigiRangeIterator, theDigiRangeIteratorEnd);
1254  }
1255  else if ( theTECWheel == 4 )
1256  {
1258  theDigiRangeIterator, theDigiRangeIteratorEnd);
1259  }
1260  else if ( theTECWheel == 5 )
1261  {
1263  theDigiRangeIterator, theDigiRangeIteratorEnd);
1264  }
1265  else if ( theTECWheel == 6 )
1266  {
1268  theDigiRangeIterator, theDigiRangeIteratorEnd);
1269  }
1270  else if ( theTECWheel == 7 )
1271  {
1273  theDigiRangeIterator, theDigiRangeIteratorEnd);
1274  }
1275  else if ( theTECWheel == 8 )
1276  {
1278  theDigiRangeIterator, theDigiRangeIteratorEnd);
1279  }
1280  else if ( theTECWheel == 9 )
1281  {
1283  theDigiRangeIterator, theDigiRangeIteratorEnd);
1284  }
1285  }
1286  // **** TEC2TEC
1287  else if ( (thePart == "TEC-") && (theRing == 4) && (theBeam == 21) )
1288  {
1289  if ( theTECWheel == 1 )
1290  {
1292  theDigiRangeIterator, theDigiRangeIteratorEnd);
1293  }
1294  else if ( theTECWheel == 2 )
1295  {
1297  theDigiRangeIterator, theDigiRangeIteratorEnd);
1298  }
1299  else if ( theTECWheel == 3 )
1300  {
1302  theDigiRangeIterator, theDigiRangeIteratorEnd);
1303  }
1304  else if ( theTECWheel == 4 )
1305  {
1307  theDigiRangeIterator, theDigiRangeIteratorEnd);
1308  }
1309  else if ( theTECWheel == 5 )
1310  {
1312  theDigiRangeIterator, theDigiRangeIteratorEnd);
1313  }
1314  }
1315  // **** end of beam 1 in Ring 4 ****
1316 
1317  // **** Beam 2 in Ring 4 ****
1318  else if ( (thePart == "TEC-") && (theRing == 4) && (theBeam == 2) )
1319  {
1320  if ( theTECWheel == 1 )
1321  {
1323  theDigiRangeIterator, theDigiRangeIteratorEnd);
1324  }
1325  else if ( theTECWheel == 2 )
1326  {
1328  theDigiRangeIterator, theDigiRangeIteratorEnd);
1329  }
1330  else if ( theTECWheel == 3 )
1331  {
1333  theDigiRangeIterator, theDigiRangeIteratorEnd);
1334  }
1335  else if ( theTECWheel == 4 )
1336  {
1338  theDigiRangeIterator, theDigiRangeIteratorEnd);
1339  }
1340  else if ( theTECWheel == 5 )
1341  {
1343  theDigiRangeIterator, theDigiRangeIteratorEnd);
1344  }
1345  else if ( theTECWheel == 6 )
1346  {
1348  theDigiRangeIterator, theDigiRangeIteratorEnd);
1349  }
1350  else if ( theTECWheel == 7 )
1351  {
1353  theDigiRangeIterator, theDigiRangeIteratorEnd);
1354  }
1355  else if ( theTECWheel == 8 )
1356  {
1358  theDigiRangeIterator, theDigiRangeIteratorEnd);
1359  }
1360  else if ( theTECWheel == 9 )
1361  {
1363  theDigiRangeIterator, theDigiRangeIteratorEnd);
1364  }
1365  }
1366  // TEC2TEC
1367  // **** Beam 2 in Ring 4 ****
1368  else if ( (thePart == "TEC-") && (theRing == 4) && (theBeam == 22) )
1369  {
1370  if ( theTECWheel == 1 )
1371  {
1373  theDigiRangeIterator, theDigiRangeIteratorEnd);
1374  }
1375  else if ( theTECWheel == 2 )
1376  {
1378  theDigiRangeIterator, theDigiRangeIteratorEnd);
1379  }
1380  else if ( theTECWheel == 3 )
1381  {
1383  theDigiRangeIterator, theDigiRangeIteratorEnd);
1384  }
1385  else if ( theTECWheel == 4 )
1386  {
1388  theDigiRangeIterator, theDigiRangeIteratorEnd);
1389  }
1390  else if ( theTECWheel == 5 )
1391  {
1393  theDigiRangeIterator, theDigiRangeIteratorEnd);
1394  }
1395  }
1396  // **** end of beam 2 in Ring 4 ****
1397 
1398  // **** Beam 3 in Ring 4 ****
1399  else if ( (thePart == "TEC-") && (theRing == 4) && (theBeam == 3) )
1400  {
1401  if ( theTECWheel == 1 )
1402  {
1404  theDigiRangeIterator, theDigiRangeIteratorEnd);
1405  }
1406  else if ( theTECWheel == 2 )
1407  {
1409  theDigiRangeIterator, theDigiRangeIteratorEnd);
1410  }
1411  else if ( theTECWheel == 3 )
1412  {
1414  theDigiRangeIterator, theDigiRangeIteratorEnd);
1415  }
1416  else if ( theTECWheel == 4 )
1417  {
1419  theDigiRangeIterator, theDigiRangeIteratorEnd);
1420  }
1421  else if ( theTECWheel == 5 )
1422  {
1424  theDigiRangeIterator, theDigiRangeIteratorEnd);
1425  }
1426  else if ( theTECWheel == 6 )
1427  {
1429  theDigiRangeIterator, theDigiRangeIteratorEnd);
1430  }
1431  else if ( theTECWheel == 7 )
1432  {
1434  theDigiRangeIterator, theDigiRangeIteratorEnd);
1435  }
1436  else if ( theTECWheel == 8 )
1437  {
1439  theDigiRangeIterator, theDigiRangeIteratorEnd);
1440  }
1441  else if ( theTECWheel == 9 )
1442  {
1444  theDigiRangeIterator, theDigiRangeIteratorEnd);
1445  }
1446  }
1447  // **** end of beam 3 in Ring 4 ****
1448 
1449  // **** Beam 4 in Ring 4 ****
1450  else if ( (thePart == "TEC-") && (theRing == 4) && (theBeam == 4) )
1451  {
1452  if ( theTECWheel == 1 )
1453  {
1455  theDigiRangeIterator, theDigiRangeIteratorEnd);
1456  }
1457  else if ( theTECWheel == 2 )
1458  {
1460  theDigiRangeIterator, theDigiRangeIteratorEnd);
1461  }
1462  else if ( theTECWheel == 3 )
1463  {
1465  theDigiRangeIterator, theDigiRangeIteratorEnd);
1466  }
1467  else if ( theTECWheel == 4 )
1468  {
1470  theDigiRangeIterator, theDigiRangeIteratorEnd);
1471  }
1472  else if ( theTECWheel == 5 )
1473  {
1475  theDigiRangeIterator, theDigiRangeIteratorEnd);
1476  }
1477  else if ( theTECWheel == 6 )
1478  {
1480  theDigiRangeIterator, theDigiRangeIteratorEnd);
1481  }
1482  else if ( theTECWheel == 7 )
1483  {
1485  theDigiRangeIterator, theDigiRangeIteratorEnd);
1486  }
1487  else if ( theTECWheel == 8 )
1488  {
1490  theDigiRangeIterator, theDigiRangeIteratorEnd);
1491  }
1492  else if ( theTECWheel == 9 )
1493  {
1495  theDigiRangeIterator, theDigiRangeIteratorEnd);
1496  }
1497  }
1498  // TEC2TEC
1499  else if ( (thePart == "TEC-") && (theRing == 4) && (theBeam == 24) )
1500  {
1501  if ( theTECWheel == 1 )
1502  {
1504  theDigiRangeIterator, theDigiRangeIteratorEnd);
1505  }
1506  else if ( theTECWheel == 2 )
1507  {
1509  theDigiRangeIterator, theDigiRangeIteratorEnd);
1510  }
1511  else if ( theTECWheel == 3 )
1512  {
1514  theDigiRangeIterator, theDigiRangeIteratorEnd);
1515  }
1516  else if ( theTECWheel == 4 )
1517  {
1519  theDigiRangeIterator, theDigiRangeIteratorEnd);
1520  }
1521  else if ( theTECWheel == 5 )
1522  {
1524  theDigiRangeIterator, theDigiRangeIteratorEnd);
1525  }
1526  }
1527  // **** end of beam 4 in Ring 4 ****
1528 
1529  // **** Beam 5 in Ring 4 ****
1530  else if ( (thePart == "TEC-") && (theRing == 4) && (theBeam == 5) )
1531  {
1532  if ( theTECWheel == 1 )
1533  {
1535  theDigiRangeIterator, theDigiRangeIteratorEnd);
1536  }
1537  else if ( theTECWheel == 2 )
1538  {
1540  theDigiRangeIterator, theDigiRangeIteratorEnd);
1541  }
1542  else if ( theTECWheel == 3 )
1543  {
1545  theDigiRangeIterator, theDigiRangeIteratorEnd);
1546  }
1547  else if ( theTECWheel == 4 )
1548  {
1550  theDigiRangeIterator, theDigiRangeIteratorEnd);
1551  }
1552  else if ( theTECWheel == 5 )
1553  {
1555  theDigiRangeIterator, theDigiRangeIteratorEnd);
1556  }
1557  else if ( theTECWheel == 6 )
1558  {
1560  theDigiRangeIterator, theDigiRangeIteratorEnd);
1561  }
1562  else if ( theTECWheel == 7 )
1563  {
1565  theDigiRangeIterator, theDigiRangeIteratorEnd);
1566  }
1567  else if ( theTECWheel == 8 )
1568  {
1570  theDigiRangeIterator, theDigiRangeIteratorEnd);
1571  }
1572  else if ( theTECWheel == 9 )
1573  {
1575  theDigiRangeIterator, theDigiRangeIteratorEnd);
1576  }
1577  }
1578  // **** end of beam 5 in Ring 4 ****
1579 
1580  // **** Beam 6 in Ring 4 ****
1581  else if ( (thePart == "TEC-") && (theRing == 4) && (theBeam == 6) )
1582  {
1583  if ( theTECWheel == 1 )
1584  {
1586  theDigiRangeIterator, theDigiRangeIteratorEnd);
1587  }
1588  else if ( theTECWheel == 2 )
1589  {
1591  theDigiRangeIterator, theDigiRangeIteratorEnd);
1592  }
1593  else if ( theTECWheel == 3 )
1594  {
1596  theDigiRangeIterator, theDigiRangeIteratorEnd);
1597  }
1598  else if ( theTECWheel == 4 )
1599  {
1601  theDigiRangeIterator, theDigiRangeIteratorEnd);
1602  }
1603  else if ( theTECWheel == 5 )
1604  {
1606  theDigiRangeIterator, theDigiRangeIteratorEnd);
1607  }
1608  else if ( theTECWheel == 6 )
1609  {
1611  theDigiRangeIterator, theDigiRangeIteratorEnd);
1612  }
1613  else if ( theTECWheel == 7 )
1614  {
1616  theDigiRangeIterator, theDigiRangeIteratorEnd);
1617  }
1618  else if ( theTECWheel == 8 )
1619  {
1621  theDigiRangeIterator, theDigiRangeIteratorEnd);
1622  }
1623  else if ( theTECWheel == 9 )
1624  {
1626  theDigiRangeIterator, theDigiRangeIteratorEnd);
1627  }
1628  }
1629  // TEC2TEC
1630  else if ( (thePart == "TEC-") && (theRing == 4) && (theBeam == 26) )
1631  {
1632  if ( theTECWheel == 1 )
1633  {
1635  theDigiRangeIterator, theDigiRangeIteratorEnd);
1636  }
1637  else if ( theTECWheel == 2 )
1638  {
1640  theDigiRangeIterator, theDigiRangeIteratorEnd);
1641  }
1642  else if ( theTECWheel == 3 )
1643  {
1645  theDigiRangeIterator, theDigiRangeIteratorEnd);
1646  }
1647  else if ( theTECWheel == 4 )
1648  {
1650  theDigiRangeIterator, theDigiRangeIteratorEnd);
1651  }
1652  else if ( theTECWheel == 5 )
1653  {
1655  theDigiRangeIterator, theDigiRangeIteratorEnd);
1656  }
1657  }
1658  // **** end of beam 6 in Ring 4 ****
1659 
1660  // **** Beam 7 in Ring 4 ****
1661  else if ( (thePart == "TEC-") && (theRing == 4) && (theBeam == 7) )
1662  {
1663  if ( theTECWheel == 1 )
1664  {
1666  theDigiRangeIterator, theDigiRangeIteratorEnd);
1667  }
1668  else if ( theTECWheel == 2 )
1669  {
1671  theDigiRangeIterator, theDigiRangeIteratorEnd);
1672  }
1673  else if ( theTECWheel == 3 )
1674  {
1676  theDigiRangeIterator, theDigiRangeIteratorEnd);
1677  }
1678  else if ( theTECWheel == 4 )
1679  {
1681  theDigiRangeIterator, theDigiRangeIteratorEnd);
1682  }
1683  else if ( theTECWheel == 5 )
1684  {
1686  theDigiRangeIterator, theDigiRangeIteratorEnd);
1687  }
1688  else if ( theTECWheel == 6 )
1689  {
1691  theDigiRangeIterator, theDigiRangeIteratorEnd);
1692  }
1693  else if ( theTECWheel == 7 )
1694  {
1696  theDigiRangeIterator, theDigiRangeIteratorEnd);
1697  }
1698  else if ( theTECWheel == 8 )
1699  {
1701  theDigiRangeIterator, theDigiRangeIteratorEnd);
1702  }
1703  else if ( theTECWheel == 9 )
1704  {
1706  theDigiRangeIterator, theDigiRangeIteratorEnd);
1707  }
1708  }
1709  // TEC2TEC
1710  else if ( (thePart == "TEC-") && (theRing == 4) && (theBeam == 27) )
1711  {
1712  if ( theTECWheel == 1 )
1713  {
1715  theDigiRangeIterator, theDigiRangeIteratorEnd);
1716  }
1717  else if ( theTECWheel == 2 )
1718  {
1720  theDigiRangeIterator, theDigiRangeIteratorEnd);
1721  }
1722  else if ( theTECWheel == 3 )
1723  {
1725  theDigiRangeIterator, theDigiRangeIteratorEnd);
1726  }
1727  else if ( theTECWheel == 4 )
1728  {
1730  theDigiRangeIterator, theDigiRangeIteratorEnd);
1731  }
1732  else if ( theTECWheel == 5 )
1733  {
1735  theDigiRangeIterator, theDigiRangeIteratorEnd);
1736  }
1737  }
1738  // **** end of beam 7 in Ring 4 ****
1739 
1740  // **** Ring 6
1741  else if ( (thePart == "TEC-") && (theRing == 6) && (theBeam == 0) )
1742  {
1743  if ( theTECWheel == 1 )
1744  {
1746  theDigiRangeIterator, theDigiRangeIteratorEnd);
1747  }
1748  else if ( theTECWheel == 2 )
1749  {
1751  theDigiRangeIterator, theDigiRangeIteratorEnd);
1752  }
1753  else if ( theTECWheel == 3 )
1754  {
1756  theDigiRangeIterator, theDigiRangeIteratorEnd);
1757  }
1758  else if ( theTECWheel == 4 )
1759  {
1761  theDigiRangeIterator, theDigiRangeIteratorEnd);
1762  }
1763  else if ( theTECWheel == 5 )
1764  {
1766  theDigiRangeIterator, theDigiRangeIteratorEnd);
1767  }
1768  else if ( theTECWheel == 6 )
1769  {
1771  theDigiRangeIterator, theDigiRangeIteratorEnd);
1772  }
1773  else if ( theTECWheel == 7 )
1774  {
1776  theDigiRangeIterator, theDigiRangeIteratorEnd);
1777  }
1778  else if ( theTECWheel == 8 )
1779  {
1781  theDigiRangeIterator, theDigiRangeIteratorEnd);
1782  }
1783  else if ( theTECWheel == 9 )
1784  {
1786  theDigiRangeIterator, theDigiRangeIteratorEnd);
1787  }
1788  }
1789  // **** end of beam 0 in Ring 6 ****
1790 
1791  // **** Beam 1 in Ring 6 ****
1792  else if ( (thePart == "TEC-") && (theRing == 6) && (theBeam == 1) )
1793  {
1794  if ( theTECWheel == 1 )
1795  {
1797  theDigiRangeIterator, theDigiRangeIteratorEnd);
1798  }
1799  else if ( theTECWheel == 2 )
1800  {
1802  theDigiRangeIterator, theDigiRangeIteratorEnd);
1803  }
1804  else if ( theTECWheel == 3 )
1805  {
1807  theDigiRangeIterator, theDigiRangeIteratorEnd);
1808  }
1809  else if ( theTECWheel == 4 )
1810  {
1812  theDigiRangeIterator, theDigiRangeIteratorEnd);
1813  }
1814  else if ( theTECWheel == 5 )
1815  {
1817  theDigiRangeIterator, theDigiRangeIteratorEnd);
1818  }
1819  else if ( theTECWheel == 6 )
1820  {
1822  theDigiRangeIterator, theDigiRangeIteratorEnd);
1823  }
1824  else if ( theTECWheel == 7 )
1825  {
1827  theDigiRangeIterator, theDigiRangeIteratorEnd);
1828  }
1829  else if ( theTECWheel == 8 )
1830  {
1832  theDigiRangeIterator, theDigiRangeIteratorEnd);
1833  }
1834  else if ( theTECWheel == 9 )
1835  {
1837  theDigiRangeIterator, theDigiRangeIteratorEnd);
1838  }
1839  }
1840  // **** end of beam 1 in Ring 6 ****
1841 
1842  // **** Beam 2 in Ring 6 ****
1843  else if ( (thePart == "TEC-") && (theRing == 6) && (theBeam == 2) )
1844  {
1845  if ( theTECWheel == 1 )
1846  {
1848  theDigiRangeIterator, theDigiRangeIteratorEnd);
1849  }
1850  else if ( theTECWheel == 2 )
1851  {
1853  theDigiRangeIterator, theDigiRangeIteratorEnd);
1854  }
1855  else if ( theTECWheel == 3 )
1856  {
1858  theDigiRangeIterator, theDigiRangeIteratorEnd);
1859  }
1860  else if ( theTECWheel == 4 )
1861  {
1863  theDigiRangeIterator, theDigiRangeIteratorEnd);
1864  }
1865  else if ( theTECWheel == 5 )
1866  {
1868  theDigiRangeIterator, theDigiRangeIteratorEnd);
1869  }
1870  else if ( theTECWheel == 6 )
1871  {
1873  theDigiRangeIterator, theDigiRangeIteratorEnd);
1874  }
1875  else if ( theTECWheel == 7 )
1876  {
1878  theDigiRangeIterator, theDigiRangeIteratorEnd);
1879  }
1880  else if ( theTECWheel == 8 )
1881  {
1883  theDigiRangeIterator, theDigiRangeIteratorEnd);
1884  }
1885  else if ( theTECWheel == 9 )
1886  {
1888  theDigiRangeIterator, theDigiRangeIteratorEnd);
1889  }
1890  }
1891  // **** end of beam 2 in Ring 6 ****
1892 
1893  // **** Beam 3 in Ring 6 ****
1894  else if ( (thePart == "TEC-") && (theRing == 6) && (theBeam == 3) )
1895  {
1896  if ( theTECWheel == 1 )
1897  {
1899  theDigiRangeIterator, theDigiRangeIteratorEnd);
1900  }
1901  else if ( theTECWheel == 2 )
1902  {
1904  theDigiRangeIterator, theDigiRangeIteratorEnd);
1905  }
1906  else if ( theTECWheel == 3 )
1907  {
1909  theDigiRangeIterator, theDigiRangeIteratorEnd);
1910  }
1911  else if ( theTECWheel == 4 )
1912  {
1914  theDigiRangeIterator, theDigiRangeIteratorEnd);
1915  }
1916  else if ( theTECWheel == 5 )
1917  {
1919  theDigiRangeIterator, theDigiRangeIteratorEnd);
1920  }
1921  else if ( theTECWheel == 6 )
1922  {
1924  theDigiRangeIterator, theDigiRangeIteratorEnd);
1925  }
1926  else if ( theTECWheel == 7 )
1927  {
1929  theDigiRangeIterator, theDigiRangeIteratorEnd);
1930  }
1931  else if ( theTECWheel == 8 )
1932  {
1934  theDigiRangeIterator, theDigiRangeIteratorEnd);
1935  }
1936  else if ( theTECWheel == 9 )
1937  {
1939  theDigiRangeIterator, theDigiRangeIteratorEnd);
1940  }
1941  }
1942  // **** end of beam 3 in Ring 6 ****
1943 
1944  // **** Beam 4 in Ring 6 ****
1945  else if ( (thePart == "TEC-") && (theRing == 6) && (theBeam == 4) )
1946  {
1947  if ( theTECWheel == 1 )
1948  {
1950  theDigiRangeIterator, theDigiRangeIteratorEnd);
1951  }
1952  else if ( theTECWheel == 2 )
1953  {
1955  theDigiRangeIterator, theDigiRangeIteratorEnd);
1956  }
1957  else if ( theTECWheel == 3 )
1958  {
1960  theDigiRangeIterator, theDigiRangeIteratorEnd);
1961  }
1962  else if ( theTECWheel == 4 )
1963  {
1965  theDigiRangeIterator, theDigiRangeIteratorEnd);
1966  }
1967  else if ( theTECWheel == 5 )
1968  {
1970  theDigiRangeIterator, theDigiRangeIteratorEnd);
1971  }
1972  else if ( theTECWheel == 6 )
1973  {
1975  theDigiRangeIterator, theDigiRangeIteratorEnd);
1976  }
1977  else if ( theTECWheel == 7 )
1978  {
1980  theDigiRangeIterator, theDigiRangeIteratorEnd);
1981  }
1982  else if ( theTECWheel == 8 )
1983  {
1985  theDigiRangeIterator, theDigiRangeIteratorEnd);
1986  }
1987  else if ( theTECWheel == 9 )
1988  {
1990  theDigiRangeIterator, theDigiRangeIteratorEnd);
1991  }
1992  }
1993  // **** end of beam 4 in Ring 6 ****
1994 
1995  // **** Beam 5 in Ring 6 ****
1996  else if ( (thePart == "TEC-") && (theRing == 6) && (theBeam == 5) )
1997  {
1998  if ( theTECWheel == 1 )
1999  {
2001  theDigiRangeIterator, theDigiRangeIteratorEnd);
2002  }
2003  else if ( theTECWheel == 2 )
2004  {
2006  theDigiRangeIterator, theDigiRangeIteratorEnd);
2007  }
2008  else if ( theTECWheel == 3 )
2009  {
2011  theDigiRangeIterator, theDigiRangeIteratorEnd);
2012  }
2013  else if ( theTECWheel == 4 )
2014  {
2016  theDigiRangeIterator, theDigiRangeIteratorEnd);
2017  }
2018  else if ( theTECWheel == 5 )
2019  {
2021  theDigiRangeIterator, theDigiRangeIteratorEnd);
2022  }
2023  else if ( theTECWheel == 6 )
2024  {
2026  theDigiRangeIterator, theDigiRangeIteratorEnd);
2027  }
2028  else if ( theTECWheel == 7 )
2029  {
2031  theDigiRangeIterator, theDigiRangeIteratorEnd);
2032  }
2033  else if ( theTECWheel == 8 )
2034  {
2036  theDigiRangeIterator, theDigiRangeIteratorEnd);
2037  }
2038  else if ( theTECWheel == 9 )
2039  {
2041  theDigiRangeIterator, theDigiRangeIteratorEnd);
2042  }
2043  }
2044  // **** end of beam 5 in Ring 6 ****
2045 
2046  // **** Beam 6 in Ring 6 ****
2047  else if ( (thePart == "TEC-") && (theRing == 6) && (theBeam == 6) )
2048  {
2049  if ( theTECWheel == 1 )
2050  {
2052  theDigiRangeIterator, theDigiRangeIteratorEnd);
2053  }
2054  else if ( theTECWheel == 2 )
2055  {
2057  theDigiRangeIterator, theDigiRangeIteratorEnd);
2058  }
2059  else if ( theTECWheel == 3 )
2060  {
2062  theDigiRangeIterator, theDigiRangeIteratorEnd);
2063  }
2064  else if ( theTECWheel == 4 )
2065  {
2067  theDigiRangeIterator, theDigiRangeIteratorEnd);
2068  }
2069  else if ( theTECWheel == 5 )
2070  {
2072  theDigiRangeIterator, theDigiRangeIteratorEnd);
2073  }
2074  else if ( theTECWheel == 6 )
2075  {
2077  theDigiRangeIterator, theDigiRangeIteratorEnd);
2078  }
2079  else if ( theTECWheel == 7 )
2080  {
2082  theDigiRangeIterator, theDigiRangeIteratorEnd);
2083  }
2084  else if ( theTECWheel == 8 )
2085  {
2087  theDigiRangeIterator, theDigiRangeIteratorEnd);
2088  }
2089  else if ( theTECWheel == 9 )
2090  {
2092  theDigiRangeIterator, theDigiRangeIteratorEnd);
2093  }
2094  }
2095  // **** end of beam 6 in Ring 6 ****
2096 
2097  // **** Beam 7 in Ring 6 ****
2098  else if ( (thePart == "TEC-") && (theRing == 6) && (theBeam == 7) )
2099  {
2100  if ( theTECWheel == 1 )
2101  {
2103  theDigiRangeIterator, theDigiRangeIteratorEnd);
2104  }
2105  else if ( theTECWheel == 2 )
2106  {
2108  theDigiRangeIterator, theDigiRangeIteratorEnd);
2109  }
2110  else if ( theTECWheel == 3 )
2111  {
2113  theDigiRangeIterator, theDigiRangeIteratorEnd);
2114  }
2115  else if ( theTECWheel == 4 )
2116  {
2118  theDigiRangeIterator, theDigiRangeIteratorEnd);
2119  }
2120  else if ( theTECWheel == 5 )
2121  {
2123  theDigiRangeIterator, theDigiRangeIteratorEnd);
2124  }
2125  else if ( theTECWheel == 6 )
2126  {
2128  theDigiRangeIterator, theDigiRangeIteratorEnd);
2129  }
2130  else if ( theTECWheel == 7 )
2131  {
2133  theDigiRangeIterator, theDigiRangeIteratorEnd);
2134  }
2135  else if ( theTECWheel == 8 )
2136  {
2138  theDigiRangeIterator, theDigiRangeIteratorEnd);
2139  }
2140  else if ( theTECWheel == 9 )
2141  {
2143  theDigiRangeIterator, theDigiRangeIteratorEnd);
2144  }
2145  }
2146  // **** end of beam 7 in Ring 6 ****
2147 
2148  // ***** TOB *****
2149  // **** Beam 0 in TOB ****
2150  else if ( (thePart == "TOB") && (theTOBLayer == 1) && (theBeam == 0) && (theTOBStereoDet == 0) && (theStripDet->surface().position().perp() < 58.5) )
2151  {
2152  if ( (theStripDet->surface().position().z() > 99.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 99.0 + theSearchZTOB) )
2153  {
2155  theDigiRangeIterator, theDigiRangeIteratorEnd);
2156  }
2157  else if ( (theStripDet->surface().position().z() > 64.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 64.0 + theSearchZTOB) )
2158  {
2160  theDigiRangeIterator, theDigiRangeIteratorEnd);
2161  }
2162  else if ( (theStripDet->surface().position().z() > 27.5 - theSearchZTOB) && (theStripDet->surface().position().z() < 27.5 + theSearchZTOB) )
2163  {
2165  theDigiRangeIterator, theDigiRangeIteratorEnd);
2166  }
2167  else if ( (theStripDet->surface().position().z() < -10.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -10.0 - theSearchZTOB) )
2168  {
2170  theDigiRangeIterator, theDigiRangeIteratorEnd);
2171  }
2172  else if ( (theStripDet->surface().position().z() < -46.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -46.0 - theSearchZTOB) )
2173  {
2175  theDigiRangeIterator, theDigiRangeIteratorEnd);
2176  }
2177  else if ( (theStripDet->surface().position().z() < -80.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -80.0 - theSearchZTOB) )
2178  {
2180  theDigiRangeIterator, theDigiRangeIteratorEnd);
2181  }
2182  }
2183  // **** end of Beam 0 in TOB ****
2184 
2185  // **** Beam 1 in TOB ****
2186  else if ( (thePart == "TOB") && (theTOBLayer == 1) && (theBeam == 1) && (theTOBStereoDet == 0) && (theStripDet->surface().position().perp() < 58.5) )
2187  {
2188  if ( (theStripDet->surface().position().z() > 99.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 99.0 + theSearchZTOB) )
2189  {
2191  theDigiRangeIterator, theDigiRangeIteratorEnd);
2192  }
2193  else if ( (theStripDet->surface().position().z() > 64.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 64.0 + theSearchZTOB) )
2194  {
2196  theDigiRangeIterator, theDigiRangeIteratorEnd);
2197  }
2198  else if ( (theStripDet->surface().position().z() > 27.5 - theSearchZTOB) && (theStripDet->surface().position().z() < 27.5 + theSearchZTOB) )
2199  {
2201  theDigiRangeIterator, theDigiRangeIteratorEnd);
2202  }
2203  else if ( (theStripDet->surface().position().z() < -10.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -10.0 - theSearchZTOB) )
2204  {
2206  theDigiRangeIterator, theDigiRangeIteratorEnd);
2207  }
2208  else if ( (theStripDet->surface().position().z() < -46.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -46.0 - theSearchZTOB) )
2209  {
2211  theDigiRangeIterator, theDigiRangeIteratorEnd);
2212  }
2213  else if ( (theStripDet->surface().position().z() < -80.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -80.0 - theSearchZTOB) )
2214  {
2216  theDigiRangeIterator, theDigiRangeIteratorEnd);
2217  }
2218  }
2219  // **** end of Beam 1 in TOB ****
2220 
2221  // **** Beam 2 in TOB ****
2222  else if ( (thePart == "TOB") && (theTOBLayer == 1) && (theBeam == 2) && (theTOBStereoDet == 0) && (theStripDet->surface().position().perp() < 58.5) )
2223  {
2224  if ( (theStripDet->surface().position().z() > 99.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 99.0 + theSearchZTOB) )
2225  {
2227  theDigiRangeIterator, theDigiRangeIteratorEnd);
2228  }
2229  else if ( (theStripDet->surface().position().z() > 64.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 64.0 + theSearchZTOB) )
2230  {
2232  theDigiRangeIterator, theDigiRangeIteratorEnd);
2233  }
2234  else if ( (theStripDet->surface().position().z() > 27.5 - theSearchZTOB) && (theStripDet->surface().position().z() < 27.5 + theSearchZTOB) )
2235  {
2237  theDigiRangeIterator, theDigiRangeIteratorEnd);
2238  }
2239  else if ( (theStripDet->surface().position().z() < -10.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -10.0 - theSearchZTOB) )
2240  {
2242  theDigiRangeIterator, theDigiRangeIteratorEnd);
2243  }
2244  else if ( (theStripDet->surface().position().z() < -46.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -46.0 - theSearchZTOB) )
2245  {
2247  theDigiRangeIterator, theDigiRangeIteratorEnd);
2248  }
2249  else if ( (theStripDet->surface().position().z() < -80.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -80.0 - theSearchZTOB) )
2250  {
2252  theDigiRangeIterator, theDigiRangeIteratorEnd);
2253  }
2254  }
2255  // **** end of Beam 2 in TOB ****
2256 
2257  // **** Beam 3 in TOB ****
2258  else if ( (thePart == "TOB") && (theTOBLayer == 1) && (theBeam == 3) && (theTOBStereoDet == 0) && (theStripDet->surface().position().perp() < 58.5) )
2259  {
2260  if ( (theStripDet->surface().position().z() > 99.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 99.0 + theSearchZTOB) )
2261  {
2263  theDigiRangeIterator, theDigiRangeIteratorEnd);
2264  }
2265  else if ( (theStripDet->surface().position().z() > 64.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 64.0 + theSearchZTOB) )
2266  {
2268  theDigiRangeIterator, theDigiRangeIteratorEnd);
2269  }
2270  else if ( (theStripDet->surface().position().z() > 27.5 - theSearchZTOB) && (theStripDet->surface().position().z() < 27.5 + theSearchZTOB) )
2271  {
2273  theDigiRangeIterator, theDigiRangeIteratorEnd);
2274  }
2275  else if ( (theStripDet->surface().position().z() < -10.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -10.0 - theSearchZTOB) )
2276  {
2278  theDigiRangeIterator, theDigiRangeIteratorEnd);
2279  }
2280  else if ( (theStripDet->surface().position().z() < -46.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -46.0 - theSearchZTOB) )
2281  {
2283  theDigiRangeIterator, theDigiRangeIteratorEnd);
2284  }
2285  else if ( (theStripDet->surface().position().z() < -80.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -80.0 - theSearchZTOB) )
2286  {
2288  theDigiRangeIterator, theDigiRangeIteratorEnd);
2289  }
2290  }
2291  // **** end of Beam 3 in TOB ****
2292 
2293  // **** Beam 4 in TOB ****
2294  else if ( (thePart == "TOB") && (theTOBLayer == 1) && (theBeam == 4) && (theTOBStereoDet == 0) && (theStripDet->surface().position().perp() < 58.5) )
2295  {
2296  if ( (theStripDet->surface().position().z() > 99.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 99.0 + theSearchZTOB) )
2297  {
2299  theDigiRangeIterator, theDigiRangeIteratorEnd);
2300  }
2301  else if ( (theStripDet->surface().position().z() > 64.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 64.0 + theSearchZTOB) )
2302  {
2304  theDigiRangeIterator, theDigiRangeIteratorEnd);
2305  }
2306  else if ( (theStripDet->surface().position().z() > 27.5 - theSearchZTOB) && (theStripDet->surface().position().z() < 27.5 + theSearchZTOB) )
2307  {
2309  theDigiRangeIterator, theDigiRangeIteratorEnd);
2310  }
2311  else if ( (theStripDet->surface().position().z() < -10.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -10.0 - theSearchZTOB) )
2312  {
2314  theDigiRangeIterator, theDigiRangeIteratorEnd);
2315  }
2316  else if ( (theStripDet->surface().position().z() < -46.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -46.0 - theSearchZTOB) )
2317  {
2319  theDigiRangeIterator, theDigiRangeIteratorEnd);
2320  }
2321  else if ( (theStripDet->surface().position().z() < -80.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -80.0 - theSearchZTOB) )
2322  {
2324  theDigiRangeIterator, theDigiRangeIteratorEnd);
2325  }
2326  }
2327  // **** end of Beam 4 in TOB ****
2328 
2329  // **** Beam 5 in TOB ****
2330  else if ( (thePart == "TOB") && (theTOBLayer == 1) && (theBeam == 5) && (theTOBStereoDet == 0) && (theStripDet->surface().position().perp() < 58.5) )
2331  {
2332  if ( (theStripDet->surface().position().z() > 99.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 99.0 + theSearchZTOB) )
2333  {
2335  theDigiRangeIterator, theDigiRangeIteratorEnd);
2336  }
2337  else if ( (theStripDet->surface().position().z() > 64.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 64.0 + theSearchZTOB) )
2338  {
2340  theDigiRangeIterator, theDigiRangeIteratorEnd);
2341  }
2342  else if ( (theStripDet->surface().position().z() > 27.5 - theSearchZTOB) && (theStripDet->surface().position().z() < 27.5 + theSearchZTOB) )
2343  {
2345  theDigiRangeIterator, theDigiRangeIteratorEnd);
2346  }
2347  else if ( (theStripDet->surface().position().z() < -10.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -10.0 - theSearchZTOB) )
2348  {
2350  theDigiRangeIterator, theDigiRangeIteratorEnd);
2351  }
2352  else if ( (theStripDet->surface().position().z() < -46.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -46.0 - theSearchZTOB) )
2353  {
2355  theDigiRangeIterator, theDigiRangeIteratorEnd);
2356  }
2357  else if ( (theStripDet->surface().position().z() < -80.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -80.0 - theSearchZTOB) )
2358  {
2360  theDigiRangeIterator, theDigiRangeIteratorEnd);
2361  }
2362  }
2363  // **** end of Beam 5 in TOB ****
2364 
2365  // **** Beam 6 in TOB ****
2366  else if ( (thePart == "TOB") && (theTOBLayer == 1) && (theBeam == 6) && (theTOBStereoDet == 0) && (theStripDet->surface().position().perp() < 58.5) )
2367  {
2368  if ( (theStripDet->surface().position().z() > 99.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 99.0 + theSearchZTOB) )
2369  {
2371  theDigiRangeIterator, theDigiRangeIteratorEnd);
2372  }
2373  else if ( (theStripDet->surface().position().z() > 64.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 64.0 + theSearchZTOB) )
2374  {
2376  theDigiRangeIterator, theDigiRangeIteratorEnd);
2377  }
2378  else if ( (theStripDet->surface().position().z() > 27.5 - theSearchZTOB) && (theStripDet->surface().position().z() < 27.5 + theSearchZTOB) )
2379  {
2381  theDigiRangeIterator, theDigiRangeIteratorEnd);
2382  }
2383  else if ( (theStripDet->surface().position().z() < -10.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -10.0 - theSearchZTOB) )
2384  {
2386  theDigiRangeIterator, theDigiRangeIteratorEnd);
2387  }
2388  else if ( (theStripDet->surface().position().z() < -46.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -46.0 - theSearchZTOB) )
2389  {
2391  theDigiRangeIterator, theDigiRangeIteratorEnd);
2392  }
2393  else if ( (theStripDet->surface().position().z() < -80.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -80.0 - theSearchZTOB) )
2394  {
2396  theDigiRangeIterator, theDigiRangeIteratorEnd);
2397  }
2398  }
2399  // **** end of Beam 6 in TOB ****
2400 
2401  // **** Beam 7 in TOB ****
2402  else if ( (thePart == "TOB") && (theTOBLayer == 1) && (theBeam == 7) && (theTOBStereoDet == 0) && (theStripDet->surface().position().perp() < 58.5) )
2403  {
2404  if ( (theStripDet->surface().position().z() > 99.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 99.0 + theSearchZTOB) )
2405  {
2407  theDigiRangeIterator, theDigiRangeIteratorEnd);
2408  }
2409  else if ( (theStripDet->surface().position().z() > 64.0 - theSearchZTOB) && (theStripDet->surface().position().z() < 64.0 + theSearchZTOB) )
2410  {
2412  theDigiRangeIterator, theDigiRangeIteratorEnd);
2413  }
2414  else if ( (theStripDet->surface().position().z() > 27.5 - theSearchZTOB) && (theStripDet->surface().position().z() < 27.5 + theSearchZTOB) )
2415  {
2417  theDigiRangeIterator, theDigiRangeIteratorEnd);
2418  }
2419  else if ( (theStripDet->surface().position().z() < -10.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -10.0 - theSearchZTOB) )
2420  {
2422  theDigiRangeIterator, theDigiRangeIteratorEnd);
2423  }
2424  else if ( (theStripDet->surface().position().z() < -46.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -46.0 - theSearchZTOB) )
2425  {
2427  theDigiRangeIterator, theDigiRangeIteratorEnd);
2428  }
2429  else if ( (theStripDet->surface().position().z() < -80.0 + theSearchZTOB) && (theStripDet->surface().position().z() > -80.0 - theSearchZTOB) )
2430  {
2432  theDigiRangeIterator, theDigiRangeIteratorEnd);
2433  }
2434  }
2435  // **** end of Beam 7 in TOB ****
2436 
2437  // ***** TIB *****
2438  // **** Beam 0 in TIB ****
2439  else if ( (thePart == "TIB") && (theTIBLayer == 4) && (theBeam == 0) )
2440  {
2441  if ( (theStripDet->surface().position().z() > 60.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 60.5 + theSearchZTIB) )
2442  {
2444  theDigiRangeIterator, theDigiRangeIteratorEnd);
2445  }
2446  else if ( (theStripDet->surface().position().z() > 37.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 37.5 + theSearchZTIB) )
2447  {
2449  theDigiRangeIterator, theDigiRangeIteratorEnd);
2450  }
2451  else if ( (theStripDet->surface().position().z() > 15.0 - theSearchZTIB) && (theStripDet->surface().position().z() < 15.0 + theSearchZTIB) )
2452  {
2454  theDigiRangeIterator, theDigiRangeIteratorEnd);
2455  }
2456  else if ( (theStripDet->surface().position().z() < -7.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -7.5 - theSearchZTIB) )
2457  {
2459  theDigiRangeIterator, theDigiRangeIteratorEnd);
2460  }
2461  else if ( (theStripDet->surface().position().z() < -30.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -30.5 - theSearchZTIB) )
2462  {
2464  theDigiRangeIterator, theDigiRangeIteratorEnd);
2465  }
2466  else if ( (theStripDet->surface().position().z() < -53.0 + theSearchZTIB) && (theStripDet->surface().position().z() > -53.0 - theSearchZTIB) )
2467  {
2469  theDigiRangeIterator, theDigiRangeIteratorEnd);
2470  }
2471  }
2472  // **** end of Beam 0 in TIB ****
2473 
2474  // **** Beam 1 in TIB ****
2475  else if ( (thePart == "TIB") && (theTIBLayer == 4) && (theBeam == 1) )
2476  {
2477  if ( (theStripDet->surface().position().z() > 60.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 60.5 + theSearchZTIB) )
2478  {
2480  theDigiRangeIterator, theDigiRangeIteratorEnd);
2481  }
2482  else if ( (theStripDet->surface().position().z() > 37.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 37.5 + theSearchZTIB) )
2483  {
2485  theDigiRangeIterator, theDigiRangeIteratorEnd);
2486  }
2487  else if ( (theStripDet->surface().position().z() > 15.0 - theSearchZTIB) && (theStripDet->surface().position().z() < 15.0 + theSearchZTIB) )
2488  {
2490  theDigiRangeIterator, theDigiRangeIteratorEnd);
2491  }
2492  else if ( (theStripDet->surface().position().z() < -7.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -7.5 - theSearchZTIB) )
2493  {
2495  theDigiRangeIterator, theDigiRangeIteratorEnd);
2496  }
2497  else if ( (theStripDet->surface().position().z() < -30.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -30.5 - theSearchZTIB) )
2498  {
2500  theDigiRangeIterator, theDigiRangeIteratorEnd);
2501  }
2502  else if ( (theStripDet->surface().position().z() < -53.0 + theSearchZTIB) && (theStripDet->surface().position().z() > -53.0 - theSearchZTIB) )
2503  {
2505  theDigiRangeIterator, theDigiRangeIteratorEnd);
2506  }
2507  }
2508  // **** end of Beam 1 in TIB ****
2509 
2510  // **** Beam 2 in TIB ****
2511  else if ( (thePart == "TIB") && (theTIBLayer == 4) && (theBeam == 2) )
2512  {
2513  if ( (theStripDet->surface().position().z() > 60.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 60.5 + theSearchZTIB) )
2514  {
2516  theDigiRangeIterator, theDigiRangeIteratorEnd);
2517  }
2518  else if ( (theStripDet->surface().position().z() > 37.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 37.5 + theSearchZTIB) )
2519  {
2521  theDigiRangeIterator, theDigiRangeIteratorEnd);
2522  }
2523  else if ( (theStripDet->surface().position().z() > 15.0 - theSearchZTIB) && (theStripDet->surface().position().z() < 15.0 + theSearchZTIB) )
2524  {
2526  theDigiRangeIterator, theDigiRangeIteratorEnd);
2527  }
2528  else if ( (theStripDet->surface().position().z() < -7.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -7.5 - theSearchZTIB) )
2529  {
2531  theDigiRangeIterator, theDigiRangeIteratorEnd);
2532  }
2533  else if ( (theStripDet->surface().position().z() < -30.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -30.5 - theSearchZTIB) )
2534  {
2536  theDigiRangeIterator, theDigiRangeIteratorEnd);
2537  }
2538  else if ( (theStripDet->surface().position().z() < -53.0 + theSearchZTIB) && (theStripDet->surface().position().z() > -53.0 - theSearchZTIB) )
2539  {
2541  theDigiRangeIterator, theDigiRangeIteratorEnd);
2542  }
2543  }
2544  // **** end of Beam 2 in TIB ****
2545 
2546  // **** Beam 3 in TIB ****
2547  else if ( (thePart == "TIB") && (theTIBLayer == 4) && (theBeam == 3) )
2548  {
2549  if ( (theStripDet->surface().position().z() > 60.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 60.5 + theSearchZTIB) )
2550  {
2552  theDigiRangeIterator, theDigiRangeIteratorEnd);
2553  }
2554  else if ( (theStripDet->surface().position().z() > 37.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 37.5 + theSearchZTIB) )
2555  {
2557  theDigiRangeIterator, theDigiRangeIteratorEnd);
2558  }
2559  else if ( (theStripDet->surface().position().z() > 15.0 - theSearchZTIB) && (theStripDet->surface().position().z() < 15.0 + theSearchZTIB) )
2560  {
2562  theDigiRangeIterator, theDigiRangeIteratorEnd);
2563  }
2564  else if ( (theStripDet->surface().position().z() < -7.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -7.5 - theSearchZTIB) )
2565  {
2567  theDigiRangeIterator, theDigiRangeIteratorEnd);
2568  }
2569  else if ( (theStripDet->surface().position().z() < -30.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -30.5 - theSearchZTIB) )
2570  {
2572  theDigiRangeIterator, theDigiRangeIteratorEnd);
2573  }
2574  else if ( (theStripDet->surface().position().z() < -53.0 + theSearchZTIB) && (theStripDet->surface().position().z() > -53.0 - theSearchZTIB) )
2575  {
2577  theDigiRangeIterator, theDigiRangeIteratorEnd);
2578  }
2579  }
2580  // **** end of Beam 3 in TIB ****
2581 
2582  // **** Beam 4 in TIB ****
2583  else if ( (thePart == "TIB") && (theTIBLayer == 4) && (theBeam == 4) )
2584  {
2585  if ( (theStripDet->surface().position().z() > 60.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 60.5 + theSearchZTIB) )
2586  {
2588  theDigiRangeIterator, theDigiRangeIteratorEnd);
2589  }
2590  else if ( (theStripDet->surface().position().z() > 37.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 37.5 + theSearchZTIB) )
2591  {
2593  theDigiRangeIterator, theDigiRangeIteratorEnd);
2594  }
2595  else if ( (theStripDet->surface().position().z() > 15.0 - theSearchZTIB) && (theStripDet->surface().position().z() < 15.0 + theSearchZTIB) )
2596  {
2598  theDigiRangeIterator, theDigiRangeIteratorEnd);
2599  }
2600  else if ( (theStripDet->surface().position().z() < -7.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -7.5 - theSearchZTIB) )
2601  {
2603  theDigiRangeIterator, theDigiRangeIteratorEnd);
2604  }
2605  else if ( (theStripDet->surface().position().z() < -30.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -30.5 - theSearchZTIB) )
2606  {
2608  theDigiRangeIterator, theDigiRangeIteratorEnd);
2609  }
2610  else if ( (theStripDet->surface().position().z() < -53.0 + theSearchZTIB) && (theStripDet->surface().position().z() > -53.0 - theSearchZTIB) )
2611  {
2613  theDigiRangeIterator, theDigiRangeIteratorEnd);
2614  }
2615  }
2616  // **** end of Beam 4 in TIB ****
2617 
2618  // **** Beam 5 in TIB ****
2619  else if ( (thePart == "TIB") && (theTIBLayer == 4) && (theBeam == 5) )
2620  {
2621  if ( (theStripDet->surface().position().z() > 60.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 60.5 + theSearchZTIB) )
2622  {
2624  theDigiRangeIterator, theDigiRangeIteratorEnd);
2625  }
2626  else if ( (theStripDet->surface().position().z() > 37.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 37.5 + theSearchZTIB) )
2627  {
2629  theDigiRangeIterator, theDigiRangeIteratorEnd);
2630  }
2631  else if ( (theStripDet->surface().position().z() > 15.0 - theSearchZTIB) && (theStripDet->surface().position().z() < 15.0 + theSearchZTIB) )
2632  {
2634  theDigiRangeIterator, theDigiRangeIteratorEnd);
2635  }
2636  else if ( (theStripDet->surface().position().z() < -7.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -7.5 - theSearchZTIB) )
2637  {
2639  theDigiRangeIterator, theDigiRangeIteratorEnd);
2640  }
2641  else if ( (theStripDet->surface().position().z() < -30.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -30.5 - theSearchZTIB) )
2642  {
2644  theDigiRangeIterator, theDigiRangeIteratorEnd);
2645  }
2646  else if ( (theStripDet->surface().position().z() < -53.0 + theSearchZTIB) && (theStripDet->surface().position().z() > -53.0 - theSearchZTIB) )
2647  {
2649  theDigiRangeIterator, theDigiRangeIteratorEnd);
2650  }
2651  }
2652  // **** end of Beam 5 in TIB ****
2653 
2654  // **** Beam 6 in TIB ****
2655  else if ( (thePart == "TIB") && (theTIBLayer == 4) && (theBeam == 6) )
2656  {
2657  if ( (theStripDet->surface().position().z() > 60.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 60.5 + theSearchZTIB) )
2658  {
2660  theDigiRangeIterator, theDigiRangeIteratorEnd);
2661  }
2662  else if ( (theStripDet->surface().position().z() > 37.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 37.5 + theSearchZTIB) )
2663  {
2665  theDigiRangeIterator, theDigiRangeIteratorEnd);
2666  }
2667  else if ( (theStripDet->surface().position().z() > 15.0 - theSearchZTIB) && (theStripDet->surface().position().z() < 15.0 + theSearchZTIB) )
2668  {
2670  theDigiRangeIterator, theDigiRangeIteratorEnd);
2671  }
2672  else if ( (theStripDet->surface().position().z() < -7.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -7.5 - theSearchZTIB) )
2673  {
2675  theDigiRangeIterator, theDigiRangeIteratorEnd);
2676  }
2677  else if ( (theStripDet->surface().position().z() < -30.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -30.5 - theSearchZTIB) )
2678  {
2680  theDigiRangeIterator, theDigiRangeIteratorEnd);
2681  }
2682  else if ( (theStripDet->surface().position().z() < -53.0 + theSearchZTIB) && (theStripDet->surface().position().z() > -53.0 - theSearchZTIB) )
2683  {
2685  theDigiRangeIterator, theDigiRangeIteratorEnd);
2686  }
2687  }
2688  // **** end of Beam 6 in TIB ****
2689 
2690  // **** Beam 7 in TIB ****
2691  else if ( (thePart == "TIB") && (theTIBLayer == 4) && (theBeam == 7) )
2692  {
2693  if ( (theStripDet->surface().position().z() > 60.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 60.5 + theSearchZTIB) )
2694  {
2696  theDigiRangeIterator, theDigiRangeIteratorEnd);
2697  }
2698  else if ( (theStripDet->surface().position().z() > 37.5 - theSearchZTIB) && (theStripDet->surface().position().z() < 37.5 + theSearchZTIB) )
2699  {
2701  theDigiRangeIterator, theDigiRangeIteratorEnd);
2702  }
2703  else if ( (theStripDet->surface().position().z() > 15.0 - theSearchZTIB) && (theStripDet->surface().position().z() < 15.0 + theSearchZTIB) )
2704  {
2706  theDigiRangeIterator, theDigiRangeIteratorEnd);
2707  }
2708  else if ( (theStripDet->surface().position().z() < -7.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -7.5 - theSearchZTIB) )
2709  {
2711  theDigiRangeIterator, theDigiRangeIteratorEnd);
2712  }
2713  else if ( (theStripDet->surface().position().z() < -30.5 + theSearchZTIB) && (theStripDet->surface().position().z() > -30.5 - theSearchZTIB) )
2714  {
2716  theDigiRangeIterator, theDigiRangeIteratorEnd);
2717  }
2718  else if ( (theStripDet->surface().position().z() < -53.0 + theSearchZTIB) && (theStripDet->surface().position().z() > -53.0 - theSearchZTIB) )
2719  {
2721  theDigiRangeIterator, theDigiRangeIteratorEnd);
2722  }
2723  }
2724  // **** end of Beam 7 in TIB ****
2725  }
2726  }
2727 }
MonitorElement * theMEBeam7Ring6Disc9NegAdcCounts
Definition: LaserDQM.h:490
MonitorElement * theMEBeam2TOBPosition6AdcCounts
Definition: LaserDQM.h:515
MonitorElement * theMEBeam4Ring4Disc4NegTEC2TECAdcCounts
Definition: LaserDQM.h:354
double theSearchZTIB
Definition: LaserDQM.h:54
MonitorElement * theMEBeam5Ring4Disc6NegAdcCounts
Definition: LaserDQM.h:363
MonitorElement * theMEBeam6TOBPosition4AdcCounts
Definition: LaserDQM.h:545
MonitorElement * theMEBeam2TIBPosition2AdcCounts
Definition: LaserDQM.h:576
MonitorElement * theMEBeam2Ring4Disc8PosAdcCounts
Definition: LaserDQM.h:106
MonitorElement * theMEBeam4TOBPosition1AdcCounts
Definition: LaserDQM.h:526
MonitorElement * theMEBeam5Ring6Disc8PosAdcCounts
Definition: LaserDQM.h:255
MonitorElement * theMEBeam3Ring6Disc4PosAdcCounts
Definition: LaserDQM.h:229
MonitorElement * theMEBeam3Ring4Disc8PosAdcCounts
Definition: LaserDQM.h:124
MonitorElement * theMEBeam2Ring4Disc6NegAdcCounts
Definition: LaserDQM.h:316
MonitorElement * theMEBeam6TIBPosition2AdcCounts
Definition: LaserDQM.h:608
MonitorElement * theMEBeam3Ring6Disc3PosAdcCounts
Definition: LaserDQM.h:228
MonitorElement * theMEBeam2Ring6Disc1NegAdcCounts
Definition: LaserDQM.h:427
MonitorElement * theMEBeam6Ring4Disc9PosAdcCounts
Definition: LaserDQM.h:165
MonitorElement * theMEBeam1Ring4Disc4NegAdcCounts
Definition: LaserDQM.h:296
MonitorElement * theMEBeam2Ring4Disc6PosAdcCounts
Definition: LaserDQM.h:104
MonitorElement * theMEBeam2Ring4Disc3PosTEC2TECAdcCounts
Definition: LaserDQM.h:112
MonitorElement * theMEBeam0Ring6Disc2PosAdcCounts
Definition: LaserDQM.h:194
MonitorElement * theMEBeam0Ring6Disc7PosAdcCounts
Definition: LaserDQM.h:199
MonitorElement * theMEBeam0TOBPosition6AdcCounts
Definition: LaserDQM.h:499
MonitorElement * theMEBeam4Ring4Disc2NegAdcCounts
Definition: LaserDQM.h:341
MonitorElement * theMEBeam2Ring4Disc5NegTEC2TECAdcCounts
Definition: LaserDQM.h:326
MonitorElement * theMEBeam6Ring6Disc2PosAdcCounts
Definition: LaserDQM.h:260
MonitorElement * theMEBeam6Ring6Disc1NegAdcCounts
Definition: LaserDQM.h:471
MonitorElement * theMEBeam5Ring6Disc3NegAdcCounts
Definition: LaserDQM.h:462
MonitorElement * theMEBeam4Ring4Disc7PosAdcCounts
Definition: LaserDQM.h:134
MonitorElement * theMEBeam7Ring6Disc5PosAdcCounts
Definition: LaserDQM.h:274
MonitorElement * theMEBeam6Ring6Disc6NegAdcCounts
Definition: LaserDQM.h:476
MonitorElement * theMEBeam2Ring4Disc3PosAdcCounts
Definition: LaserDQM.h:101
MonitorElement * theMEBeam0Ring6Disc3NegAdcCounts
Definition: LaserDQM.h:407
MonitorElement * theMEBeam7Ring4Disc2NegTEC2TECAdcCounts
Definition: LaserDQM.h:399
MonitorElement * theMEBeam1Ring4Disc6NegAdcCounts
Definition: LaserDQM.h:298
MonitorElement * theMEBeam1Ring4Disc7PosAdcCounts
Definition: LaserDQM.h:87
MonitorElement * theMEBeam1Ring6Disc5NegAdcCounts
Definition: LaserDQM.h:420
MonitorElement * theMEBeam5Ring4Disc1NegAdcCounts
Definition: LaserDQM.h:358
MonitorElement * theMEBeam6Ring6Disc9PosAdcCounts
Definition: LaserDQM.h:267
MonitorElement * theMEBeam0Ring4Disc6PosAdcCounts
Definition: LaserDQM.h:75
T perp() const
Definition: PV3DBase.h:72
MonitorElement * theMEBeam7Ring6Disc3PosAdcCounts
Definition: LaserDQM.h:272
unsigned int tibLayer(const DetId &id) const
MonitorElement * theMEBeam5Ring4Disc4NegAdcCounts
Definition: LaserDQM.h:361
double theSearchPhiTIB
Definition: LaserDQM.h:51
double theSearchPhiTOB
Definition: LaserDQM.h:52
MonitorElement * theMEBeam4Ring4Disc5NegAdcCounts
Definition: LaserDQM.h:344
MonitorElement * theMEBeam4Ring6Disc4NegAdcCounts
Definition: LaserDQM.h:452
MonitorElement * theMEBeam0Ring6Disc9NegAdcCounts
Definition: LaserDQM.h:413
MonitorElement * theMEBeam2Ring6Disc3PosAdcCounts
Definition: LaserDQM.h:217
MonitorElement * theMEBeam6TIBPosition5AdcCounts
Definition: LaserDQM.h:611
MonitorElement * theMEBeam0Ring4Disc5NegAdcCounts
Definition: LaserDQM.h:286
MonitorElement * theMEBeam0Ring4Disc5PosAdcCounts
Definition: LaserDQM.h:74
MonitorElement * theMEBeam7Ring6Disc8NegAdcCounts
Definition: LaserDQM.h:489
MonitorElement * theMEBeam4Ring4Disc7NegAdcCounts
Definition: LaserDQM.h:346
MonitorElement * theMEBeam6TOBPosition5AdcCounts
Definition: LaserDQM.h:546
MonitorElement * theMEBeam6Ring6Disc5PosAdcCounts
Definition: LaserDQM.h:263
MonitorElement * theMEBeam7Ring6Disc6PosAdcCounts
Definition: LaserDQM.h:275
MonitorElement * theMEBeam1Ring4Disc8NegAdcCounts
Definition: LaserDQM.h:300
MonitorElement * theMEBeam3Ring6Disc6PosAdcCounts
Definition: LaserDQM.h:231
MonitorElement * theMEBeam4TOBPosition5AdcCounts
Definition: LaserDQM.h:530
MonitorElement * theMEBeam5Ring4Disc3NegAdcCounts
Definition: LaserDQM.h:360
MonitorElement * theMEBeam3Ring4Disc4PosAdcCounts
Definition: LaserDQM.h:120
MonitorElement * theMEBeam1Ring4Disc5PosAdcCounts
Definition: LaserDQM.h:85
MonitorElement * theMEBeam4Ring6Disc7PosAdcCounts
Definition: LaserDQM.h:243
MonitorElement * theMEBeam1Ring6Disc1PosAdcCounts
Definition: LaserDQM.h:204
MonitorElement * theMEBeam4Ring4Disc5NegTEC2TECAdcCounts
Definition: LaserDQM.h:355
MonitorElement * theMEBeam7Ring4Disc5NegAdcCounts
Definition: LaserDQM.h:391
void fillAdcCounts(MonitorElement *theMonitor, edm::DetSet< SiStripDigi >::const_iterator digiRangeIterator, edm::DetSet< SiStripDigi >::const_iterator digiRangeIteratorEnd)
fill adc counts from the laser beam into a monitor histogram
Definition: LaserDQM.cc:559
MonitorElement * theMEBeam2TIBPosition5AdcCounts
Definition: LaserDQM.h:579
MonitorElement * theMEBeam0Ring4Disc1PosAdcCounts
Definition: LaserDQM.h:70
MonitorElement * theMEBeam1Ring4Disc1PosAdcCounts
Definition: LaserDQM.h:81
MonitorElement * theMEBeam2Ring4Disc4NegTEC2TECAdcCounts
Definition: LaserDQM.h:325
MonitorElement * theMEBeam4Ring4Disc6PosAdcCounts
Definition: LaserDQM.h:133
MonitorElement * theMEBeam2Ring6Disc4PosAdcCounts
Definition: LaserDQM.h:218
uint32_t tobStereo(const DetId &id) const
Geom::Phi< T > phi() const
Definition: PV3DBase.h:69
MonitorElement * theMEBeam2Ring6Disc2NegAdcCounts
Definition: LaserDQM.h:428
MonitorElement * theMEBeam3TOBPosition1AdcCounts
Definition: LaserDQM.h:518
MonitorElement * theMEBeam1TIBPosition2AdcCounts
Definition: LaserDQM.h:568
MonitorElement * theMEBeam7Ring4Disc8PosAdcCounts
Definition: LaserDQM.h:182
MonitorElement * theMEBeam0TIBPosition6AdcCounts
Definition: LaserDQM.h:564
MonitorElement * theMEBeam0TOBPosition5AdcCounts
Definition: LaserDQM.h:498
MonitorElement * theMEBeam6TIBPosition1AdcCounts
Definition: LaserDQM.h:607
MonitorElement * theMEBeam1Ring6Disc7NegAdcCounts
Definition: LaserDQM.h:422
MonitorElement * theMEBeam5TIBPosition4AdcCounts
Definition: LaserDQM.h:602
MonitorElement * theMEBeam5Ring6Disc2PosAdcCounts
Definition: LaserDQM.h:249
MonitorElement * theMEBeam2Ring6Disc3NegAdcCounts
Definition: LaserDQM.h:429
MonitorElement * theMEBeam6Ring4Disc3PosAdcCounts
Definition: LaserDQM.h:159
MonitorElement * theMEBeam3TIBPosition1AdcCounts
Definition: LaserDQM.h:583
MonitorElement * theMEBeam3Ring4Disc9PosAdcCounts
Definition: LaserDQM.h:125
MonitorElement * theMEBeam0Ring6Disc6NegAdcCounts
Definition: LaserDQM.h:410
MonitorElement * theMEBeam3Ring4Disc7PosAdcCounts
Definition: LaserDQM.h:123
MonitorElement * theMEBeam7Ring4Disc1PosTEC2TECAdcCounts
Definition: LaserDQM.h:186
MonitorElement * theMEBeam6Ring4Disc5NegTEC2TECAdcCounts
Definition: LaserDQM.h:384
MonitorElement * theMEBeam7Ring4Disc2PosTEC2TECAdcCounts
Definition: LaserDQM.h:187
MonitorElement * theMEBeam0Ring6Disc3PosAdcCounts
Definition: LaserDQM.h:195
MonitorElement * theMEBeam0Ring6Disc5NegAdcCounts
Definition: LaserDQM.h:409
MonitorElement * theMEBeam7Ring6Disc6NegAdcCounts
Definition: LaserDQM.h:487
MonitorElement * theMEBeam5Ring4Disc4PosAdcCounts
Definition: LaserDQM.h:149
MonitorElement * theMEBeam3Ring4Disc3PosAdcCounts
Definition: LaserDQM.h:119
MonitorElement * theMEBeam6Ring4Disc5PosAdcCounts
Definition: LaserDQM.h:161
MonitorElement * theMEBeam0TOBPosition2AdcCounts
Definition: LaserDQM.h:495
MonitorElement * theMEBeam7TOBPosition6AdcCounts
Definition: LaserDQM.h:555
MonitorElement * theMEBeam4Ring4Disc2PosAdcCounts
Definition: LaserDQM.h:129
MonitorElement * theMEBeam7Ring4Disc4NegAdcCounts
Definition: LaserDQM.h:390
MonitorElement * theMEBeam3Ring4Disc5NegAdcCounts
Definition: LaserDQM.h:333
MonitorElement * theMEBeam7Ring4Disc2NegAdcCounts
Definition: LaserDQM.h:388
MonitorElement * theMEBeam4TIBPosition6AdcCounts
Definition: LaserDQM.h:596
MonitorElement * theMEBeam6Ring4Disc3PosTEC2TECAdcCounts
Definition: LaserDQM.h:170
MonitorElement * theMEBeam0TIBPosition2AdcCounts
Definition: LaserDQM.h:560
MonitorElement * theMEBeam0Ring4Disc4PosAdcCounts
Definition: LaserDQM.h:73
MonitorElement * theMEBeam2Ring4Disc9NegAdcCounts
Definition: LaserDQM.h:319
MonitorElement * theMEBeam4Ring4Disc4PosTEC2TECAdcCounts
Definition: LaserDQM.h:142
MonitorElement * theMEBeam2Ring4Disc1NegAdcCounts
Definition: LaserDQM.h:311
MonitorElement * theMEBeam5Ring4Disc8PosAdcCounts
Definition: LaserDQM.h:153
MonitorElement * theMEBeam2Ring4Disc3NegAdcCounts
Definition: LaserDQM.h:313
MonitorElement * theMEBeam6TIBPosition3AdcCounts
Definition: LaserDQM.h:609
MonitorElement * theMEBeam6Ring6Disc3PosAdcCounts
Definition: LaserDQM.h:261
MonitorElement * theMEBeam2Ring6Disc8NegAdcCounts
Definition: LaserDQM.h:434
MonitorElement * theMEBeam0Ring6Disc6PosAdcCounts
Definition: LaserDQM.h:198
MonitorElement * theMEBeam2TIBPosition6AdcCounts
Definition: LaserDQM.h:580
MonitorElement * theMEBeam2Ring4Disc1NegTEC2TECAdcCounts
Definition: LaserDQM.h:322
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:40
MonitorElement * theMEBeam7Ring6Disc2PosAdcCounts
Definition: LaserDQM.h:271
MonitorElement * theMEBeam4Ring4Disc1NegAdcCounts
Definition: LaserDQM.h:340
MonitorElement * theMEBeam2Ring6Disc1PosAdcCounts
Definition: LaserDQM.h:215
MonitorElement * theMEBeam4Ring6Disc7NegAdcCounts
Definition: LaserDQM.h:455
MonitorElement * theMEBeam2TOBPosition3AdcCounts
Definition: LaserDQM.h:512
MonitorElement * theMEBeam3Ring6Disc1PosAdcCounts
Definition: LaserDQM.h:226
MonitorElement * theMEBeam6Ring6Disc5NegAdcCounts
Definition: LaserDQM.h:475
MonitorElement * theMEBeam0Ring4Disc2PosAdcCounts
Definition: LaserDQM.h:71
MonitorElement * theMEBeam7TOBPosition5AdcCounts
Definition: LaserDQM.h:554
MonitorElement * theMEBeam6Ring4Disc9NegAdcCounts
Definition: LaserDQM.h:377
MonitorElement * theMEBeam4Ring4Disc1NegTEC2TECAdcCounts
Definition: LaserDQM.h:351
MonitorElement * theMEBeam7TIBPosition3AdcCounts
Definition: LaserDQM.h:617
MonitorElement * theMEBeam5TOBPosition2AdcCounts
Definition: LaserDQM.h:535
MonitorElement * theMEBeam7Ring6Disc8PosAdcCounts
Definition: LaserDQM.h:277
MonitorElement * theMEBeam1Ring4Disc1NegAdcCounts
Definition: LaserDQM.h:293
MonitorElement * theMEBeam0Ring4Disc3PosAdcCounts
Definition: LaserDQM.h:72
MonitorElement * theMEBeam5Ring6Disc7PosAdcCounts
Definition: LaserDQM.h:254
MonitorElement * theMEBeam7TIBPosition1AdcCounts
Definition: LaserDQM.h:615
MonitorElement * theMEBeam4Ring4Disc2PosTEC2TECAdcCounts
Definition: LaserDQM.h:140
MonitorElement * theMEBeam2Ring6Disc5PosAdcCounts
Definition: LaserDQM.h:219
MonitorElement * theMEBeam7Ring4Disc3NegTEC2TECAdcCounts
Definition: LaserDQM.h:400
MonitorElement * theMEBeam1Ring6Disc5PosAdcCounts
Definition: LaserDQM.h:208
MonitorElement * theMEBeam0Ring6Disc4PosAdcCounts
Definition: LaserDQM.h:196
MonitorElement * theMEBeam6Ring4Disc4NegAdcCounts
Definition: LaserDQM.h:372
MonitorElement * theMEBeam6Ring6Disc3NegAdcCounts
Definition: LaserDQM.h:473
MonitorElement * theMEBeam1TOBPosition6AdcCounts
Definition: LaserDQM.h:507
MonitorElement * theMEBeam0Ring4Disc6NegAdcCounts
Definition: LaserDQM.h:287
MonitorElement * theMEBeam7Ring4Disc7NegAdcCounts
Definition: LaserDQM.h:393
MonitorElement * theMEBeam7Ring4Disc7PosAdcCounts
Definition: LaserDQM.h:181
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
MonitorElement * theMEBeam2Ring4Disc7PosAdcCounts
Definition: LaserDQM.h:105
MonitorElement * theMEBeam7Ring6Disc4PosAdcCounts
Definition: LaserDQM.h:273
MonitorElement * theMEBeam1Ring4Disc9PosAdcCounts
Definition: LaserDQM.h:89
MonitorElement * theMEBeam1Ring4Disc5PosTEC2TECAdcCounts
Definition: LaserDQM.h:96
MonitorElement * theMEBeam1Ring4Disc3PosTEC2TECAdcCounts
Definition: LaserDQM.h:94
MonitorElement * theMEBeam6Ring4Disc7PosAdcCounts
Definition: LaserDQM.h:163
MonitorElement * theMEBeam3Ring4Disc5PosAdcCounts
Definition: LaserDQM.h:121
MonitorElement * theMEBeam1TOBPosition2AdcCounts
Definition: LaserDQM.h:503
MonitorElement * theMEBeam3TOBPosition2AdcCounts
Definition: LaserDQM.h:519
MonitorElement * theMEBeam3Ring4Disc8NegAdcCounts
Definition: LaserDQM.h:336
MonitorElement * theMEBeam0Ring6Disc7NegAdcCounts
Definition: LaserDQM.h:411
MonitorElement * theMEBeam0Ring4Disc9NegAdcCounts
Definition: LaserDQM.h:290
MonitorElement * theMEBeam7Ring6Disc3NegAdcCounts
Definition: LaserDQM.h:484
MonitorElement * theMEBeam3TIBPosition3AdcCounts
Definition: LaserDQM.h:585
MonitorElement * theMEBeam4Ring6Disc5PosAdcCounts
Definition: LaserDQM.h:241
MonitorElement * theMEBeam3Ring6Disc7PosAdcCounts
Definition: LaserDQM.h:232
MonitorElement * theMEBeam6Ring6Disc7PosAdcCounts
Definition: LaserDQM.h:265
MonitorElement * theMEBeam0Ring4Disc4NegAdcCounts
Definition: LaserDQM.h:285
MonitorElement * theMEBeam7Ring6Disc2NegAdcCounts
Definition: LaserDQM.h:483
MonitorElement * theMEBeam4Ring4Disc2NegTEC2TECAdcCounts
Definition: LaserDQM.h:352
MonitorElement * theMEBeam3TIBPosition6AdcCounts
Definition: LaserDQM.h:588
MonitorElement * theMEBeam1Ring4Disc8PosAdcCounts
Definition: LaserDQM.h:88
MonitorElement * theMEBeam2Ring4Disc9PosAdcCounts
Definition: LaserDQM.h:107
MonitorElement * theMEBeam5Ring6Disc2NegAdcCounts
Definition: LaserDQM.h:461
MonitorElement * theMEBeam0Ring4Disc8NegAdcCounts
Definition: LaserDQM.h:289
MonitorElement * theMEBeam1Ring4Disc2NegTEC2TECAdcCounts
Definition: LaserDQM.h:305
MonitorElement * theMEBeam7Ring4Disc4PosAdcCounts
Definition: LaserDQM.h:178
MonitorElement * theMEBeam4Ring4Disc5PosAdcCounts
Definition: LaserDQM.h:132
MonitorElement * theMEBeam2Ring4Disc3NegTEC2TECAdcCounts
Definition: LaserDQM.h:324
MonitorElement * theMEBeam1Ring4Disc4PosTEC2TECAdcCounts
Definition: LaserDQM.h:95
MonitorElement * theMEBeam1Ring6Disc9NegAdcCounts
Definition: LaserDQM.h:424
MonitorElement * theMEBeam4TOBPosition2AdcCounts
Definition: LaserDQM.h:527
MonitorElement * theMEBeam0TOBPosition4AdcCounts
Definition: LaserDQM.h:497
MonitorElement * theMEBeam3Ring6Disc2NegAdcCounts
Definition: LaserDQM.h:439
MonitorElement * theMEBeam0Ring6Disc1NegAdcCounts
Definition: LaserDQM.h:405
MonitorElement * theMEBeam1Ring6Disc3PosAdcCounts
Definition: LaserDQM.h:206
MonitorElement * theMEBeam3Ring6Disc5NegAdcCounts
Definition: LaserDQM.h:442
MonitorElement * theMEBeam2TIBPosition4AdcCounts
Definition: LaserDQM.h:578
MonitorElement * theMEBeam1Ring4Disc5NegTEC2TECAdcCounts
Definition: LaserDQM.h:308
MonitorElement * theMEBeam6Ring4Disc4PosTEC2TECAdcCounts
Definition: LaserDQM.h:171
MonitorElement * theMEBeam4Ring4Disc9PosAdcCounts
Definition: LaserDQM.h:136
MonitorElement * theMEBeam7Ring4Disc5PosAdcCounts
Definition: LaserDQM.h:179
MonitorElement * theMEBeam4Ring6Disc6NegAdcCounts
Definition: LaserDQM.h:454
MonitorElement * theMEBeam3Ring4Disc9NegAdcCounts
Definition: LaserDQM.h:337
MonitorElement * theMEBeam6Ring4Disc5PosTEC2TECAdcCounts
Definition: LaserDQM.h:172
MonitorElement * theMEBeam1Ring6Disc9PosAdcCounts
Definition: LaserDQM.h:212
MonitorElement * theMEBeam0TOBPosition1AdcCounts
Definition: LaserDQM.h:494
MonitorElement * theMEBeam1Ring4Disc6PosAdcCounts
Definition: LaserDQM.h:86
MonitorElement * theMEBeam2TIBPosition1AdcCounts
Definition: LaserDQM.h:575
MonitorElement * theMEBeam0Ring4Disc1NegAdcCounts
Definition: LaserDQM.h:282
MonitorElement * theMEBeam3TIBPosition2AdcCounts
Definition: LaserDQM.h:584
MonitorElement * theMEBeam0Ring4Disc2NegAdcCounts
Definition: LaserDQM.h:283
MonitorElement * theMEBeam5Ring4Disc2NegAdcCounts
Definition: LaserDQM.h:359
MonitorElement * theMEBeam1Ring4Disc2PosAdcCounts
Definition: LaserDQM.h:82
MonitorElement * theMEBeam5TOBPosition4AdcCounts
Definition: LaserDQM.h:537
MonitorElement * theMEBeam6Ring4Disc5NegAdcCounts
Definition: LaserDQM.h:373
MonitorElement * theMEBeam5TIBPosition3AdcCounts
Definition: LaserDQM.h:601
MonitorElement * theMEBeam7Ring4Disc4PosTEC2TECAdcCounts
Definition: LaserDQM.h:189
MonitorElement * theMEBeam1Ring6Disc4PosAdcCounts
Definition: LaserDQM.h:207
T z() const
Definition: PV3DBase.h:64
MonitorElement * theMEBeam7Ring4Disc5NegTEC2TECAdcCounts
Definition: LaserDQM.h:402
MonitorElement * theMEBeam0Ring4Disc8PosAdcCounts
Definition: LaserDQM.h:77
MonitorElement * theMEBeam3Ring6Disc1NegAdcCounts
Definition: LaserDQM.h:438
MonitorElement * theMEBeam7TIBPosition2AdcCounts
Definition: LaserDQM.h:616
MonitorElement * theMEBeam0TIBPosition4AdcCounts
Definition: LaserDQM.h:562
MonitorElement * theMEBeam5Ring4Disc3PosAdcCounts
Definition: LaserDQM.h:148
MonitorElement * theMEBeam6Ring4Disc2PosAdcCounts
Definition: LaserDQM.h:158
MonitorElement * theMEBeam3TIBPosition4AdcCounts
Definition: LaserDQM.h:586
MonitorElement * theMEBeam3Ring6Disc8NegAdcCounts
Definition: LaserDQM.h:445
MonitorElement * theMEBeam7TIBPosition6AdcCounts
Definition: LaserDQM.h:620
MonitorElement * theMEBeam0Ring4Disc7PosAdcCounts
Definition: LaserDQM.h:76
MonitorElement * theMEBeam0TIBPosition3AdcCounts
Definition: LaserDQM.h:561
MonitorElement * theMEBeam6Ring4Disc1PosAdcCounts
Definition: LaserDQM.h:157
MonitorElement * theMEBeam6Ring6Disc8PosAdcCounts
Definition: LaserDQM.h:266
MonitorElement * theMEBeam5TOBPosition5AdcCounts
Definition: LaserDQM.h:538
MonitorElement * theMEBeam2Ring4Disc8NegAdcCounts
Definition: LaserDQM.h:318
MonitorElement * theMEBeam4Ring4Disc5PosTEC2TECAdcCounts
Definition: LaserDQM.h:143
MonitorElement * theMEBeam6TOBPosition2AdcCounts
Definition: LaserDQM.h:543
MonitorElement * theMEBeam3TOBPosition3AdcCounts
Definition: LaserDQM.h:520
MonitorElement * theMEBeam5Ring4Disc7NegAdcCounts
Definition: LaserDQM.h:364
MonitorElement * theMEBeam1Ring6Disc7PosAdcCounts
Definition: LaserDQM.h:210
MonitorElement * theMEBeam6Ring6Disc7NegAdcCounts
Definition: LaserDQM.h:477
MonitorElement * theMEBeam0Ring6Disc8NegAdcCounts
Definition: LaserDQM.h:412
MonitorElement * theMEBeam7TIBPosition4AdcCounts
Definition: LaserDQM.h:618
MonitorElement * theMEBeam5Ring4Disc2PosAdcCounts
Definition: LaserDQM.h:147
MonitorElement * theMEBeam5Ring4Disc5NegAdcCounts
Definition: LaserDQM.h:362
MonitorElement * theMEBeam3Ring6Disc9PosAdcCounts
Definition: LaserDQM.h:234
MonitorElement * theMEBeam2Ring6Disc6PosAdcCounts
Definition: LaserDQM.h:220
MonitorElement * theMEBeam4Ring4Disc3PosTEC2TECAdcCounts
Definition: LaserDQM.h:141
MonitorElement * theMEBeam4Ring6Disc2PosAdcCounts
Definition: LaserDQM.h:238
MonitorElement * theMEBeam7Ring4Disc3PosAdcCounts
Definition: LaserDQM.h:177
MonitorElement * theMEBeam5Ring6Disc6NegAdcCounts
Definition: LaserDQM.h:465
MonitorElement * theMEBeam6Ring6Disc4PosAdcCounts
Definition: LaserDQM.h:262
void trackerStatistics(edm::Event const &theEvent, edm::EventSetup const &theSetup)
find dets which are hit by a laser beam and fill the monitors
MonitorElement * theMEBeam4TOBPosition4AdcCounts
Definition: LaserDQM.h:529
MonitorElement * theMEBeam2Ring4Disc2NegAdcCounts
Definition: LaserDQM.h:312
MonitorElement * theMEBeam3Ring4Disc3NegAdcCounts
Definition: LaserDQM.h:331
MonitorElement * theMEBeam7Ring4Disc6NegAdcCounts
Definition: LaserDQM.h:392
MonitorElement * theMEBeam7Ring6Disc7PosAdcCounts
Definition: LaserDQM.h:276
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
MonitorElement * theMEBeam7Ring4Disc4NegTEC2TECAdcCounts
Definition: LaserDQM.h:401
MonitorElement * theMEBeam4Ring6Disc1PosAdcCounts
Definition: LaserDQM.h:237
MonitorElement * theMEBeam6Ring4Disc2NegTEC2TECAdcCounts
Definition: LaserDQM.h:381
MonitorElement * theMEBeam5Ring6Disc4PosAdcCounts
Definition: LaserDQM.h:251
MonitorElement * theMEBeam3Ring6Disc9NegAdcCounts
Definition: LaserDQM.h:446
MonitorElement * theMEBeam2Ring6Disc7NegAdcCounts
Definition: LaserDQM.h:433
MonitorElement * theMEBeam1TOBPosition5AdcCounts
Definition: LaserDQM.h:506
MonitorElement * theMEBeam5Ring6Disc9NegAdcCounts
Definition: LaserDQM.h:468
MonitorElement * theMEBeam4Ring4Disc9NegAdcCounts
Definition: LaserDQM.h:348
MonitorElement * theMEBeam1TIBPosition4AdcCounts
Definition: LaserDQM.h:570
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:402
MonitorElement * theMEBeam0TOBPosition3AdcCounts
Definition: LaserDQM.h:496
MonitorElement * theMEBeam6TIBPosition4AdcCounts
Definition: LaserDQM.h:610
MonitorElement * theMEBeam4Ring4Disc3PosAdcCounts
Definition: LaserDQM.h:130
MonitorElement * theMEBeam3Ring4Disc2NegAdcCounts
Definition: LaserDQM.h:330
MonitorElement * theMEBeam2Ring4Disc2PosAdcCounts
Definition: LaserDQM.h:100
MonitorElement * theMEBeam5TIBPosition5AdcCounts
Definition: LaserDQM.h:603
MonitorElement * theMEBeam4Ring6Disc5NegAdcCounts
Definition: LaserDQM.h:453
MonitorElement * theMEBeam5Ring6Disc7NegAdcCounts
Definition: LaserDQM.h:466
MonitorElement * theMEBeam4Ring6Disc9NegAdcCounts
Definition: LaserDQM.h:457
MonitorElement * theMEBeam4TIBPosition1AdcCounts
Definition: LaserDQM.h:591
MonitorElement * theMEBeam7Ring4Disc3PosTEC2TECAdcCounts
Definition: LaserDQM.h:188
MonitorElement * theMEBeam6TIBPosition6AdcCounts
Definition: LaserDQM.h:612
MonitorElement * theMEBeam7Ring6Disc9PosAdcCounts
Definition: LaserDQM.h:278
MonitorElement * theMEBeam1Ring4Disc9NegAdcCounts
Definition: LaserDQM.h:301
MonitorElement * theMEBeam7Ring6Disc4NegAdcCounts
Definition: LaserDQM.h:485
MonitorElement * theMEBeam2Ring4Disc5PosAdcCounts
Definition: LaserDQM.h:103
MonitorElement * theMEBeam5TIBPosition6AdcCounts
Definition: LaserDQM.h:604
MonitorElement * theMEBeam4Ring4Disc8NegAdcCounts
Definition: LaserDQM.h:347
MonitorElement * theMEBeam7Ring4Disc9NegAdcCounts
Definition: LaserDQM.h:395
MonitorElement * theMEBeam2Ring6Disc4NegAdcCounts
Definition: LaserDQM.h:430
MonitorElement * theMEBeam6Ring4Disc6NegAdcCounts
Definition: LaserDQM.h:374
MonitorElement * theMEBeam5TIBPosition2AdcCounts
Definition: LaserDQM.h:600
MonitorElement * theMEBeam6Ring4Disc3NegAdcCounts
Definition: LaserDQM.h:371
MonitorElement * theMEBeam3Ring4Disc4NegAdcCounts
Definition: LaserDQM.h:332
MonitorElement * theMEBeam1Ring4Disc4PosAdcCounts
Definition: LaserDQM.h:84
MonitorElement * theMEBeam2Ring4Disc2PosTEC2TECAdcCounts
Definition: LaserDQM.h:111
MonitorElement * theMEBeam1TIBPosition3AdcCounts
Definition: LaserDQM.h:569
MonitorElement * theMEBeam4Ring4Disc3NegAdcCounts
Definition: LaserDQM.h:342
Definition: DetId.h:18
MonitorElement * theMEBeam3Ring4Disc6NegAdcCounts
Definition: LaserDQM.h:334
MonitorElement * theMEBeam2TOBPosition1AdcCounts
Definition: LaserDQM.h:510
MonitorElement * theMEBeam6Ring6Disc1PosAdcCounts
Definition: LaserDQM.h:259
MonitorElement * theMEBeam4TIBPosition3AdcCounts
Definition: LaserDQM.h:593
MonitorElement * theMEBeam3Ring4Disc1NegAdcCounts
Definition: LaserDQM.h:329
MonitorElement * theMEBeam3TOBPosition4AdcCounts
Definition: LaserDQM.h:521
MonitorElement * theMEBeam7Ring4Disc8NegAdcCounts
Definition: LaserDQM.h:394
MonitorElement * theMEBeam1Ring4Disc3NegTEC2TECAdcCounts
Definition: LaserDQM.h:306
MonitorElement * theMEBeam1Ring6Disc8NegAdcCounts
Definition: LaserDQM.h:423
MonitorElement * theMEBeam7TOBPosition2AdcCounts
Definition: LaserDQM.h:551
MonitorElement * theMEBeam5Ring6Disc5PosAdcCounts
Definition: LaserDQM.h:252
MonitorElement * theMEBeam7Ring6Disc1PosAdcCounts
Definition: LaserDQM.h:270
MonitorElement * theMEBeam2Ring6Disc8PosAdcCounts
Definition: LaserDQM.h:222
MonitorElement * theMEBeam6Ring4Disc8PosAdcCounts
Definition: LaserDQM.h:164
MonitorElement * theMEBeam2Ring4Disc7NegAdcCounts
Definition: LaserDQM.h:317
MonitorElement * theMEBeam3Ring6Disc2PosAdcCounts
Definition: LaserDQM.h:227
MonitorElement * theMEBeam5Ring6Disc9PosAdcCounts
Definition: LaserDQM.h:256
MonitorElement * theMEBeam6Ring4Disc6PosAdcCounts
Definition: LaserDQM.h:162
MonitorElement * theMEBeam2Ring6Disc5NegAdcCounts
Definition: LaserDQM.h:431
MonitorElement * theMEBeam6TOBPosition3AdcCounts
Definition: LaserDQM.h:544
MonitorElement * theMEBeam5Ring6Disc6PosAdcCounts
Definition: LaserDQM.h:253
MonitorElement * theMEBeam7Ring4Disc3NegAdcCounts
Definition: LaserDQM.h:389
MonitorElement * theMEBeam7Ring4Disc1NegAdcCounts
Definition: LaserDQM.h:387
const T & get() const
Definition: EventSetup.h:55
double theSearchZTOB
Definition: LaserDQM.h:55
MonitorElement * theMEBeam0Ring6Disc8PosAdcCounts
Definition: LaserDQM.h:200
MonitorElement * theMEBeam4TOBPosition6AdcCounts
Definition: LaserDQM.h:531
MonitorElement * theMEBeam6Ring6Disc6PosAdcCounts
Definition: LaserDQM.h:264
MonitorElement * theMEBeam7Ring6Disc7NegAdcCounts
Definition: LaserDQM.h:488
T const * product() const
Definition: ESHandle.h:86
MonitorElement * theMEBeam2Ring4Disc4PosAdcCounts
Definition: LaserDQM.h:102
MonitorElement * theMEBeam5Ring4Disc7PosAdcCounts
Definition: LaserDQM.h:152
MonitorElement * theMEBeam2TOBPosition2AdcCounts
Definition: LaserDQM.h:511
MonitorElement * theMEBeam3Ring6Disc4NegAdcCounts
Definition: LaserDQM.h:441
MonitorElement * theMEBeam2Ring6Disc2PosAdcCounts
Definition: LaserDQM.h:216
MonitorElement * theMEBeam3Ring6Disc3NegAdcCounts
Definition: LaserDQM.h:440
MonitorElement * theMEBeam1Ring4Disc1PosTEC2TECAdcCounts
Definition: LaserDQM.h:92
MonitorElement * theMEBeam1Ring4Disc5NegAdcCounts
Definition: LaserDQM.h:297
MonitorElement * theMEBeam3Ring6Disc5PosAdcCounts
Definition: LaserDQM.h:230
MonitorElement * theMEBeam5Ring4Disc9PosAdcCounts
Definition: LaserDQM.h:154
MonitorElement * theMEBeam4Ring4Disc4PosAdcCounts
Definition: LaserDQM.h:131
MonitorElement * theMEBeam2TOBPosition4AdcCounts
Definition: LaserDQM.h:513
MonitorElement * theMEBeam0Ring4Disc9PosAdcCounts
Definition: LaserDQM.h:78
MonitorElement * theMEBeam7TOBPosition1AdcCounts
Definition: LaserDQM.h:550
MonitorElement * theMEBeam2Ring4Disc2NegTEC2TECAdcCounts
Definition: LaserDQM.h:323
MonitorElement * theMEBeam7Ring4Disc6PosAdcCounts
Definition: LaserDQM.h:180
MonitorElement * theMEBeam1TOBPosition1AdcCounts
Definition: LaserDQM.h:502
MonitorElement * theMEBeam3Ring6Disc8PosAdcCounts
Definition: LaserDQM.h:233
MonitorElement * theMEBeam0Ring4Disc3NegAdcCounts
Definition: LaserDQM.h:284
MonitorElement * theMEBeam2TIBPosition3AdcCounts
Definition: LaserDQM.h:577
MonitorElement * theMEBeam4Ring6Disc6PosAdcCounts
Definition: LaserDQM.h:242
MonitorElement * theMEBeam4Ring4Disc4NegAdcCounts
Definition: LaserDQM.h:343
MonitorElement * theMEBeam0Ring6Disc2NegAdcCounts
Definition: LaserDQM.h:406
MonitorElement * theMEBeam2TOBPosition5AdcCounts
Definition: LaserDQM.h:514
MonitorElement * theMEBeam6Ring4Disc4NegTEC2TECAdcCounts
Definition: LaserDQM.h:383
MonitorElement * theMEBeam5Ring4Disc1PosAdcCounts
Definition: LaserDQM.h:146
MonitorElement * theMEBeam2Ring4Disc1PosAdcCounts
Definition: LaserDQM.h:99
MonitorElement * theMEBeam2Ring4Disc1PosTEC2TECAdcCounts
Definition: LaserDQM.h:110
MonitorElement * theMEBeam3TOBPosition5AdcCounts
Definition: LaserDQM.h:522
MonitorElement * theMEBeam7Ring4Disc2PosAdcCounts
Definition: LaserDQM.h:176
MonitorElement * theMEBeam1TIBPosition1AdcCounts
Definition: LaserDQM.h:567
MonitorElement * theMEBeam2Ring4Disc4NegAdcCounts
Definition: LaserDQM.h:314
MonitorElement * theMEBeam4Ring6Disc8NegAdcCounts
Definition: LaserDQM.h:456
MonitorElement * theMEBeam0Ring6Disc1PosAdcCounts
Definition: LaserDQM.h:193
MonitorElement * theMEBeam1Ring4Disc7NegAdcCounts
Definition: LaserDQM.h:299
MonitorElement * theMEBeam6Ring4Disc1PosTEC2TECAdcCounts
Definition: LaserDQM.h:168
MonitorElement * theMEBeam5Ring6Disc1NegAdcCounts
Definition: LaserDQM.h:460
MonitorElement * theMEBeam4Ring6Disc8PosAdcCounts
Definition: LaserDQM.h:244
MonitorElement * theMEBeam4Ring4Disc1PosAdcCounts
Definition: LaserDQM.h:128
MonitorElement * theMEBeam5TOBPosition1AdcCounts
Definition: LaserDQM.h:534
MonitorElement * theMEBeam6Ring4Disc7NegAdcCounts
Definition: LaserDQM.h:375
MonitorElement * theMEBeam7Ring4Disc9PosAdcCounts
Definition: LaserDQM.h:183
MonitorElement * theMEBeam4TIBPosition5AdcCounts
Definition: LaserDQM.h:595
MonitorElement * theMEBeam3TIBPosition5AdcCounts
Definition: LaserDQM.h:587
MonitorElement * theMEBeam7Ring4Disc1NegTEC2TECAdcCounts
Definition: LaserDQM.h:398
MonitorElement * theMEBeam3TOBPosition6AdcCounts
Definition: LaserDQM.h:523
MonitorElement * theMEBeam1Ring6Disc3NegAdcCounts
Definition: LaserDQM.h:418
MonitorElement * theMEBeam1TOBPosition3AdcCounts
Definition: LaserDQM.h:504
MonitorElement * theMEBeam1Ring6Disc2PosAdcCounts
Definition: LaserDQM.h:205
MonitorElement * theMEBeam1TIBPosition6AdcCounts
Definition: LaserDQM.h:572
MonitorElement * theMEBeam5TOBPosition6AdcCounts
Definition: LaserDQM.h:539
MonitorElement * theMEBeam5Ring6Disc1PosAdcCounts
Definition: LaserDQM.h:248
MonitorElement * theMEBeam6Ring4Disc4PosAdcCounts
Definition: LaserDQM.h:160
MonitorElement * theMEBeam6Ring4Disc2PosTEC2TECAdcCounts
Definition: LaserDQM.h:169
MonitorElement * theMEBeam5TOBPosition3AdcCounts
Definition: LaserDQM.h:536
MonitorElement * theMEBeam6Ring6Disc8NegAdcCounts
Definition: LaserDQM.h:478
MonitorElement * theMEBeam6Ring4Disc1NegAdcCounts
Definition: LaserDQM.h:369
MonitorElement * theMEBeam7Ring6Disc1NegAdcCounts
Definition: LaserDQM.h:482
MonitorElement * theMEBeam6Ring4Disc3NegTEC2TECAdcCounts
Definition: LaserDQM.h:382
MonitorElement * theMEBeam5Ring6Disc5NegAdcCounts
Definition: LaserDQM.h:464
MonitorElement * theMEBeam2Ring6Disc7PosAdcCounts
Definition: LaserDQM.h:221
MonitorElement * theMEBeam2Ring4Disc5NegAdcCounts
Definition: LaserDQM.h:315
MonitorElement * theMEBeam2Ring4Disc4PosTEC2TECAdcCounts
Definition: LaserDQM.h:113
MonitorElement * theMEBeam1Ring6Disc2NegAdcCounts
Definition: LaserDQM.h:417
MonitorElement * theMEBeam5Ring4Disc5PosAdcCounts
Definition: LaserDQM.h:150
MonitorElement * theMEBeam3Ring4Disc1PosAdcCounts
Definition: LaserDQM.h:117
MonitorElement * theMEBeam3Ring4Disc2PosAdcCounts
Definition: LaserDQM.h:118
MonitorElement * theMEBeam2Ring6Disc9NegAdcCounts
Definition: LaserDQM.h:435
MonitorElement * theMEBeam1Ring4Disc3PosAdcCounts
Definition: LaserDQM.h:83
MonitorElement * theMEBeam1Ring4Disc1NegTEC2TECAdcCounts
Definition: LaserDQM.h:304
MonitorElement * theMEBeam4Ring6Disc3NegAdcCounts
Definition: LaserDQM.h:451
MonitorElement * theMEBeam0TIBPosition5AdcCounts
Definition: LaserDQM.h:563
MonitorElement * theMEBeam7TOBPosition3AdcCounts
Definition: LaserDQM.h:552
MonitorElement * theMEBeam4Ring6Disc4PosAdcCounts
Definition: LaserDQM.h:240
MonitorElement * theMEBeam1Ring6Disc8PosAdcCounts
Definition: LaserDQM.h:211
MonitorElement * theMEBeam3Ring6Disc7NegAdcCounts
Definition: LaserDQM.h:444
MonitorElement * theMEBeam1TOBPosition4AdcCounts
Definition: LaserDQM.h:505
MonitorElement * theMEBeam4Ring6Disc2NegAdcCounts
Definition: LaserDQM.h:450
double theSearchPhiTEC
Definition: LaserDQM.h:53
MonitorElement * theMEBeam1Ring4Disc4NegTEC2TECAdcCounts
Definition: LaserDQM.h:307
MonitorElement * theMEBeam0Ring4Disc7NegAdcCounts
Definition: LaserDQM.h:288
MonitorElement * theMEBeam7TOBPosition4AdcCounts
Definition: LaserDQM.h:553
collection_type::const_iterator const_iterator
Definition: DetSet.h:33
MonitorElement * theMEBeam2Ring4Disc5PosTEC2TECAdcCounts
Definition: LaserDQM.h:114
MonitorElement * theMEBeam6Ring4Disc1NegTEC2TECAdcCounts
Definition: LaserDQM.h:380
collection_type::const_iterator const_iterator
Definition: DetSetVector.h:108
MonitorElement * theMEBeam6TOBPosition1AdcCounts
Definition: LaserDQM.h:542
MonitorElement * theMEBeam3Ring4Disc7NegAdcCounts
Definition: LaserDQM.h:335
MonitorElement * theMEBeam1Ring6Disc4NegAdcCounts
Definition: LaserDQM.h:419
MonitorElement * theMEBeam6Ring4Disc8NegAdcCounts
Definition: LaserDQM.h:376
MonitorElement * theMEBeam6Ring6Disc4NegAdcCounts
Definition: LaserDQM.h:474
MonitorElement * theMEBeam5Ring4Disc9NegAdcCounts
Definition: LaserDQM.h:366
MonitorElement * theMEBeam2Ring6Disc9PosAdcCounts
Definition: LaserDQM.h:223
MonitorElement * theMEBeam6Ring6Disc9NegAdcCounts
Definition: LaserDQM.h:479
MonitorElement * theMEBeam7Ring4Disc5PosTEC2TECAdcCounts
Definition: LaserDQM.h:190
const PositionType & position() const
MonitorElement * theMEBeam7TIBPosition5AdcCounts
Definition: LaserDQM.h:619
MonitorElement * theMEBeam1Ring4Disc2PosTEC2TECAdcCounts
Definition: LaserDQM.h:93
unsigned int tecWheel(const DetId &id) const
MonitorElement * theMEBeam4TOBPosition3AdcCounts
Definition: LaserDQM.h:528
MonitorElement * theMEBeam5Ring6Disc3PosAdcCounts
Definition: LaserDQM.h:250
MonitorElement * theMEBeam2Ring6Disc6NegAdcCounts
Definition: LaserDQM.h:432
MonitorElement * theMEBeam7Ring4Disc1PosAdcCounts
Definition: LaserDQM.h:175
MonitorElement * theMEBeam6TOBPosition6AdcCounts
Definition: LaserDQM.h:547
MonitorElement * theMEBeam5Ring6Disc8NegAdcCounts
Definition: LaserDQM.h:467
MonitorElement * theMEBeam5Ring4Disc8NegAdcCounts
Definition: LaserDQM.h:365
MonitorElement * theMEBeam4Ring4Disc1PosTEC2TECAdcCounts
Definition: LaserDQM.h:139
MonitorElement * theMEBeam1Ring4Disc2NegAdcCounts
Definition: LaserDQM.h:294
MonitorElement * theMEBeam6Ring6Disc2NegAdcCounts
Definition: LaserDQM.h:472
MonitorElement * theMEBeam4Ring4Disc6NegAdcCounts
Definition: LaserDQM.h:345
MonitorElement * theMEBeam0Ring6Disc4NegAdcCounts
Definition: LaserDQM.h:408
MonitorElement * theMEBeam1TIBPosition5AdcCounts
Definition: LaserDQM.h:571
MonitorElement * theMEBeam1Ring4Disc3NegAdcCounts
Definition: LaserDQM.h:295
MonitorElement * theMEBeam5Ring6Disc4NegAdcCounts
Definition: LaserDQM.h:463
MonitorElement * theMEBeam4TIBPosition4AdcCounts
Definition: LaserDQM.h:594
MonitorElement * theMEBeam7Ring6Disc5NegAdcCounts
Definition: LaserDQM.h:486
MonitorElement * theMEBeam5TIBPosition1AdcCounts
Definition: LaserDQM.h:599
MonitorElement * theMEBeam0TIBPosition1AdcCounts
Definition: LaserDQM.h:559
MonitorElement * theMEBeam4Ring4Disc8PosAdcCounts
Definition: LaserDQM.h:135
MonitorElement * theMEBeam3Ring6Disc6NegAdcCounts
Definition: LaserDQM.h:443
MonitorElement * theMEBeam0Ring6Disc5PosAdcCounts
Definition: LaserDQM.h:197
MonitorElement * theMEBeam5Ring4Disc6PosAdcCounts
Definition: LaserDQM.h:151
Parameters theDigiProducersList
Definition: LaserDQM.h:58
unsigned int tobLayer(const DetId &id) const
MonitorElement * theMEBeam4Ring6Disc1NegAdcCounts
Definition: LaserDQM.h:449
MonitorElement * theMEBeam0Ring6Disc9PosAdcCounts
Definition: LaserDQM.h:201
MonitorElement * theMEBeam1Ring6Disc6NegAdcCounts
Definition: LaserDQM.h:421
unsigned int tecSide(const DetId &id) const
virtual const TrackerGeomDet * idToDet(DetId) const
MonitorElement * theMEBeam1Ring6Disc6PosAdcCounts
Definition: LaserDQM.h:209
MonitorElement * theMEBeam4Ring4Disc3NegTEC2TECAdcCounts
Definition: LaserDQM.h:353
MonitorElement * theMEBeam4TIBPosition2AdcCounts
Definition: LaserDQM.h:592
MonitorElement * theMEBeam4Ring6Disc3PosAdcCounts
Definition: LaserDQM.h:239
MonitorElement * theMEBeam3Ring4Disc6PosAdcCounts
Definition: LaserDQM.h:122
MonitorElement * theMEBeam6Ring4Disc2NegAdcCounts
Definition: LaserDQM.h:370
MonitorElement * theMEBeam4Ring6Disc9PosAdcCounts
Definition: LaserDQM.h:245
MonitorElement * theMEBeam1Ring6Disc1NegAdcCounts
Definition: LaserDQM.h:416