ATLAS Offline Software
SCT_ForwardParameters.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
11 
13 #include "GaudiKernel/SystemOfUnits.h"
14 
15 #include <cmath>
16 #include <iostream>
17 #include <memory>
18 
19 
21 {
22  m_rdb = rdb;
23  m_fsiHelper = std::make_unique<FSIHelper>(m_rdb);
24 }
25 
27 {
28 }
29 
30 //
31 // Forward Ring
32 //
33 int
35 {
36  return m_rdb->fwdRing(iRing)->getInt("NUMMODULES");
37 }
38 
39 double
41 {
42  return m_rdb->fwdRing(iRing)->getDouble("MODULESTAGGER") * Gaudi::Units::mm;
43 }
44 
45 double
47 {
48  return m_rdb->fwdRing(iRing)->getDouble("PHIOFREFMODULE") * Gaudi::Units::deg;
49 }
50 
51 
52 int
54 {
55  return m_rdb->fwdRing(iRing)->getInt("USUALRINGSIDE");
56 }
57 
58 double
60 {
61  return m_rdb->fwdRing(iRing)->getDouble("RINGTODISCCENTER") * Gaudi::Units::mm;
62 }
63 
64 
65 
66 //
67 // Forward Wheel
68 //
69 double
71 {
72  return m_rdb->fwdWheel(iWheel)->getDouble("ZPOSITION") * Gaudi::Units::mm;
73 }
74 
75 // Returns +/-1
76 int
78 {
79  return m_rdb->fwdWheel(iWheel)->getInt("STEREOTYPE");
80 }
81 
82 int
84 {
85  return m_rdb->fwdWheel(iWheel)->getInt("NUMRINGS");
86 }
87 
88 
89 int
90 SCT_ForwardParameters::fwdWheelRingMapIndex(int iWheel, int iRing, int ec) const
91 {
92  // In SCT_GeoModel the wheel number is generally 0-8.
93  // In the table "SctFwdWheelRingMap" the wheel number is 1 to 9.
94 
95  // The postive and negative endcap are not identical. If the negative
96  // endcap is different from the positive endcap there will be in an entry
97  // with the wheel number negative. For the negative endcap we first look for
98  // an entry with -ve wheel number. If no entry wee try the positive endcap.
99 
100  int iWheelDB = iWheel + 1;
101 
102  // If it is in the -ve endcap we first look for an entry with -ve wheel number
103  int index = -1;
104  if (ec < 0) {
105  index = fwdWheelRingMapIndexDB(-iWheelDB, iRing);
106  if (index >= 0) return index;
107  }
108  // Look for it in the positive endcap
109  index = fwdWheelRingMapIndexDB(iWheelDB, iRing);
110  if (index < 0) {
111  std::cout << "Wheel (numbering from 1)" << iWheelDB << ", Ring " << iRing
112  << " not in table SctFwdWheelRingMap" << std::endl;
113  }
114  return index;
115 }
116 
117 // Get index in SctFwdWheelRing table for wheel/ring combination
118 // It just loops through the table until it finds a match.
119 // This is not particularly efficient but its fine for the purpose.
120 // Returns -1 if not found.
121 
122 int
123 SCT_ForwardParameters::fwdWheelRingMapIndexDB(int iWheelDB, int iRing) const
124 {
125 
126  for (int i=0; i < m_rdb->fwdWheelRingMapSize(); i++) {
127  if ((m_rdb->fwdWheelRingMap(i)->getInt("WHEELNUM") == iWheelDB) &&
128  (m_rdb->fwdWheelRingMap(i)->getInt("RINGNUM") == iRing))
129  {
130  return i;
131  break;
132  }
133  }
134  return -1;
135 }
136 
137 int
138 SCT_ForwardParameters::fwdRingStaggerOfRefModule(int iWheel, int iRing, int ec) const
139 {
140  int index = fwdWheelRingMapIndex(iWheel, iRing, ec);
141  if (index < 0) return 0;
142  return m_rdb->fwdWheelRingMap(index)->getInt("STAGGEROFREFMODULE");
143 }
144 
145 
146 int
147 SCT_ForwardParameters::fwdWheelRingSide(int iWheel, int iRing, int ec) const
148 {
149  int index = fwdWheelRingMapIndex(iWheel, iRing, ec);
150  if (index < 0) return 0;
151  return m_rdb->fwdWheelRingMap(index)->getInt("SIDE");
152 }
153 
154 
155 int
156 SCT_ForwardParameters::fwdWheelModuleType(int iWheel, int iRing, int ec) const
157 {
158  int index = fwdWheelRingMapIndex(iWheel, iRing, ec);
159  if (index < 0) return 0;
160  return m_rdb->fwdWheelRingMap(index)->getInt("MODULETYPE");
161 }
162 
163 
164 //
165 // Forward DiscSupport
166 //
167 
168 double
170 {
171  return m_rdb->fwdDiscSupport()->getDouble("INNERRADIUS") * Gaudi::Units::mm;
172 }
173 
174 double
176 {
177  return m_rdb->fwdDiscSupport()->getDouble("OUTERRADIUS") * Gaudi::Units::mm;
178 }
179 
180 double
182 {
183  return m_rdb->fwdDiscSupport()->getDouble("THICKNESS") * Gaudi::Units::mm;
184 }
185 
186 std::string
188 {
189  return m_rdb->fwdDiscSupport()->getString("MATERIAL");
190 }
191 
192 //
193 // Forward PatchPanel
194 //
195 int
197 {
198  return m_rdb->fwdPatchPanelLocSize();
199 }
200 
201 int
203 {
204  return m_rdb->fwdPatchPanelLoc(iLoc)->getInt("TYPENUM");
205 }
206 
207 double
209 {
210  return m_rdb->fwdPatchPanelLoc(iLoc)->getDouble("LOCANGLE") * Gaudi::Units::degree;
211 }
212 
213 bool
215 {
216  return m_rdb->fwdPatchPanelLoc(iLoc)->getInt("REPEATQUADRANT");
217 }
218 
219 int
221 {
222  return m_rdb->fwdPatchPanelSize();
223 }
224 
225 double
227 {
228  return m_rdb->fwdPatchPanel(iType)->getDouble("THICKNESS") * Gaudi::Units::mm;
229 }
230 
231 double
233 {
234  return m_rdb->fwdPatchPanel(iType)->getDouble("MIDRADIUS") * Gaudi::Units::mm;
235 }
236 
237 
238 double
240 {
241  return m_rdb->fwdPatchPanel(iType)->getDouble("DELTAR") * Gaudi::Units::mm;
242 }
243 
244 double
246 {
247  return m_rdb->fwdPatchPanel(iType)->getDouble("RPHI") * Gaudi::Units::mm;
248 }
249 
250 std::string
252 {
253  return m_rdb->fwdPatchPanel(iType)->getString("MATERIAL");
254 }
255 
256 //
257 // Forward PatchPanel Connector
258 //
259 bool
261 {
262  return m_rdb->fwdPPCoolingSize() > 0;
263 }
264 
265 double
267 {
268  return m_rdb->fwdPPConnector()->getDouble("THICKNESS") * Gaudi::Units::mm;
269 }
270 
271 double
273 {
274  return m_rdb->fwdPPConnector()->getDouble("DELTAR") * Gaudi::Units::mm;
275 }
276 
277 double
279 {
280  return m_rdb->fwdPPConnector()->getDouble("RPHI") * Gaudi::Units::mm;
281 }
282 
283 std::string
285 {
286  return m_rdb->fwdPPConnector()->getString("MATERIAL");
287 }
288 
289 //
290 // Forward PatchPanel Cooling
291 //
292 bool
294 {
295  return m_rdb->fwdPPCoolingSize() > 0;
296 }
297 
298 double
300 {
301  return m_rdb->fwdPPCooling()->getDouble("THICKNESS") * Gaudi::Units::mm;
302 }
303 
304 double
306 {
307  return m_rdb->fwdPPCooling()->getDouble("DELTAR") * Gaudi::Units::mm;
308 }
309 
310 double
312 {
313  return m_rdb->fwdPPCooling()->getDouble("RPHI") * Gaudi::Units::mm;
314 }
315 
316 std::string
318 {
319  return m_rdb->fwdPPCooling()->getString("MATERIAL");
320 }
321 
322 //
323 // Cooling Block
324 //
325 int
327 {
328  return m_rdb->fwdCoolingBlock(iType)->getInt("HILO");
329 }
330 
331 int
333 {
334  // true is main, false is secondary
335  return m_rdb->fwdCoolingBlock(iType)->getInt("MAINSECONDARY");
336 }
337 
338 double
340 {
341  return m_rdb->fwdCoolingBlock(iType)->getDouble("DELTAR") * Gaudi::Units::mm;
342 }
343 
344 double
346 {
347  return m_rdb->fwdCoolingBlock(iType)->getDouble("RPHI") * Gaudi::Units::mm;
348 }
349 
350 double
352 {
353  return m_rdb->fwdCoolingBlock(iType)->getDouble("THICKNESS") * Gaudi::Units::mm;
354 }
355 
356 double
358 {
359  return m_rdb->fwdCoolingBlock(iType)->getDouble("OFFSETFROMDISC") * Gaudi::Units::mm;
360 }
361 
362 std::string
364 {
365  return m_rdb->fwdCoolingBlock(iType)->getString("MATERIAL");
366 }
367 
368 
369 //
370 // Forward DiscPowerTape
371 //
372 double
374 {
375  return m_rdb->fwdRingServices(iRing)->getDouble("POWERTAPEINNERRADIUS") * Gaudi::Units::mm;
376 }
377 
378 double
380 {
381  return m_rdb->fwdRingServices(iRing)->getDouble("POWERTAPEOUTERRADIUS") * Gaudi::Units::mm;
382 }
383 
384 double
386 {
387  return m_rdb->fwdRingServices(iRing)->getDouble("POWERTAPETHICKNESS") * Gaudi::Units::mm;
388 }
389 
390 std::string
392 {
393  return m_rdb->fwdRingServices(iRing)->getString("POWERTAPEMATERIAL");
394 }
395 
396 
397 
398 //
399 // Forward RingCooling
400 //
401 double
403 {
404  return m_rdb->fwdRingServices(iRing)->getDouble("COOLINGINNERRADIUS") * Gaudi::Units::mm;
405 }
406 
407 double
409 {
410  return m_rdb->fwdRingServices(iRing)->getDouble("COOLINGOUTERRADIUS") * Gaudi::Units::mm;
411 }
412 
413 double
415 {
416  return m_rdb->fwdRingServices(iRing)->getDouble("COOLINGTHICKNESS") * Gaudi::Units::mm;
417 }
418 
419 std::string
421 {
422  return m_rdb->fwdRingServices(iRing)->getString("COOLINGMATERIAL");
423 }
424 
425 //
426 // Forward Disc Fixation
427 //
428 bool
430 {
431  return m_rdb->fwdDiscFixationTable()->size() > 0;
432 }
433 
434 double
436 {
437  return m_rdb->fwdDiscFixation()->getDouble("THICKNESS") * Gaudi::Units::mm;
438 }
439 
440 double
442 {
443  return m_rdb->fwdDiscFixation()->getDouble("RADIUS") * Gaudi::Units::mm;
444 }
445 
446 std::string
448 {
449  return m_rdb->fwdDiscFixation()->getString("MATERIAL");
450 }
451 
452 //
453 // Forward SupportFrame
454 //
455 double
457 {
458  return m_rdb->fwdServices()->getDouble("SUPPORTFRAMEDELTAR") * Gaudi::Units::mm;
459 }
460 
461 double
463 {
464  return m_rdb->fwdServices()->getDouble("SUPPORTFRAMEINNERRAD") * Gaudi::Units::mm;
465 }
466 
467 double
469 {
470  return m_rdb->fwdServices()->getDouble("SUPPORTFRAMEZMIN") * Gaudi::Units::mm;
471 }
472 
473 double
475 {
476  return m_rdb->fwdServices()->getDouble("SUPPORTFRAMEZMAX") * Gaudi::Units::mm;
477 }
478 
479 std::string
481 {
482  return m_rdb->fwdServices()->getString("SUPPORTFRAMEMATERIAL");
483 }
484 
485 //
486 // Forward CoolingPipe
487 //
488 double
490 {
491  return m_rdb->fwdServices()->getDouble("COOLINGPIPERADIUS") * Gaudi::Units::mm;
492 }
493 
494 std::string
496 {
497  return m_rdb->fwdServices()->getString("COOLINGPIPEMATERIAL");
498 }
499 
500 //
501 // Forward PowerTape
502 //
503 double
505 {
506  return m_rdb->fwdServices()->getDouble("POWERTAPECROSSSECT") * Gaudi::Units::mm2;
507 }
508 
509 
510 std::string
512 {
513  return m_rdb->fwdServices()->getString("POWERTAPEMATERIAL");
514 }
515 
516 //
517 // FSI
518 //
519 int
521 {
522  return m_rdb->fwdFSITypeSize();
523 }
524 
525 double
527 {
528  return m_rdb->fwdFSIType(iType)->getDouble("DELTAR") * Gaudi::Units::mm;
529 }
530 
531 double
533 {
534  return m_rdb->fwdFSIType(iType)->getDouble("RPHI") * Gaudi::Units::mm;
535 }
536 
537 double
539 {
540  // Fix for SCT-DC3-03. May be removed when ATLAS-DC3-07 is obsolete.
541  if (iType == 0 && m_rdb->versionTag() == "SCT-DC3-03") return 26*Gaudi::Units::mm;
542  return m_rdb->fwdFSIType(iType)->getDouble("THICKNESS") * Gaudi::Units::mm;
543 }
544 
545 std::string
547 {
548  return m_rdb->fwdFSIType(iType)->getString("MATERIAL");
549 }
550 
551 double
553 {
554  // Fix for SCT-DC3-03. May be removed when ATLAS-DC3-07 is obsolete.
555  if (iType == 0 && m_rdb->versionTag() == "SCT-DC3-03") return 22*Gaudi::Units::mm;
556  return m_rdb->fwdFSIType(iType)->getDouble("ZOFFSET") * Gaudi::Units::mm;
557 }
558 
559 
560 const FSIHelper &
562 {
563  return *m_fsiHelper;
564 }
565 
566 
567 const std::vector<const FSIDetails *> &
569 {
570  return fsiHelper().fsiVector(iWheel);
571 }
572 
573 
574 //
575 // Forward Cylinder Services
576 //
577 bool
579 {
580  return m_rdb->fwdCylServSize() > 0;
581 }
582 
583 int
585 {
586 
587  return m_rdb->fwdCylServLocSize();
588 }
589 
590 std::string
592 {
593  return m_rdb->fwdCylServLoc(iLoc)->getString("NAME");
594 }
595 
596 double
598 {
599  return m_rdb->fwdCylServLoc(iLoc)->getDouble("LOCANGLE") * Gaudi::Units::degree;
600 }
601 
602 int
604 {
605  return m_rdb->fwdCylServSize();
606 }
607 
608 std::string
610 {
611  return m_rdb->fwdCylServ(iType)->getString("NAME");
612 }
613 
614 std::string
616 {
617  return m_rdb->fwdCylServ(iType)->getString("MATERIAL");
618 }
619 
620 double
622 {
623  return m_rdb->fwdCylServ(iType)->getDouble("DELTAR") * Gaudi::Units::mm;
624 }
625 
626 double
628 {
629  return m_rdb->fwdCylServ(iType)->getDouble("RPHI") * Gaudi::Units::mm;
630 }
631 
632 //
633 // Forward ThermalShieldElement
634 //
635 int
637 {
638  return m_rdb->fwdThermalShieldSize();
639 }
640 
641 std::string
643 {
644  return m_rdb->fwdThermalShield(iElement)->getString("MATERIAL");
645 }
646 
647 double
649 {
650  return m_rdb->fwdThermalShield(iElement)->getDouble("INNERRADIUS") * Gaudi::Units::mm;
651 }
652 
653 double
655 {
656  return m_rdb->fwdThermalShield(iElement)->getDouble("OUTERRADIUS") * Gaudi::Units::mm;
657 }
658 
659 double
661 {
662  return m_rdb->fwdThermalShield(iElement)->getDouble("ZMIN") * Gaudi::Units::mm;
663 }
664 
665 double
667 {
668  return m_rdb->fwdThermalShield(iElement)->getDouble("ZMAX") * Gaudi::Units::mm;
669 }
670 
671 
672 //
673 // Forward General
674 //
675 int
677 {
678  return m_rdb->fwdGeneral()->getInt("NUMWHEELS");
679 }
680 
681 double
683 {
684  return m_rdb->fwdGeneral()->getDouble("INNERRADIUS") * Gaudi::Units::mm;
685 }
686 
687 double
689 {
690  return m_rdb->fwdGeneral()->getDouble("OUTERRADIUS") * Gaudi::Units::mm;
691 }
692 
693 double
695 {
696  return m_rdb->fwdGeneral()->getDouble("ZMIN") * Gaudi::Units::mm;
697 }
698 
699 double
701 {
702  return m_rdb->fwdGeneral()->getDouble("ZMAX") * Gaudi::Units::mm;
703 }
704 
705 double
707 {
708  return m_rdb->fwdGeneral()->getDouble("TRTGAPPOS") * Gaudi::Units::mm;
709 }
710 
711 //
712 // OptoHarness
713 //
714 bool
716 {
717  return m_rdb->fwdOptoHarnessTable()->size() > 0;
718 }
719 
720 int
722 {
723  return m_rdb->fwdOptoHarness(index)->getInt("DISCTYPE");
724 }
725 
726 double
728 {
729  return m_rdb->fwdOptoHarness(index)->getDouble("INNERRADIUS") * Gaudi::Units::mm;
730 }
731 
732 double
734 {
735  return m_rdb->fwdOptoHarness(index)->getDouble("OUTERRADIUS") * Gaudi::Units::mm;
736 }
737 
738 double
740 {
741  return m_rdb->fwdOptoHarness(index)->getDouble("THICKNESS") * Gaudi::Units::mm;
742 }
743 
744 std::string
746 {
747  return m_rdb->fwdOptoHarness(index)->getString("MATERIAL");
748 }
749 
752  if (this != &right) {
753  m_rdb = right.m_rdb;
754  m_fsiHelper = std::make_unique<FSIHelper>(m_rdb);
755  }
756  return *this;
757 }
758 
760  m_rdb = right.m_rdb;
761  m_fsiHelper = std::make_unique<FSIHelper>(m_rdb);
762 }
IRDBRecord::getInt
virtual int getInt(const std::string &fieldName) const =0
Get int field value.
SCT_ForwardParameters::fwdDiscFixationPresent
bool fwdDiscFixationPresent() const
Definition: SCT_ForwardParameters.cxx:429
SCT_DataBase::fwdGeneral
const IRDBRecord * fwdGeneral() const
Definition: SCT_DataBase.cxx:251
SCT_DataBase::fwdDiscFixation
const IRDBRecord * fwdDiscFixation() const
Definition: SCT_DataBase.cxx:254
SCT_DataBase::fwdFSIType
const IRDBRecord * fwdFSIType(int i) const
Definition: SCT_DataBase.cxx:245
SCT_DataBase::fwdCylServLoc
const IRDBRecord * fwdCylServLoc(int i) const
Definition: SCT_DataBase.cxx:258
SCT_ForwardParameters::fwdDiscPowerTapeInnerRadius
double fwdDiscPowerTapeInnerRadius(int iRing) const
Definition: SCT_ForwardParameters.cxx:373
SCT_ForwardParameters::fwdWheelRingSide
int fwdWheelRingSide(int iWheel, int iRing, int ec) const
Definition: SCT_ForwardParameters.cxx:147
SCT_DataBase::fwdPatchPanel
const IRDBRecord * fwdPatchPanel(int i) const
Definition: SCT_DataBase.cxx:234
SCT_ForwardParameters::fwdFSIGeomZOffset
double fwdFSIGeomZOffset(int iType) const
Definition: SCT_ForwardParameters.cxx:552
SCT_ForwardParameters::fwdPPConnectorMaterial
std::string fwdPPConnectorMaterial() const
Definition: SCT_ForwardParameters.cxx:284
SCT_ForwardParameters::fwdOptoHarnessDiscType
int fwdOptoHarnessDiscType(int itype) const
Definition: SCT_ForwardParameters.cxx:721
SCT_ForwardParameters::fwdFSIGeomRPhi
double fwdFSIGeomRPhi(int iType) const
Definition: SCT_ForwardParameters.cxx:532
SCT_ForwardParameters::fwdPPConnectorDeltaR
double fwdPPConnectorDeltaR() const
Definition: SCT_ForwardParameters.cxx:272
SCT_ForwardParameters::fwdTrtGapPos
double fwdTrtGapPos() const
Definition: SCT_ForwardParameters.cxx:706
SCT_ForwardParameters::fwdDiscSupportMaterial
std::string fwdDiscSupportMaterial() const
Definition: SCT_ForwardParameters.cxx:187
SCT_ForwardParameters::fwdNumCylinderServiceTypes
int fwdNumCylinderServiceTypes() const
Definition: SCT_ForwardParameters.cxx:603
SCT_ForwardParameters::fwdPPCoolingDeltaR
double fwdPPCoolingDeltaR() const
Definition: SCT_ForwardParameters.cxx:305
SCT_ForwardParameters::fwdOptoHarnessPresent
bool fwdOptoHarnessPresent() const
Definition: SCT_ForwardParameters.cxx:715
SCT_ForwardParameters::fwdCoolingBlockMaterial
std::string fwdCoolingBlockMaterial(int iType) const
Definition: SCT_ForwardParameters.cxx:363
SCT_FSIHelper.h
index
Definition: index.py:1
SCT_ForwardParameters::fwdSupportFrameZMax
double fwdSupportFrameZMax() const
Definition: SCT_ForwardParameters.cxx:474
SCT_DataBase::fwdPPCoolingSize
int fwdPPCoolingSize() const
Definition: SCT_DataBase.cxx:239
SCT_ForwardParameters::fwdPatchPanelRPhi
double fwdPatchPanelRPhi(int iType) const
Definition: SCT_ForwardParameters.cxx:245
SCT_ForwardParameters::fsiVector
const std::vector< const FSIDetails * > & fsiVector(int iWheel) const
Definition: SCT_ForwardParameters.cxx:568
SCT_DataBase.h
SCT_ForwardParameters::fwdRingDistToDiscCenter
double fwdRingDistToDiscCenter(int iRin) const
Definition: SCT_ForwardParameters.cxx:59
SCT_ForwardParameters::fwdSupportFrameZMin
double fwdSupportFrameZMin() const
Definition: SCT_ForwardParameters.cxx:468
IRDBRecord::getString
virtual const std::string & getString(const std::string &fieldName) const =0
Get string field value.
SCT_DataBase::fwdWheel
const IRDBRecord * fwdWheel(int i) const
Definition: SCT_DataBase.cxx:228
SCT_DataBase::fwdCylServ
const IRDBRecord * fwdCylServ(int i) const
Definition: SCT_DataBase.cxx:256
SCT_ForwardParameters::fwdZMin
double fwdZMin() const
Definition: SCT_ForwardParameters.cxx:694
SCT_ForwardParameters::fwdThermalShieldMaterial
std::string fwdThermalShieldMaterial(int iElement) const
Definition: SCT_ForwardParameters.cxx:642
SCT_ForwardParameters::fwdPPConnectorThickness
double fwdPPConnectorThickness() const
Definition: SCT_ForwardParameters.cxx:266
deg
#define deg
Definition: SbPolyhedron.cxx:17
SCT_ForwardParameters::fwdPatchPanelRepeatQuadrant
bool fwdPatchPanelRepeatQuadrant(int iLoc) const
Definition: SCT_ForwardParameters.cxx:214
SCT_DataBase::fwdDiscSupport
const IRDBRecord * fwdDiscSupport() const
Definition: SCT_DataBase.cxx:231
SCT_ForwardParameters::fwdFSIGeomThickness
double fwdFSIGeomThickness(int iType) const
Definition: SCT_ForwardParameters.cxx:538
SCT_ForwardParameters::fwdDiscSupportOuterRadius
double fwdDiscSupportOuterRadius() const
Definition: SCT_ForwardParameters.cxx:175
SCT_ForwardParameters::fwdPatchPanelThickness
double fwdPatchPanelThickness(int iType) const
Definition: SCT_ForwardParameters.cxx:226
SCT_ForwardParameters::fwdFSIGeomMaterial
std::string fwdFSIGeomMaterial(int iType) const
Definition: SCT_ForwardParameters.cxx:546
SCT_DataBase::fwdWheelRingMapSize
int fwdWheelRingMapSize() const
Definition: SCT_DataBase.cxx:230
SCT_ForwardParameters::fwdCoolingBlockRPhi
double fwdCoolingBlockRPhi(int iType) const
Definition: SCT_ForwardParameters.cxx:345
SCT_DataBase::fwdRing
const IRDBRecord * fwdRing(int i) const
Definition: SCT_DataBase.cxx:226
SCT_ForwardParameters::fwdCoolingBlockHiLo
int fwdCoolingBlockHiLo(int iType) const
Definition: SCT_ForwardParameters.cxx:326
SCT_DataBase::fwdCoolingBlock
const IRDBRecord * fwdCoolingBlock(int i) const
Definition: SCT_DataBase.cxx:240
SCT_ForwardParameters::fwdWheelRingMapIndex
int fwdWheelRingMapIndex(int iWheel, int iRing, int ec) const
Definition: SCT_ForwardParameters.cxx:90
SCT_DataBase::fwdPatchPanelSize
int fwdPatchPanelSize() const
Definition: SCT_DataBase.cxx:235
SCT_ForwardParameters::fwdCoolingBlockThickness
double fwdCoolingBlockThickness(int iType) const
Definition: SCT_ForwardParameters.cxx:351
SCT_ForwardParameters::fwdNumPatchPanelLocs
int fwdNumPatchPanelLocs() const
Definition: SCT_ForwardParameters.cxx:196
SCT_DataBase::fwdRingServices
const IRDBRecord * fwdRingServices(int i) const
Definition: SCT_DataBase.cxx:241
SCT_ForwardParameters::fwdPowerTapeCrossSectArea
double fwdPowerTapeCrossSectArea() const
Definition: SCT_ForwardParameters.cxx:504
SCT_ForwardParameters::~SCT_ForwardParameters
~SCT_ForwardParameters()
Definition: SCT_ForwardParameters.cxx:26
SCT_ForwardParameters::fwdPatchPanelMaterial
std::string fwdPatchPanelMaterial(int iType) const
Definition: SCT_ForwardParameters.cxx:251
SCT_ForwardParameters::fwdCoolingPipeMaterial
std::string fwdCoolingPipeMaterial() const
Definition: SCT_ForwardParameters.cxx:495
SCT_ForwardParameters::fwdRingCoolingOuterRadius
double fwdRingCoolingOuterRadius(int iRing) const
Definition: SCT_ForwardParameters.cxx:408
SCT_ForwardParameters::fwdRingCoolingMaterial
std::string fwdRingCoolingMaterial(int iRing) const
Definition: SCT_ForwardParameters.cxx:420
SCT_ForwardParameters::fwdPPCoolingPresent
bool fwdPPCoolingPresent() const
Definition: SCT_ForwardParameters.cxx:293
SCT_ForwardParameters::fwdCylinderServiceMaterial
std::string fwdCylinderServiceMaterial(int iType) const
Definition: SCT_ForwardParameters.cxx:615
SCT_ForwardParameters::fwdOptoHarnessInnerRadius
double fwdOptoHarnessInnerRadius(int itype) const
Definition: SCT_ForwardParameters.cxx:727
SCT_DataBase::fwdPatchPanelLocSize
int fwdPatchPanelLocSize() const
Definition: SCT_DataBase.cxx:233
SCT_ForwardParameters::fsiHelper
const FSIHelper & fsiHelper() const
Definition: SCT_ForwardParameters.cxx:561
lumiFormat.i
int i
Definition: lumiFormat.py:85
FSIHelper::fsiVector
const std::vector< const FSIDetails * > & fsiVector(int wheel) const
Definition: SCT_FSIHelper.cxx:89
SCT_DataBase::fwdOptoHarness
const IRDBRecord * fwdOptoHarness(int i) const
Definition: SCT_DataBase.cxx:253
SCT_ForwardParameters::m_fsiHelper
std::unique_ptr< FSIHelper > m_fsiHelper
Definition: SCT_ForwardParameters.h:185
SCT_DataBase
Definition: SCT_DataBase.h:17
SCT_ForwardParameters::fwdRingNumModules
int fwdRingNumModules(int iRing) const
Definition: SCT_ForwardParameters.cxx:34
SCT_ForwardParameters::fwdPowerTapeMaterial
std::string fwdPowerTapeMaterial() const
Definition: SCT_ForwardParameters.cxx:511
SCT_DataBase::fwdPatchPanelLoc
const IRDBRecord * fwdPatchPanelLoc(int i) const
Definition: SCT_DataBase.cxx:232
SCT_ForwardParameters::fwdThermalShieldZMax
double fwdThermalShieldZMax(int iElement) const
Definition: SCT_ForwardParameters.cxx:666
SCT_ForwardParameters::fwdRingStaggerOfRefModule
int fwdRingStaggerOfRefModule(int iRing) const
SCT_DataBase::fwdThermalShield
const IRDBRecord * fwdThermalShield(int i) const
Definition: SCT_DataBase.cxx:249
SCT_ForwardParameters::fwdNumPatchPanelTypes
int fwdNumPatchPanelTypes() const
Definition: SCT_ForwardParameters.cxx:220
SCT_ForwardParameters::fwdDiscPowerTapeOuterRadius
double fwdDiscPowerTapeOuterRadius(int iRing) const
Definition: SCT_ForwardParameters.cxx:379
SCT_ForwardParameters::fwdPPCoolingThickness
double fwdPPCoolingThickness() const
Definition: SCT_ForwardParameters.cxx:299
SCT_ForwardParameters::fwdCylinderServiceName
std::string fwdCylinderServiceName(int iType) const
Definition: SCT_ForwardParameters.cxx:609
SCT_ForwardParameters::fwdPatchPanelLocAngle
double fwdPatchPanelLocAngle(int iLoc) const
Definition: SCT_ForwardParameters.cxx:208
SCT_ForwardParameters::fwdZMax
double fwdZMax() const
Definition: SCT_ForwardParameters.cxx:700
SCT_ForwardParameters::fwdNumCylinderServiceLocs
int fwdNumCylinderServiceLocs() const
Definition: SCT_ForwardParameters.cxx:584
SCT_ForwardParameters::fwdFSINumGeomTypes
int fwdFSINumGeomTypes() const
Definition: SCT_ForwardParameters.cxx:520
SCT_ForwardParameters::fwdDiscSupportInnerRadius
double fwdDiscSupportInnerRadius() const
Definition: SCT_ForwardParameters.cxx:169
SCT_ForwardParameters::fwdWheelRingMapIndexDB
int fwdWheelRingMapIndexDB(int iWheelDB, int iRing) const
Definition: SCT_ForwardParameters.cxx:123
SCT_ForwardParameters::operator=
SCT_ForwardParameters & operator=(const SCT_ForwardParameters &right)
Definition: SCT_ForwardParameters.cxx:751
SCT_DataBase::fwdCylServLocSize
int fwdCylServLocSize() const
Definition: SCT_DataBase.cxx:259
SCT_DataBase::fwdThermalShieldSize
int fwdThermalShieldSize() const
Definition: SCT_DataBase.cxx:250
SCT_ForwardParameters::fwdRingModuleStagger
double fwdRingModuleStagger(int iRing) const
Definition: SCT_ForwardParameters.cxx:40
SCT_ForwardParameters::fwdPPCoolingMaterial
std::string fwdPPCoolingMaterial() const
Definition: SCT_ForwardParameters.cxx:317
SCT_ForwardParameters::fwdThermalShieldZMin
double fwdThermalShieldZMin(int iElement) const
Definition: SCT_ForwardParameters.cxx:660
SCT_DataBase::versionTag
const std::string & versionTag() const
Definition: SCT_DataBase.cxx:261
SCT_ForwardParameters::fwdSupportFrameInnerRadius
double fwdSupportFrameInnerRadius() const
Definition: SCT_ForwardParameters.cxx:462
SCT_ForwardParameters::fwdDiscFixationRadius
double fwdDiscFixationRadius() const
Definition: SCT_ForwardParameters.cxx:441
SCT_ForwardParameters::fwdInnerRadius
double fwdInnerRadius() const
Definition: SCT_ForwardParameters.cxx:682
SCT_ForwardParameters::fwdThermalShieldOuterRadius
double fwdThermalShieldOuterRadius(int iElement) const
Definition: SCT_ForwardParameters.cxx:654
SCT_ForwardParameters::fwdRingCoolingThickness
double fwdRingCoolingThickness(int iRing) const
Definition: SCT_ForwardParameters.cxx:414
SCT_ForwardParameters::fwdCylinderServiceRPhi
double fwdCylinderServiceRPhi(int iType) const
Definition: SCT_ForwardParameters.cxx:627
python.SystemOfUnits.mm2
int mm2
Definition: SystemOfUnits.py:84
SCT_ForwardParameters::fwdCylinderServicePresent
bool fwdCylinderServicePresent() const
Definition: SCT_ForwardParameters.cxx:578
SCT_ForwardParameters::fwdCoolingBlockMainOrSecondary
int fwdCoolingBlockMainOrSecondary(int iType) const
Definition: SCT_ForwardParameters.cxx:332
SCT_ForwardParameters::m_rdb
SCT_DataBase * m_rdb
Definition: SCT_ForwardParameters.h:183
SCT_ForwardParameters::fwdPPCoolingRPhi
double fwdPPCoolingRPhi() const
Definition: SCT_ForwardParameters.cxx:311
SCT_ForwardParameters::fwdDiscFixationMaterial
std::string fwdDiscFixationMaterial() const
Definition: SCT_ForwardParameters.cxx:447
SCT_ForwardParameters::fwdNumThermalShieldElements
int fwdNumThermalShieldElements() const
Definition: SCT_ForwardParameters.cxx:636
SCT_ForwardParameters::fwdPatchPanelMidRadius
double fwdPatchPanelMidRadius(int iType) const
Definition: SCT_ForwardParameters.cxx:232
SCT_DataBase::fwdServices
const IRDBRecord * fwdServices() const
Definition: SCT_DataBase.cxx:242
SCT_ForwardParameters::fwdCoolingPipeRadius
double fwdCoolingPipeRadius() const
Definition: SCT_ForwardParameters.cxx:489
SCT_ForwardParameters::fwdRingPhiOfRefModule
double fwdRingPhiOfRefModule(int iRing) const
Definition: SCT_ForwardParameters.cxx:46
SCT_DataBase::fwdPPConnector
const IRDBRecord * fwdPPConnector() const
Definition: SCT_DataBase.cxx:236
SCT_ForwardParameters::fwdSupportFrameRadialThickness
double fwdSupportFrameRadialThickness() const
Definition: SCT_ForwardParameters.cxx:456
SCT_ForwardParameters::fwdOptoHarnessMaterial
std::string fwdOptoHarnessMaterial(int itype) const
Definition: SCT_ForwardParameters.cxx:745
python.SystemOfUnits.mm
int mm
Definition: SystemOfUnits.py:83
SCT_ForwardParameters::fwdWheelStereoType
int fwdWheelStereoType(int iWheel) const
Definition: SCT_ForwardParameters.cxx:77
DeMoScan.index
string index
Definition: DeMoScan.py:364
SCT_ForwardParameters::fwdDiscPowerTapeMaterial
std::string fwdDiscPowerTapeMaterial(int iRing) const
Definition: SCT_ForwardParameters.cxx:391
SCT_ForwardParameters::fwdThermalShieldInnerRadius
double fwdThermalShieldInnerRadius(int iElement) const
Definition: SCT_ForwardParameters.cxx:648
SCT_DataBase::fwdOptoHarnessTable
IRDBRecordset_ptr fwdOptoHarnessTable() const
Definition: SCT_DataBase.cxx:252
IRDBRecord.h
Definition of the abstract IRDBRecord interface.
SCT_ForwardParameters::SCT_ForwardParameters
SCT_ForwardParameters(SCT_DataBase *rdb)
Definition: SCT_ForwardParameters.cxx:20
SCT_ForwardParameters::fwdNumWheels
int fwdNumWheels() const
Definition: SCT_ForwardParameters.cxx:676
SCT_ForwardParameters::fwdFSIGeomDeltaR
double fwdFSIGeomDeltaR(int iType) const
Definition: SCT_ForwardParameters.cxx:526
SCT_ForwardParameters::fwdCoolingBlockOffsetFromDisc
double fwdCoolingBlockOffsetFromDisc(int iType) const
Definition: SCT_ForwardParameters.cxx:357
SCT_ForwardParameters::fwdWheelZPosition
double fwdWheelZPosition(int iWheel) const
Definition: SCT_ForwardParameters.cxx:70
SCT_DataBase::fwdPPCooling
const IRDBRecord * fwdPPCooling() const
Definition: SCT_DataBase.cxx:238
FSIHelper
Definition: SCT_FSIHelper.h:62
SCT_ForwardParameters::fwdDiscSupportThickness
double fwdDiscSupportThickness() const
Definition: SCT_ForwardParameters.cxx:181
SCT_ForwardParameters::fwdCoolingBlockDeltaR
double fwdCoolingBlockDeltaR(int iType) const
Definition: SCT_ForwardParameters.cxx:339
SCT_ForwardParameters::fwdCylinderServiceLocAngle
double fwdCylinderServiceLocAngle(int iLoc) const
Definition: SCT_ForwardParameters.cxx:597
SCT_ForwardParameters::fwdCylinderServiceLocName
std::string fwdCylinderServiceLocName(int iLoc) const
Definition: SCT_ForwardParameters.cxx:591
SCT_DataBase::fwdDiscFixationTable
IRDBRecordset_ptr fwdDiscFixationTable() const
Definition: SCT_DataBase.cxx:255
SCT_ForwardParameters::fwdRingCoolingInnerRadius
double fwdRingCoolingInnerRadius(int iRing) const
Definition: SCT_ForwardParameters.cxx:402
SCT_DataBase::fwdFSITypeSize
int fwdFSITypeSize() const
Definition: SCT_DataBase.cxx:246
SCT_ForwardParameters::fwdOptoHarnessOuterRadius
double fwdOptoHarnessOuterRadius(int itype) const
Definition: SCT_ForwardParameters.cxx:733
SCT_ForwardParameters::fwdDiscFixationThickness
double fwdDiscFixationThickness() const
Definition: SCT_ForwardParameters.cxx:435
IRDBRecord::getDouble
virtual double getDouble(const std::string &fieldName) const =0
Get double field value.
SCT_ForwardParameters::fwdPPConnectorPresent
bool fwdPPConnectorPresent() const
Definition: SCT_ForwardParameters.cxx:260
SCT_ForwardParameters.h
SCT_DataBase::fwdCylServSize
int fwdCylServSize() const
Definition: SCT_DataBase.cxx:257
SCT_ForwardParameters::fwdCylinderServiceDeltaR
double fwdCylinderServiceDeltaR(int iType) const
Definition: SCT_ForwardParameters.cxx:621
SCT_ForwardParameters::fwdOptoHarnessThickness
double fwdOptoHarnessThickness(int itype) const
Definition: SCT_ForwardParameters.cxx:739
SCT_ForwardParameters::fwdPPConnectorRPhi
double fwdPPConnectorRPhi() const
Definition: SCT_ForwardParameters.cxx:278
IRDBRecordset.h
Definition of the abstract IRDBRecordset interface.
SCT_ForwardParameters::fwdRingUsualRingSide
int fwdRingUsualRingSide(int iRing) const
Definition: SCT_ForwardParameters.cxx:53
SCT_ForwardParameters::fwdOuterRadius
double fwdOuterRadius() const
Definition: SCT_ForwardParameters.cxx:688
SCT_ForwardParameters::fwdPatchPanelType
int fwdPatchPanelType(int iLoc) const
Definition: SCT_ForwardParameters.cxx:202
SCT_ForwardParameters::fwdPatchPanelDeltaR
double fwdPatchPanelDeltaR(int iType) const
Definition: SCT_ForwardParameters.cxx:239
SCT_GeometryManager.h
python.SystemOfUnits.degree
tuple degree
Definition: SystemOfUnits.py:106
SCT_ForwardParameters::fwdWheelModuleType
int fwdWheelModuleType(int iWheel, int iRing, int ec) const
Definition: SCT_ForwardParameters.cxx:156
SCT_ForwardParameters::fwdDiscPowerTapeThickness
double fwdDiscPowerTapeThickness(int iRing) const
Definition: SCT_ForwardParameters.cxx:385
SCT_ForwardParameters::fwdWheelNumRings
int fwdWheelNumRings(int iWheel) const
Definition: SCT_ForwardParameters.cxx:83
SCT_ForwardParameters::fwdSupportFrameMaterial
std::string fwdSupportFrameMaterial() const
Definition: SCT_ForwardParameters.cxx:480
SCT_ForwardParameters
Definition: SCT_ForwardParameters.h:16
SCT_DataBase::fwdWheelRingMap
const IRDBRecord * fwdWheelRingMap(int i) const
Definition: SCT_DataBase.cxx:229