ATLAS Offline Software
PixelLegacyManager.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #include "PixelLegacyManager.h"
11 #include "GaudiKernel/SystemOfUnits.h"
12 
13 #include <sstream>
14 #include <string>
15 #include <cmath>
16 
17 
18 using namespace std;
19 
21  const std::string & detectorKey,
22  const std::string & detectorNode)
23  :
24  // These are for the new description of the Pixel Frame
25  m_pfba (rdbSvc->getRecordsetPtr("PFBA", detectorKey, detectorNode)),
26  m_pbba (rdbSvc->getRecordsetPtr("PBBA", detectorKey, detectorNode)),
27  m_ptba (rdbSvc->getRecordsetPtr("PTBA", detectorKey, detectorNode)),
28  m_pfec (rdbSvc->getRecordsetPtr("PFEC", detectorKey, detectorNode)),
29  m_pbec (rdbSvc->getRecordsetPtr("PBEC", detectorKey, detectorNode)),
30  m_ptec (rdbSvc->getRecordsetPtr("PTEC", detectorKey, detectorNode)),
31  m_pecn (rdbSvc->getRecordsetPtr("PECN", detectorKey, detectorNode)),
32  m_pecf (rdbSvc->getRecordsetPtr("PECF", detectorKey, detectorNode)),
33  m_pecb (rdbSvc->getRecordsetPtr("PECB", detectorKey, detectorNode)),
34  m_pect (rdbSvc->getRecordsetPtr("PECT", detectorKey, detectorNode)),
35 
36  // These are for the design
37  m_pxbi (rdbSvc->getRecordsetPtr("PXBI", detectorKey, detectorNode)),
38  m_pdch (rdbSvc->getRecordsetPtr("PDCH", detectorKey, detectorNode)),
39  m_pxbd (rdbSvc->getRecordsetPtr("PXBD", detectorKey, detectorNode)),
40 
41  // These are (r a detailed description of the ladders and services on ladde),
42  m_ptla (rdbSvc->getRecordsetPtr("PTLA", detectorKey, detectorNode)),
43  m_pctr (rdbSvc->getRecordsetPtr("PCTR", detectorKey, detectorNode)),
44  m_pftr (rdbSvc->getRecordsetPtr("PFTR", detectorKey, detectorNode)),
45  m_pttr (rdbSvc->getRecordsetPtr("PTTR", detectorKey, detectorNode)),
46  m_pome (rdbSvc->getRecordsetPtr("POME", detectorKey, detectorNode)),
47  m_poti (rdbSvc->getRecordsetPtr("POTI", detectorKey, detectorNode)),
48  m_pobi (rdbSvc->getRecordsetPtr("POBI", detectorKey, detectorNode)),
49  m_poai (rdbSvc->getRecordsetPtr("POAI", detectorKey, detectorNode)),
50  m_poci (rdbSvc->getRecordsetPtr("POCI", detectorKey, detectorNode)),
51  m_posi (rdbSvc->getRecordsetPtr("POSI", detectorKey, detectorNode)),
52  m_pccf (rdbSvc->getRecordsetPtr("PCCF", detectorKey, detectorNode)),
53  m_pcff (rdbSvc->getRecordsetPtr("PCFF", detectorKey, detectorNode)),
54  m_BarrelInSFrame(false),
55  m_EndcapInSFrame(false),
56  m_EndConeSFrame(false),
57  m_dc1Geometry(false)
58 {
59 }
60 
61 
63 {
64  // if m_pfba exists we are using the old frame.
65  return (m_pfba->size());
66 }
67 
68 // PixelBarrelFrame
70 {
71  if (m_BarrelInSFrame) {
72  return (*m_pfba)[0]->getInt("NBOXI");
73  } else {
74  return (*m_pfec)[0]->getInt("NBOXI");
75  }
76 }
77 
79 {
80  if (m_BarrelInSFrame) {
81  return (*m_pfba)[0]->getInt("NTRDI");
82  } else {
83  return (*m_pfec)[0]->getInt("NTRDI");
84  }
85 }
86 
88 {
89  if (m_BarrelInSFrame) {
90  return (*m_pfba)[0]->getDouble("WIDTH1")*Gaudi::Units::cm;
91  } else {
92  return (*m_pfec)[0]->getDouble("WIDTH1")*Gaudi::Units::cm;
93  }
94 }
95 
97 {
98  if (m_BarrelInSFrame) {
99  return (*m_pfba)[0]->getDouble("WIDTH2")*Gaudi::Units::cm;
100  } else {
101  return (*m_pfec)[0]->getDouble("WIDTH2")*Gaudi::Units::cm;
102  }
103 }
104 
106 {
107  if (m_BarrelInSFrame) {
108  return (*m_pfba)[0]->getDouble("LENGTH")*Gaudi::Units::cm;
109  } else {
110  return (*m_pfec)[0]->getDouble("LENGTH")*Gaudi::Units::cm;
111  }
112 }
113 
115 {
116  if (m_BarrelInSFrame) {
117  return (*m_pfba)[0]->getDouble("OFFSET")*Gaudi::Units::cm;
118  } else {
119  return (*m_pfec)[0]->getDouble("OFFSET")*Gaudi::Units::cm;
120  }
121 }
122 
123 // PixelEndcapFrame
125 {
126  return (*m_pecf)[0]->getInt("NBOXI");
127 }
128 
130 {
131  return (*m_pecf)[0]->getInt("NTRDI");
132 }
133 
135 {
136  return (*m_pecf)[0]->getDouble("WIDTH1")*Gaudi::Units::cm;
137 }
138 
140 {
141  return (*m_pecf)[0]->getDouble("WIDTH2")*Gaudi::Units::cm;
142 }
143 
145 {
146  return (*m_pecf)[0]->getDouble("LENGTH")*Gaudi::Units::cm;
147 }
148 
150 {
151  return (*m_pecf)[0]->getDouble("OFFSET")*Gaudi::Units::cm;
152 }
153 
155 {
156  if (m_BarrelInSFrame) {
157  return (*m_pbba)[0]->getDouble("DZ")*Gaudi::Units::cm;
158  } else {
159  if (m_EndcapInSFrame) {
160  return (*m_pecb)[0]->getDouble("DZ")*Gaudi::Units::cm;
161  } else {
162  return (*m_pbec)[0]->getDouble("DZ")*Gaudi::Units::cm;
163  }
164  }
165 }
166 
168 {
169  if (m_BarrelInSFrame) {
170  return (*m_pbba)[0]->getDouble("DY")*Gaudi::Units::cm;
171  } else {
172  if (m_EndcapInSFrame) {
173  return (*m_pecb)[0]->getDouble("DY")*Gaudi::Units::cm;
174  } else {
175  return (*m_pbec)[0]->getDouble("DY")*Gaudi::Units::cm;
176  }
177  }
178 }
179 
181 {
182  if (m_BarrelInSFrame) {
183  return (*m_pbba)[0]->getDouble("DX")*Gaudi::Units::cm;
184  } else {
185  if (m_EndcapInSFrame) {
186  return (*m_pecb)[0]->getDouble("DX")*Gaudi::Units::cm;
187  } else {
188  return (*m_pbec)[0]->getDouble("DX")*Gaudi::Units::cm;
189  }
190  }
191 }
192 
194 {
195  if (m_BarrelInSFrame) {
196  return (*m_ptba)[0]->getDouble("DZ")*Gaudi::Units::cm;
197  } else {
198  if (m_EndcapInSFrame) {
199  return (*m_pect)[0]->getDouble("DZ")*Gaudi::Units::cm;
200  } else {
201  if (m_EndConeSFrame) {
202  return (*m_pecn)[0]->getDouble("DZ")*Gaudi::Units::cm;
203  } else {
204  return (*m_ptec)[0]->getDouble("DZ")*Gaudi::Units::cm;
205  }
206  }
207  }
208 }
209 
211 {
212  if (m_BarrelInSFrame) {
213  return (*m_ptba)[0]->getDouble("DY")*Gaudi::Units::cm;
214  } else {
215  if (m_EndcapInSFrame) {
216  return (*m_pect)[0]->getDouble("DY")*Gaudi::Units::cm;
217  } else {
218  if (m_EndConeSFrame) {
219  return (*m_pecn)[0]->getDouble("DY")*Gaudi::Units::cm;
220  } else {
221  return (*m_ptec)[0]->getDouble("DY")*Gaudi::Units::cm;
222  }
223  }
224  }
225 }
226 
228 {
229  if (m_BarrelInSFrame) {
230  return (*m_ptba)[0]->getDouble("DX1")*Gaudi::Units::cm;
231  } else {
232  if (m_EndcapInSFrame) {
233  return (*m_pect)[0]->getDouble("DX1")*Gaudi::Units::cm;
234  } else {
235  if (m_EndConeSFrame) {
236  return (*m_pecn)[0]->getDouble("DX1")*Gaudi::Units::cm;
237  } else {
238  return (*m_ptec)[0]->getDouble("DX1")*Gaudi::Units::cm;
239  }
240  }
241  }
242 }
243 
245 {
246  if (m_BarrelInSFrame) {
247  return (*m_ptba)[0]->getDouble("DX2")*Gaudi::Units::cm;
248  } else {
249  if (m_EndcapInSFrame) {
250  return (*m_pect)[0]->getDouble("DX2")*Gaudi::Units::cm;
251  } else {
252  if (m_EndConeSFrame) {
253  return (*m_pecn)[0]->getDouble("DX2")*Gaudi::Units::cm;
254  } else {
255  return (*m_ptec)[0]->getDouble("DX2")*Gaudi::Units::cm;
256  }
257  }
258  }
259 }
260 
262 {
263  if (m_BarrelInSFrame) {
264  return (*m_ptba)[0]->getDouble("DZDR")*Gaudi::Units::deg;
265  } else {
266  if (m_EndcapInSFrame) {
267  return (*m_pect)[0]->getDouble("DZDR")*Gaudi::Units::cm;
268  } else {
269  if (m_EndConeSFrame) {
270  return (*m_pecn)[0]->getDouble("DZDR")*Gaudi::Units::deg;
271  } else {
272  return (*m_ptec)[0]->getDouble("DZDR")*Gaudi::Units::deg;
273  }
274  }
275  }
276 }
277 
279 {
280  return (*m_pecn)[0]->getDouble("RADIUS")*Gaudi::Units::cm;
281 }
282 
284 {
285  return (*m_pecn)[0]->getDouble("Z")*Gaudi::Units::cm;
286 }
287 
289 {
290  return (*m_pecn)[0]->getDouble("ANGLEX")*Gaudi::Units::deg;
291 }
292 
294 {
295  return (*m_pecn)[0]->getDouble("ANGLEY")*Gaudi::Units::deg;
296 }
297 
298 
300 {
301  return 2 * 1.48972*Gaudi::Units::mm;
302 }
303 
305 {
306  return 2 * (*m_pxbi)[0]->getDouble("DZLADDER")*Gaudi::Units::cm;
307 }
308 
310 {
311  return 0.5*PixelLadderThickness();
312 }
313 
315 {
316  return 3*Gaudi::Units::mm;
317 }
318 
319 
321 {
322  return 0.099*Gaudi::Units::mm;
323 }
324 
326 {
327  return 4*Gaudi::Units::mm;
328 }
329 
331 {
332  return -5.8*Gaudi::Units::mm;
333 }
334 
336 {
338 }
339 
340 
341 //
342 // Cable
343 //
344 int
346 {
347  return (*m_pome)[0]->getInt("NPOCI");
348 }
349 
350 double
352 {
353  // In old code two cables were connected to middle. Correction stops them touching.
354  double correction = (index == 7) ? 0.000001*Gaudi::Units::cm : 0;
355  return ((*m_poci)[index]->getDouble("Z") - (*m_poci)[index]->getDouble("DZ")) * Gaudi::Units::cm + correction;
356 }
357 
358 double
360 {
361  // In old code two cables were connected to middle. Correction stops them touching.
362  double correction = (index == 7) ? 0.000001*Gaudi::Units::cm : 0;
363  return ((*m_poci)[index]->getDouble("Z") + (*m_poci)[index]->getDouble("DZ")) * Gaudi::Units::cm + correction;
364 }
365 
366 double
368 {
369  return (*m_poci)[index]->getDouble("DY") * Gaudi::Units::cm;
370 }
371 
372 double
374 {
375  return (*m_poci)[index]->getDouble("DX")*Gaudi::Units::cm;
376 }
377 
378 double
380 {
381  return (*m_poci)[index]->getDouble("X")*Gaudi::Units::cm;
382 }
383 
384 
385 std::string
387 {
388  int label = (int)(*m_poci)[index]->getDouble("IBOX");
389  std::ostringstream o;
390  o << label;
391  return o.str();
392 }
393 
394 
395 //
397 //
399 {
400  return (*m_ptla)[0]->getInt("NCENT") + (*m_ptla)[0]->getInt("NEND") + (*m_ptla)[0]->getInt("NTRAP");
401 }
402 
403 double PixelLegacyManager::PixelTMTVariable(int iPart, const std::string & varName)
404 {
405  int ncent = (*m_ptla)[0]->getInt("NCENT");
406  int nend = (*m_ptla)[0]->getInt("NEND");
407  if (iPart < ncent) {
408  return (*m_pctr)[iPart]->getDouble(varName);
409  } else if (iPart < nend+ncent) {
410  return (*m_pftr)[iPart-ncent]->getDouble(varName);
411  } else {
412  return (*m_pttr)[iPart-ncent-nend]->getDouble(varName);
413  }
414 }
415 
417 {
418  return PixelTMTVariable(iPart, "DZDR") * Gaudi::Units::deg;
419 }
420 
421 
423 {
424  return PixelTMTVariable(iPart, "X") * Gaudi::Units::cm;
425 }
426 
428 {
429  return PixelTMTVariable(iPart, "Z") * Gaudi::Units::cm;
430 }
431 
433 {
434  return 2 * PixelTMTVariable(iPart, "DZ") * Gaudi::Units::cm;
435 }
436 
438 {
439  return 2 * PixelTMTVariable(iPart, "DX2") * Gaudi::Units::cm;
440 }
441 
443 {
444  return 2 * PixelTMTVariable(iPart, "DX1") * Gaudi::Units::cm;
445 }
446 
448 {
449  return 2 * PixelTMTVariable(iPart, "DY") * Gaudi::Units::cm;
450 }
451 
453 {
454  double theta = PixelTMTDzdr(iPart);
455  if (theta == 0) {
456  return PixelTMTVariable(iPart, "X")*Gaudi::Units::cm + 0.25*(PixelTMTWidthX1(iPart)+PixelTMTWidthX2(iPart));
457  } else {
458  return PixelTMTVariable(iPart, "X")*Gaudi::Units::cm - 0.5*PixelTMTLength(iPart) * tan(theta) + 0.5*PixelTMTWidthX1(iPart);
459  }
460 }
461 
463 {
464  double theta = PixelTMTDzdr(iPart);
465  if (theta == 0) {
466  return PixelTMTVariable(iPart, "X")*Gaudi::Units::cm + 0.25*(PixelTMTWidthX1(iPart)+PixelTMTWidthX2(iPart));
467  } else {
468  return PixelTMTVariable(iPart, "X")*Gaudi::Units::cm + 0.5*PixelTMTLength(iPart) * tan(theta) + 0.5*PixelTMTWidthX2(iPart);
469  }
470 }
471 
473 {
474  return PixelTMTVariable(iPart, "Y") * Gaudi::Units::cm;
475 }
476 
478 {
479  return PixelTMTPosZ(iPart) - 0.5*PixelTMTLength(iPart);
480 }
481 
483 {
484  return PixelTMTPosZ(iPart) + 0.5*PixelTMTLength(iPart);
485 }
486 
488 {
489  int ncent = (*m_ptla)[0]->getInt("NCENT");
490  int nend = (*m_ptla)[0]->getInt("NEND");
491  return (iPart >= ncent+nend);
492 }
493 
494 //
495 // Omega parameters
496 //
498 {
499  return (*m_poti)[2]->getDouble("X") * Gaudi::Units::cm;
500 }
501 
503 {
504  return (*m_poti)[2]->getDouble("Y") * Gaudi::Units::cm;
505 }
506 
508 {
509  return (*m_poti)[2]->getDouble("RMAX") * Gaudi::Units::cm;
510 }
511 
513 {
514  return (*m_poti)[0]->getDouble("X") * Gaudi::Units::cm;
515 }
516 
518 {
519  return (*m_poti)[0]->getDouble("Y") * Gaudi::Units::cm;
520 }
521 
523 {
524  return (*m_poti)[0]->getDouble("RMAX") * Gaudi::Units::cm;
525 }
526 
528 {
529  return ((*m_poti)[0]->getDouble("RMAX") - (*m_poti)[0]->getDouble("RMIN")) * Gaudi::Units::cm;
530 }
531 
533 {
534  return 2. * (*m_poti)[0]->getDouble("DZ") * Gaudi::Units::cm;
535 }
536 
538 {
539  return ((*m_posi)[0]->getDouble("Y") + 0.5*(*m_posi)[0]->getDouble("DY")) * Gaudi::Units::cm;
540 }
541 
543 {
544  return ((*m_posi)[1]->getDouble("Y") - 0.5*(*m_posi)[1]->getDouble("DY")) * Gaudi::Units::cm;
545 }
546 
547 //
548 // Al Tube
549 //
550 
552 {
553  return (*m_poti)[5]->getDouble("X") * Gaudi::Units::cm;
554 }
555 
557 {
558  return (*m_poti)[5]->getDouble("Y") * Gaudi::Units::cm;
559 }
560 
562 {
563  return (*m_poti)[5]->getDouble("RMAX") * Gaudi::Units::cm;
564 }
565 
567 {
568  return (*m_poti)[3]->getDouble("X") * Gaudi::Units::cm;
569 }
570 
572 {
573  return (*m_poti)[3]->getDouble("Y") * Gaudi::Units::cm;
574 }
575 
577 {
578  return (*m_poti)[3]->getDouble("RMAX") * Gaudi::Units::cm;
579 }
580 
582 {
583  return ((*m_poti)[3]->getDouble("RMAX") - (*m_poti)[3]->getDouble("RMIN")) * Gaudi::Units::cm;
584 }
585 
587 {
588  return 2 * (*m_poti)[3]->getDouble("DZ") * Gaudi::Units::cm;
589 }
590 
591 //
592 // Glue
593 //
594 
596 {
597  return 3;
598 }
599 
601 {
602  return ((*m_posi)[index+2]->getDouble("X") - 0.5*(*m_posi)[index+2]->getDouble("DX")) * Gaudi::Units::cm;
603 }
604 
606 {
607  return (*m_posi)[index+2]->getDouble("DX") * Gaudi::Units::cm;
608 }
609 
611 {
612  return ((*m_posi)[index+2]->getDouble("Y") - 0.5*(*m_posi)[index+2]->getDouble("DY")) * Gaudi::Units::cm;
613 }
614 
616 {
617  return ((*m_posi)[index+2]->getDouble("Y") + 0.5*(*m_posi)[index+2]->getDouble("DY")) * Gaudi::Units::cm;
618 }
619 
621 {
622  return 2 * (*m_posi)[index+2]->getDouble("DZ") * Gaudi::Units::cm;
623 }
624 
626 {
627  return (*m_posi)[index+2]->getDouble("Z") * Gaudi::Units::cm;
628 }
629 
631 {
632  return index;
633 }
634 
635 //
636 // Fluid
637 //
638 
640 {
641  double dz = (*m_pcff)[index%2]->getDouble("DZ")*Gaudi::Units::cm;
642  double posz = (*m_pcff)[index%2]->getDouble("Z")*Gaudi::Units::cm;
643  return posz-dz;
644 }
645 
647 {
648  double dz = (*m_pcff)[index%2]->getDouble("DZ")*Gaudi::Units::cm;
649  double posz = (*m_pcff)[index%2]->getDouble("Z")*Gaudi::Units::cm;
650  return posz+dz;
651 }
652 
654 {
655  if (index < 2) {
656  return 2*(*m_pcff)[index%2]->getDouble("DX1")*Gaudi::Units::cm;
657  } else {
658  return 2*(*m_pcff)[index%2]->getDouble("DX2")*Gaudi::Units::cm;
659  }
660 }
661 
662 
664 {
665  if (index < 2) {
666  return 2*(*m_pcff)[index%2]->getDouble("DX2")*Gaudi::Units::cm;
667  } else {
668  return 2*(*m_pcff)[index%2]->getDouble("DX1")*Gaudi::Units::cm;
669  }
670 }
671 
673 {
674  return 2*(*m_pcff)[index%2]->getDouble("DY")*Gaudi::Units::cm;
675 }
676 
677 
679 {
680  return (*m_pcff)[index%2]->getDouble("X")*Gaudi::Units::cm;
681 }
682 
684 {
685  return (*m_pcff)[index%2]->getDouble("Y")*Gaudi::Units::cm;
686 }
687 
689 {
690  return index;
691 }
692 
694 {
695  return 4;
696 }
697 
699  return (int)(*m_pcff)[index%2]->getDouble("MAT");
700 }
701 
703 {
704  std::string var = "ORIENT_";
705  std::ostringstream o;
706  o << phi;
707  var = var+o.str();
708  return (int)(*m_pccf)[layer]->getInt(var) - 1;
709 }
710 
711 
712 //
713 // Pigtail
714 //
716 {
717  return (*m_poai)[0]->getDouble("DX") * Gaudi::Units::cm;
718 }
719 
721 {
722  return -0.5*(*m_poai)[0]->getDouble("DY") * Gaudi::Units::cm;
723 }
724 
726 {
727  return 0.5*(*m_poai)[0]->getDouble("DY") * Gaudi::Units::cm;
728 }
729 
731 {
732  // Assume its actually the full width but in old geometry it was interpreted as a half width so we
733  // multiply by 2. This gives the flat section twice the width of the curved section which I don't think was the
734  // intention.
735  return 2*(*m_poai)[0]->getDouble("DZ") * Gaudi::Units::cm;
736 }
737 
739 {
740  return 2*(*m_pobi)[0]->getDouble("DZ") * Gaudi::Units::cm;
741 }
742 
743 // FIXME some weird offset
745 {
746  return (*m_poai)[0]->getDouble("X") * Gaudi::Units::cm + PixelLadderConnectorOffsetX();
747 }
748 
750 {
751  return (*m_poai)[0]->getDouble("Z") * Gaudi::Units::cm;
752 }
753 
755 {
756  return (*m_pobi)[0]->getDouble("X") * Gaudi::Units::cm + PixelLadderConnectorOffsetX();
757 }
758 
760 {
761  return (*m_pobi)[0]->getDouble("Y") * Gaudi::Units::cm + PixelLadderPigtailOffsetY();
762 }
763 
765 {
766  return (*m_pobi)[0]->getDouble("RMIN") * Gaudi::Units::cm;
767 }
768 
770 {
771  return (*m_pobi)[0]->getDouble("RMAX") * Gaudi::Units::cm;
772 }
773 
775 {
776  return (*m_pobi)[0]->getDouble("PHI1") * Gaudi::Units::deg;
777 }
778 
780 {
781  return (*m_pobi)[0]->getDouble("PHI2") * Gaudi::Units::deg;
782 }
783 
785 {
786  // FIXME Check
787  return 2*(*m_posi)[9]->getDouble("DZ") * Gaudi::Units::cm;
788 }
789 
790 //
791 // Connector
792 //
794 {
795  return (*m_pome)[0]->getInt("NPOAI") - 1;
796 }
797 
799 {
800  return (*m_poai)[index+1]->getDouble("DX") * Gaudi::Units::cm;
801 }
802 
804 {
805  return (*m_poai)[index+1]->getDouble("DY") * Gaudi::Units::cm;
806 }
807 
809 {
810  return 2*(*m_poai)[index+1]->getDouble("DZ") * Gaudi::Units::cm;
811 }
812 
814 {
815  return (*m_poai)[index+1]->getDouble("X") * Gaudi::Units::cm + PixelLadderConnectorOffsetX();
816 }
817 
819 {
820  return 0;
821 }
822 
824 {
825  // same as (*m_pobi)[0]->getDouble("Z") * Gaudi::Units::cm;
826  return (*m_poai)[index+1]->getDouble("Z") * Gaudi::Units::cm;
827 }
828 
829 
830 //
831 // Design
832 //
833 
835 {
836  return (isBlayer) ? 0 : 1;
837 }
838 
840 {
841  return (*m_pdch)[0]->getInt("NRPCHIP");
842 }
843 
844 
846  return (*m_pdch)[0]->getInt("NZCHIP");
847 }
848 
850  double ActiveArea = DesignRPActiveArea();
851  double GapRP = DesignGapRP();
852  double pitchRP = DesignPitchRP(isBLayer);
853  int numTotal = static_cast<int>((ActiveArea - GapRP)/pitchRP + 0.5);
854  return numTotal / DesignNumChipsPhi();
855 }
856 
858  double ActiveArea = DesignZActiveArea();
859  double GapZ = DesignGapZ();
860  double pitchZ = DesignPitchZ(isBLayer);
861  int CPR = DesignCircuitsEta();
862  return static_cast<int>((ActiveArea - GapZ*CPR)/(CPR*pitchZ) + 0.5);
863 }
864 
865 
867 {
868  double ActiveArea = DesignRPActiveArea();
869  double pitchRP = DesignPitchRP(isBLayer);
870  return static_cast<int>((ActiveArea)/pitchRP + 0.5);
871 }
872 
874 {
875  double ActiveArea = DesignRPActiveArea();
876  double pitchRP = DesignPitchRP(isBLayer);
877  return static_cast<int>((ActiveArea)/pitchRP + 0.5);
878 }
879 
880 
882 {
883  return static_cast<int>((*m_pdch)[0]->getInt("NYCONNEC"));
884 }
885 
886 // Ganged Pixels
888 {
889  return static_cast<int>((*m_pdch)[0]->getInt("NYCONNEC"));
890 
891 }
892 
894 {
895  std::ostringstream A;
896  A << "_" << index;
897  return static_cast<int>((*m_pdch)[0]->getInt("JYEMPTY"+A.str())) - 1;
898 }
899 
901 {
902  std::ostringstream A;
903  A << "_" << index;
904  return static_cast<int>((*m_pdch)[0]->getInt("JYCONNEC"+A.str())) - 1;
905 }
906 
908 {
909  return (*m_pxbi)[0]->getDouble("DYACTIVE")*Gaudi::Units::cm;
910 
911 }
912 
914 {
915  return (*m_pxbi)[0]->getDouble("DZELEB")*Gaudi::Units::cm;
916 }
917 
919 {
920  int type = designType(isBLayer);
921  return (*m_pxbd)[type]->getDouble("PITCHRP")*Gaudi::Units::cm;
922 }
923 
924 // FIXME m_dc1Geometry
925 double PixelLegacyManager::DesignPitchZ(bool isBLayer)
926 {
927  int type = designType(isBLayer);
928  double pitchZ;
929  if(isBLayer && m_dc1Geometry) {
930  // Override NOVA
931  pitchZ = 300 * Gaudi::Units::micrometer;
932  } else {
933  pitchZ = (*m_pxbd)[type]->getDouble("PITCHZ") * Gaudi::Units::cm;
934  }
935  return pitchZ;
936 }
937 
939 {
940  return DesignPitchZ(isBLayer) + DesignGapZ()/2;
941 }
942 
943 
945 {
946  return (*m_pdch)[0]->getDouble("GAPRP")*Gaudi::Units::cm;
947 }
948 
950 {
951  return (*m_pdch)[0]->getDouble("GAPZ")*Gaudi::Units::cm;
952 }
953 
955 {
956  return DesignNumChipsEta();
957 }
PixelLegacyManager::DesignDiodesPhiTotal
int DesignDiodesPhiTotal(bool isBLayer)
Definition: PixelLegacyManager.cxx:866
PixelLegacyManager::PixelTMTWidthY
double PixelTMTWidthY(int iPart)
Definition: PixelLegacyManager.cxx:447
PixelLegacyManager::PixelPigtailPosX
double PixelPigtailPosX()
Definition: PixelLegacyManager.cxx:744
PixelLegacyManager::m_dc1Geometry
bool m_dc1Geometry
Definition: PixelLegacyManager.h:63
PixelLegacyManager::PixelOmegaLength
double PixelOmegaLength()
Definition: PixelLegacyManager.cxx:532
PixelLegacyManager::m_pbba
IRDBRecordset_ptr m_pbba
Definition: PixelLegacyManager.h:28
beamspotnt.var
var
Definition: bin/beamspotnt.py:1394
PixelLegacyManager::PixelBarrelFrameLength
double PixelBarrelFrameLength()
Definition: PixelLegacyManager.cxx:105
PixelLegacyManager::DesignGapRP
double DesignGapRP()
Definition: PixelLegacyManager.cxx:944
PixelLegacyManager::m_poti
IRDBRecordset_ptr m_poti
Definition: PixelLegacyManager.h:51
PixelLegacyManager::PixelOmegaStartY
double PixelOmegaStartY()
Definition: PixelLegacyManager.cxx:537
PixelLegacyManager::PixelAlTubeLowerBendRadius
double PixelAlTubeLowerBendRadius()
Definition: PixelLegacyManager.cxx:576
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
PixelLegacyManager::DesignNumChipsEta
int DesignNumChipsEta()
Definition: PixelLegacyManager.cxx:845
PixelLegacyManager::PixelFluidThick2
double PixelFluidThick2(int index)
Definition: PixelLegacyManager.cxx:663
PixelLegacyManager::PixelLadderThickness
double PixelLadderThickness()
Definition: PixelLegacyManager.cxx:299
PixelLegacyManager::m_ptec
IRDBRecordset_ptr m_ptec
Definition: PixelLegacyManager.h:32
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
PixelLegacyManager::PixelLadderLength
double PixelLadderLength()
Definition: PixelLegacyManager.cxx:304
PixelLegacyManager::PixelAlTubeWallThickness
double PixelAlTubeWallThickness()
Definition: PixelLegacyManager.cxx:581
PixelLegacyManager::PixelTMTPosZ1
double PixelTMTPosZ1(int iPart)
Definition: PixelLegacyManager.cxx:477
PixelLegacyManager::PixelLadderCableOffsetY
double PixelLadderCableOffsetY()
Definition: PixelLegacyManager.cxx:325
PixelLegacyManager::PixelBarrelFrameECZPos
double PixelBarrelFrameECZPos()
Definition: PixelLegacyManager.cxx:283
PixelLegacyManager::PixelAlTubeLowerBendX
double PixelAlTubeLowerBendX()
Definition: PixelLegacyManager.cxx:566
PixelLegacyManager::PixelEndcapNBFrame
int PixelEndcapNBFrame()
Definition: PixelLegacyManager.cxx:124
index
Definition: index.py:1
PixelLegacyManager::m_pftr
IRDBRecordset_ptr m_pftr
Definition: PixelLegacyManager.h:48
PixelLegacyManager::PixelCableStackOffset
double PixelCableStackOffset(int index)
Definition: PixelLegacyManager.cxx:379
PlotCalibFromCool.label
label
Definition: PlotCalibFromCool.py:78
PixelLegacyManager::PixelLadderServicesY
double PixelLadderServicesY()
Definition: PixelLegacyManager.cxx:314
PixelLegacyManager::PixelCableZStart
double PixelCableZStart(int index)
Definition: PixelLegacyManager.cxx:351
PixelLegacyManager::PixelOmegaEndY
double PixelOmegaEndY()
Definition: PixelLegacyManager.cxx:542
theta
Scalar theta() const
theta method
Definition: AmgMatrixBasePlugin.h:75
PixelLegacyManager::PixelTMTWidthX1
double PixelTMTWidthX1(int iPart)
Definition: PixelLegacyManager.cxx:442
PixelLegacyManager::PixelCableThickness
double PixelCableThickness(int index)
Definition: PixelLegacyManager.cxx:373
PixelLegacyManager::PixelLadderPigtailOffsetY
double PixelLadderPigtailOffsetY()
Definition: PixelLegacyManager.cxx:335
PixelLegacyManager::PixelTMTNumParts
int PixelTMTNumParts()
TMT.
Definition: PixelLegacyManager.cxx:398
PixelLegacyManager::PixelPigtailEndY
double PixelPigtailEndY()
Definition: PixelLegacyManager.cxx:725
deg
#define deg
Definition: SbPolyhedron.cxx:17
PixelLegacyManager::PixelPigtailBendY
double PixelPigtailBendY()
Definition: PixelLegacyManager.cxx:759
PixelLegacyManager::m_pome
IRDBRecordset_ptr m_pome
Definition: PixelLegacyManager.h:50
PixelLegacyManager::PixelOmegaLowerBendRadius
double PixelOmegaLowerBendRadius()
Definition: PixelLegacyManager.cxx:522
PixelLegacyManager::PixelTMTPerModule
bool PixelTMTPerModule(int iPart)
Definition: PixelLegacyManager.cxx:487
PixelLegacyManager::PixelTMTDzdr
double PixelTMTDzdr(int iPart)
Definition: PixelLegacyManager.cxx:416
PixelLegacyManager.h
PixelLegacyManager::PixelBarrelNTFrame
int PixelBarrelNTFrame()
Definition: PixelLegacyManager.cxx:78
PixelLegacyManager::PixelLadderConnectorOffsetX
double PixelLadderConnectorOffsetX()
Definition: PixelLegacyManager.cxx:330
PixelLegacyManager::PixelOmegaGlueStartY
double PixelOmegaGlueStartY(int index)
Definition: PixelLegacyManager.cxx:610
PixelLegacyManager::PixelConnectorPosX
double PixelConnectorPosX(int index)
Definition: PixelLegacyManager.cxx:813
PixelLegacyManager::PixelOmegaWallThickness
double PixelOmegaWallThickness()
Definition: PixelLegacyManager.cxx:527
PixelLegacyManager::m_ptla
IRDBRecordset_ptr m_ptla
Definition: PixelLegacyManager.h:46
PixelLegacyManager::PixelOmegaGlueThickness
double PixelOmegaGlueThickness(int index)
Definition: PixelLegacyManager.cxx:605
PixelLegacyManager::PixelLegacyManager
PixelLegacyManager(IRDBAccessSvc *rdbSvc, const std::string &detectorKey, const std::string &detectorNode)
Definition: PixelLegacyManager.cxx:20
PixelLegacyManager::PixelBarrelFrameECAlphaY
double PixelBarrelFrameECAlphaY()
Definition: PixelLegacyManager.cxx:293
PixelLegacyManager::m_pttr
IRDBRecordset_ptr m_pttr
Definition: PixelLegacyManager.h:49
PixelLegacyManager::PixelOmegaUpperBendX
double PixelOmegaUpperBendX()
Definition: PixelLegacyManager.cxx:497
PixelLegacyManager::PixelFluidZ1
double PixelFluidZ1(int index)
Definition: PixelLegacyManager.cxx:639
dqt_zlumi_alleff_HIST.A
A
Definition: dqt_zlumi_alleff_HIST.py:110
PixelLegacyManager::PixelTMTBaseX2
double PixelTMTBaseX2(int iPart)
Definition: PixelLegacyManager.cxx:462
PixelLegacyManager::PixelFluidNumTypes
int PixelFluidNumTypes()
Definition: PixelLegacyManager.cxx:693
cm
const double cm
Definition: Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/FCAL_ChannelMap.cxx:25
tools.zlumi_mc_cf.correction
def correction(mu, runmode, campaign, run=None)
Definition: zlumi_mc_cf.py:4
PixelLegacyManager::PixelEndcapNTFrame
int PixelEndcapNTFrame()
Definition: PixelLegacyManager.cxx:129
PixelLegacyManager::PixelFluidX
double PixelFluidX(int index)
Definition: PixelLegacyManager.cxx:678
PixelLegacyManager::PixelConnectorWidthX
double PixelConnectorWidthX(int index)
Definition: PixelLegacyManager.cxx:798
GeoPrimitives.h
PixelLegacyManager::PixelAlTubeLowerBendY
double PixelAlTubeLowerBendY()
Definition: PixelLegacyManager.cxx:571
A
PixelLegacyManager::m_pobi
IRDBRecordset_ptr m_pobi
Definition: PixelLegacyManager.h:52
PixelLegacyManager::m_pfba
IRDBRecordset_ptr m_pfba
Definition: PixelLegacyManager.h:27
IRDBAccessSvc.h
Definition of the abstract IRDBAccessSvc interface.
PixelLegacyManager::PixelCableLabel
std::string PixelCableLabel(int index)
Definition: PixelLegacyManager.cxx:386
PixelLegacyManager::PixelBarrelFrameOffset
double PixelBarrelFrameOffset()
Definition: PixelLegacyManager.cxx:114
PixelLegacyManager::PixelAlTubeUpperBendX
double PixelAlTubeUpperBendX()
Definition: PixelLegacyManager.cxx:551
PixelLegacyManager::PixelTMTPosX
double PixelTMTPosX(int iPart)
Definition: PixelLegacyManager.cxx:422
PixelLegacyManager::PixelEndcapTFrameWidth
double PixelEndcapTFrameWidth()
Definition: PixelLegacyManager.cxx:139
PixelLegacyManager::PixelFluidZ2
double PixelFluidZ2(int index)
Definition: PixelLegacyManager.cxx:646
PixelLegacyManager::m_pecb
IRDBRecordset_ptr m_pecb
Definition: PixelLegacyManager.h:35
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:42
PixelLegacyManager::PixelLadderServicesX
double PixelLadderServicesX()
Definition: PixelLegacyManager.cxx:309
PixelAthClusterMonAlgCfg.varName
string varName
end cluster ToT and charge
Definition: PixelAthClusterMonAlgCfg.py:125
PixelLegacyManager::m_pect
IRDBRecordset_ptr m_pect
Definition: PixelLegacyManager.h:36
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
PixelLegacyManager::m_pecn
IRDBRecordset_ptr m_pecn
Definition: PixelLegacyManager.h:33
PixelLegacyManager::PixelTMTWidthX2
double PixelTMTWidthX2(int iPart)
Definition: PixelLegacyManager.cxx:437
PixelLegacyManager::PixelTFrameDzDr
double PixelTFrameDzDr()
Definition: PixelLegacyManager.cxx:261
PixelLegacyManager::PixelConnectorPosY
double PixelConnectorPosY(int index)
Definition: PixelLegacyManager.cxx:818
PixelLegacyManager::DesignPitchRP
double DesignPitchRP(bool isBLayer)
Definition: PixelLegacyManager.cxx:918
PixelLegacyManager::m_pctr
IRDBRecordset_ptr m_pctr
Definition: PixelLegacyManager.h:47
PixelLegacyManager::m_EndConeSFrame
bool m_EndConeSFrame
Definition: PixelLegacyManager.h:61
PixelLegacyManager::PixelPigtailPosZ
double PixelPigtailPosZ()
Definition: PixelLegacyManager.cxx:749
PixelLegacyManager::PixelOmegaGlueStartX
double PixelOmegaGlueStartX(int index)
Definition: PixelLegacyManager.cxx:600
PixelLegacyManager::PixelTMTLength
double PixelTMTLength(int iPart)
Definition: PixelLegacyManager.cxx:432
PixelLegacyManager::PixelEndcapFrameOffset
double PixelEndcapFrameOffset()
Definition: PixelLegacyManager.cxx:149
PixelLegacyManager::PixelNumConnectorElements
int PixelNumConnectorElements()
Definition: PixelLegacyManager.cxx:793
PixelLegacyManager::PixelFluidMatType
int PixelFluidMatType(int index)
Definition: PixelLegacyManager.cxx:698
PixelLegacyManager::EmptyRows
int EmptyRows(int index)
Definition: PixelLegacyManager.cxx:893
PixelLegacyManager::DesignZActiveArea
double DesignZActiveArea()
Definition: PixelLegacyManager.cxx:913
drawFromPickle.tan
tan
Definition: drawFromPickle.py:36
python.SystemOfUnits.micrometer
int micrometer
Definition: SystemOfUnits.py:71
PixelLegacyManager::PixelFluidY
double PixelFluidY(int index)
Definition: PixelLegacyManager.cxx:683
PixelLegacyManager::DesignGapZ
double DesignGapZ()
Definition: PixelLegacyManager.cxx:949
PixelLegacyManager::EmptyRowConnections
int EmptyRowConnections(int index)
Definition: PixelLegacyManager.cxx:900
PixelLegacyManager::m_pecf
IRDBRecordset_ptr m_pecf
Definition: PixelLegacyManager.h:34
PixelLegacyManager::PixelBFrameHalfLength
double PixelBFrameHalfLength()
Definition: PixelLegacyManager.cxx:154
PixelLegacyManager::PixelPigtailBendRMin
double PixelPigtailBendRMin()
Definition: PixelLegacyManager.cxx:764
PixelLegacyManager::PixelOmegaGluePosZ
double PixelOmegaGluePosZ(int index)
Definition: PixelLegacyManager.cxx:625
PixelLegacyManager::m_pdch
IRDBRecordset_ptr m_pdch
Definition: PixelLegacyManager.h:41
PixelLegacyManager::DesignNumRowsPerChip
int DesignNumRowsPerChip(bool isBLayer)
Definition: PixelLegacyManager.cxx:849
PixelLegacyManager::PixelPigtailBendX
double PixelPigtailBendX()
Definition: PixelLegacyManager.cxx:754
PixelLegacyManager::PixelTMTVariable
double PixelTMTVariable(int iPart, const std::string &varName)
Definition: PixelLegacyManager.cxx:403
PixelLegacyManager::m_pxbi
IRDBRecordset_ptr m_pxbi
Definition: PixelLegacyManager.h:40
PixelLegacyManager::PixelTMTPosY
double PixelTMTPosY(int iPart)
Definition: PixelLegacyManager.cxx:472
PixelLegacyManager::PixelFluidThick1
double PixelFluidThick1(int index)
Definition: PixelLegacyManager.cxx:653
PixelLegacyManager::PixelBarrelNBFrame
int PixelBarrelNBFrame()
Definition: PixelLegacyManager.cxx:69
PixelLegacyManager::m_pbec
IRDBRecordset_ptr m_pbec
Definition: PixelLegacyManager.h:31
PixelLegacyManager::m_poci
IRDBRecordset_ptr m_poci
Definition: PixelLegacyManager.h:54
PixelLegacyManager::PixelConnectorPosZ
double PixelConnectorPosZ(int index)
Definition: PixelLegacyManager.cxx:823
PixelLegacyManager::PixelPigtailBendPhiMax
double PixelPigtailBendPhiMax()
Definition: PixelLegacyManager.cxx:779
PixelLegacyManager::PixelBarrelFrameECRadius
double PixelBarrelFrameECRadius()
Definition: PixelLegacyManager.cxx:278
PixelLegacyManager::PixelBarrelBFrameWidth
double PixelBarrelBFrameWidth()
Definition: PixelLegacyManager.cxx:87
PixelLegacyManager::PixelPigtailBendPhiMin
double PixelPigtailBendPhiMin()
Definition: PixelLegacyManager.cxx:774
PixelLegacyManager::DesignPitchZLong
double DesignPitchZLong(bool isBLayer)
Definition: PixelLegacyManager.cxx:938
PixelLegacyManager::PixelOmegaLowerBendX
double PixelOmegaLowerBendX()
Definition: PixelLegacyManager.cxx:512
PixelLegacyManager::PixelOmegaUpperBendRadius
double PixelOmegaUpperBendRadius()
Definition: PixelLegacyManager.cxx:507
PixelLegacyManager::designType
int designType(bool isBlayer)
Definition: PixelLegacyManager.cxx:834
python.SystemOfUnits.mm
int mm
Definition: SystemOfUnits.py:83
PixelLegacyManager::PixelPigtailFlatWidthZ
double PixelPigtailFlatWidthZ()
Definition: PixelLegacyManager.cxx:730
PixelLegacyManager::PixelOmegaLowerBendY
double PixelOmegaLowerBendY()
Definition: PixelLegacyManager.cxx:517
PixelLegacyManager::PixelTFrameHalfWidthXzn
double PixelTFrameHalfWidthXzn()
Definition: PixelLegacyManager.cxx:227
PixelLegacyManager::PixelCableElements
int PixelCableElements()
Definition: PixelLegacyManager.cxx:345
PixelLegacyManager::PixelLadderCableOffsetX
double PixelLadderCableOffsetX()
Definition: PixelLegacyManager.cxx:320
DeMoScan.index
string index
Definition: DeMoScan.py:364
PixelLegacyManager::PixelConnectorWidthY
double PixelConnectorWidthY(int index)
Definition: PixelLegacyManager.cxx:803
PixelLegacyManager::PixelPigtailThickness
double PixelPigtailThickness()
Definition: PixelLegacyManager.cxx:715
PixelLegacyManager::PixelFluidWidth
double PixelFluidWidth(int index)
Definition: PixelLegacyManager.cxx:672
IRDBRecord.h
Definition of the abstract IRDBRecord interface.
PixelLegacyManager::PixelNumOmegaGlueElements
int PixelNumOmegaGlueElements()
Definition: PixelLegacyManager.cxx:595
PixelLegacyManager::PixelConnectorWidthZ
double PixelConnectorWidthZ(int index)
Definition: PixelLegacyManager.cxx:808
PixelLegacyManager::m_pcff
IRDBRecordset_ptr m_pcff
Definition: PixelLegacyManager.h:57
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
PixelLegacyManager::PixelPigtailEnvelopeLength
double PixelPigtailEnvelopeLength()
Definition: PixelLegacyManager.cxx:784
PixelLegacyManager::DesignNumColsPerChip
int DesignNumColsPerChip(bool isBLayer)
Definition: PixelLegacyManager.cxx:857
PixelLegacyManager::DesignCircuitsEta
int DesignCircuitsEta()
Definition: PixelLegacyManager.cxx:954
PixelLegacyManager::PixelTMTBaseX1
double PixelTMTBaseX1(int iPart)
Definition: PixelLegacyManager.cxx:452
PixelLegacyManager::PixelBarrelFrameECAlphaX
double PixelBarrelFrameECAlphaX()
Definition: PixelLegacyManager.cxx:288
PixelLegacyManager::PixelFluidOrient
int PixelFluidOrient(int layer, int phi)
Definition: PixelLegacyManager.cxx:702
PixelLegacyManager::PixelOmegaGlueEndY
double PixelOmegaGlueEndY(int index)
Definition: PixelLegacyManager.cxx:615
PixelLegacyManager::PixelCableWidth
double PixelCableWidth(int index)
Definition: PixelLegacyManager.cxx:367
PixelLegacyManager::PixelOmegaGlueTypeNum
int PixelOmegaGlueTypeNum(int index)
Definition: PixelLegacyManager.cxx:630
PixelLegacyManager::m_pfec
IRDBRecordset_ptr m_pfec
Definition: PixelLegacyManager.h:30
PixelLegacyManager::DesignDiodesEtaTotal
int DesignDiodesEtaTotal(bool isBLayer)
Definition: PixelLegacyManager.cxx:873
PixelLegacyManager::PixelTFrameHalfWidthY
double PixelTFrameHalfWidthY()
Definition: PixelLegacyManager.cxx:210
PixelLegacyManager::PixelPigtailWidthZ
double PixelPigtailWidthZ()
Definition: PixelLegacyManager.cxx:738
PixelLegacyManager::PixelEndcapFrameLength
double PixelEndcapFrameLength()
Definition: PixelLegacyManager.cxx:144
PixelLegacyManager::PixelFluidType
int PixelFluidType(int index)
Definition: PixelLegacyManager.cxx:688
PixelLegacyManager::PixelAlTubeUpperBendRadius
double PixelAlTubeUpperBendRadius()
Definition: PixelLegacyManager.cxx:561
PixelLegacyManager::PixelEndcapBFrameWidth
double PixelEndcapBFrameWidth()
Definition: PixelLegacyManager.cxx:134
PixelLegacyManager::DesignNumChipsPhi
int DesignNumChipsPhi()
Definition: PixelLegacyManager.cxx:839
PixelLegacyManager::DesignRPActiveArea
double DesignRPActiveArea()
Definition: PixelLegacyManager.cxx:907
PixelLegacyManager::PixelAlTubeLength
double PixelAlTubeLength()
Definition: PixelLegacyManager.cxx:586
PixelLegacyManager::oldFrame
bool oldFrame()
Definition: PixelLegacyManager.cxx:62
IRDBRecordset.h
Definition of the abstract IRDBRecordset interface.
PixelLegacyManager::PixelPigtailBendRMax
double PixelPigtailBendRMax()
Definition: PixelLegacyManager.cxx:769
PixelLegacyManager::PixelTMTPosZ2
double PixelTMTPosZ2(int iPart)
Definition: PixelLegacyManager.cxx:482
PixelLegacyManager::m_pxbd
IRDBRecordset_ptr m_pxbd
Definition: PixelLegacyManager.h:42
PixelLegacyManager::m_poai
IRDBRecordset_ptr m_poai
Definition: PixelLegacyManager.h:53
PixelLegacyManager::PixelOmegaGlueLength
double PixelOmegaGlueLength(int index)
Definition: PixelLegacyManager.cxx:620
PixelLegacyManager::PixelOmegaUpperBendY
double PixelOmegaUpperBendY()
Definition: PixelLegacyManager.cxx:502
PixelLegacyManager::PixelCableZEnd
double PixelCableZEnd(int index)
Definition: PixelLegacyManager.cxx:359
PixelLegacyManager::DesignPitchZ
double DesignPitchZ(bool isBLayer)
Definition: PixelLegacyManager.cxx:925
PixelLegacyManager::PixelBFrameHalfThickness
double PixelBFrameHalfThickness()
Definition: PixelLegacyManager.cxx:180
PixelLegacyManager::PixelAlTubeUpperBendY
double PixelAlTubeUpperBendY()
Definition: PixelLegacyManager.cxx:556
PixelLegacyManager::PixelTMTPosZ
double PixelTMTPosZ(int iPart)
Definition: PixelLegacyManager.cxx:427
PixelLegacyManager::PixelTFrameHalfWidthXzp
double PixelTFrameHalfWidthXzp()
Definition: PixelLegacyManager.cxx:244
PixelLegacyManager::PixelPigtailStartY
double PixelPigtailStartY()
Definition: PixelLegacyManager.cxx:720
PixelLegacyManager::PixelTFrameHalfLength
double PixelTFrameHalfLength()
Definition: PixelLegacyManager.cxx:193
PixelLegacyManager::PixelBFrameHalfWidth
double PixelBFrameHalfWidth()
Definition: PixelLegacyManager.cxx:167
PixelLegacyManager::m_BarrelInSFrame
bool m_BarrelInSFrame
Definition: PixelLegacyManager.h:59
PixelLegacyManager::NumberOfEmptyRows
int NumberOfEmptyRows()
Definition: PixelLegacyManager.cxx:887
PixelLegacyManager::m_posi
IRDBRecordset_ptr m_posi
Definition: PixelLegacyManager.h:55
PixelLegacyManager::DesignNumEmptyRowsInGap
int DesignNumEmptyRowsInGap()
Definition: PixelLegacyManager.cxx:881
PixelLegacyManager::m_ptba
IRDBRecordset_ptr m_ptba
Definition: PixelLegacyManager.h:29
PixelLegacyManager::PixelBarrelTFrameWidth
double PixelBarrelTFrameWidth()
Definition: PixelLegacyManager.cxx:96
PixelLegacyManager::m_EndcapInSFrame
bool m_EndcapInSFrame
Definition: PixelLegacyManager.h:60