ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
SCT_ForwardParameters Class Reference

#include <SCT_ForwardParameters.h>

Collaboration diagram for SCT_ForwardParameters:

Public Member Functions

 SCT_ForwardParameters (SCT_DataBase *rdb)
 
 ~SCT_ForwardParameters ()
 
int fwdRingNumModules (int iRing) const
 
double fwdRingModuleStagger (int iRing) const
 
double fwdRingPhiOfRefModule (int iRing) const
 
int fwdRingStaggerOfRefModule (int iRing) const
 
int fwdRingUsualRingSide (int iRing) const
 
double fwdRingDistToDiscCenter (int iRin) const
 
double fwdWheelZPosition (int iWheel) const
 
int fwdWheelStereoType (int iWheel) const
 
int fwdWheelNumRings (int iWheel) const
 
int fwdWheelRingMapIndex (int iWheel, int iRing, int ec) const
 
int fwdWheelRingMapIndexDB (int iWheelDB, int iRing) const
 
int fwdRingStaggerOfRefModule (int iWheel, int iRing, int ec) const
 
int fwdWheelRingSide (int iWheel, int iRing, int ec) const
 
int fwdWheelModuleType (int iWheel, int iRing, int ec) const
 
double fwdDiscSupportInnerRadius () const
 
double fwdDiscSupportOuterRadius () const
 
double fwdDiscSupportThickness () const
 
std::string fwdDiscSupportMaterial () const
 
int fwdNumPatchPanelLocs () const
 
int fwdPatchPanelType (int iLoc) const
 
double fwdPatchPanelLocAngle (int iLoc) const
 
bool fwdPatchPanelRepeatQuadrant (int iLoc) const
 
int fwdNumPatchPanelTypes () const
 
double fwdPatchPanelThickness (int iType) const
 
double fwdPatchPanelMidRadius (int iType) const
 
double fwdPatchPanelDeltaR (int iType) const
 
double fwdPatchPanelRPhi (int iType) const
 
std::string fwdPatchPanelMaterial (int iType) const
 
bool fwdPPConnectorPresent () const
 
double fwdPPConnectorThickness () const
 
double fwdPPConnectorDeltaR () const
 
double fwdPPConnectorRPhi () const
 
std::string fwdPPConnectorMaterial () const
 
bool fwdPPCoolingPresent () const
 
double fwdPPCoolingThickness () const
 
double fwdPPCoolingDeltaR () const
 
double fwdPPCoolingRPhi () const
 
std::string fwdPPCoolingMaterial () const
 
int fwdCoolingBlockHiLo (int iType) const
 
int fwdCoolingBlockMainOrSecondary (int iType) const
 
double fwdCoolingBlockDeltaR (int iType) const
 
double fwdCoolingBlockRPhi (int iType) const
 
double fwdCoolingBlockThickness (int iType) const
 
double fwdCoolingBlockOffsetFromDisc (int iType) const
 
std::string fwdCoolingBlockMaterial (int iType) const
 
double fwdDiscPowerTapeInnerRadius (int iRing) const
 
double fwdDiscPowerTapeOuterRadius (int iRing) const
 
double fwdDiscPowerTapeThickness (int iRing) const
 
std::string fwdDiscPowerTapeMaterial (int iRing) const
 
double fwdRingCoolingInnerRadius (int iRing) const
 
double fwdRingCoolingOuterRadius (int iRing) const
 
double fwdRingCoolingThickness (int iRing) const
 
std::string fwdRingCoolingMaterial (int iRing) const
 
bool fwdDiscFixationPresent () const
 
double fwdDiscFixationThickness () const
 
double fwdDiscFixationRadius () const
 
std::string fwdDiscFixationMaterial () const
 
double fwdSupportFrameRadialThickness () const
 
double fwdSupportFrameInnerRadius () const
 
double fwdSupportFrameZMin () const
 
double fwdSupportFrameZMax () const
 
std::string fwdSupportFrameMaterial () const
 
double fwdCoolingPipeRadius () const
 
std::string fwdCoolingPipeMaterial () const
 
double fwdPowerTapeCrossSectArea () const
 
std::string fwdPowerTapeMaterial () const
 
int fwdFSINumGeomTypes () const
 
double fwdFSIGeomDeltaR (int iType) const
 
double fwdFSIGeomRPhi (int iType) const
 
double fwdFSIGeomThickness (int iType) const
 
std::string fwdFSIGeomMaterial (int iType) const
 
double fwdFSIGeomZOffset (int iType) const
 
const std::vector< const FSIDetails * > & fsiVector (int iWheel) const
 
const FSIHelperfsiHelper () const
 
bool fwdCylinderServicePresent () const
 
int fwdNumCylinderServiceLocs () const
 
std::string fwdCylinderServiceLocName (int iLoc) const
 
double fwdCylinderServiceLocAngle (int iLoc) const
 
int fwdNumCylinderServiceTypes () const
 
std::string fwdCylinderServiceName (int iType) const
 
std::string fwdCylinderServiceMaterial (int iType) const
 
double fwdCylinderServiceDeltaR (int iType) const
 
double fwdCylinderServiceRPhi (int iType) const
 
int fwdNumThermalShieldElements () const
 
std::string fwdThermalShieldMaterial (int iElement) const
 
double fwdThermalShieldInnerRadius (int iElement) const
 
double fwdThermalShieldOuterRadius (int iElement) const
 
double fwdThermalShieldZMin (int iElement) const
 
double fwdThermalShieldZMax (int iElement) const
 
int fwdNumModuleTypes () const
 
int fwdNumWheels () const
 
double fwdInnerRadius () const
 
double fwdOuterRadius () const
 
double fwdZMin () const
 
double fwdZMax () const
 
double fwdTrtGapPos () const
 
bool fwdOptoHarnessPresent () const
 
int fwdOptoHarnessDiscType (int itype) const
 
double fwdOptoHarnessInnerRadius (int itype) const
 
double fwdOptoHarnessOuterRadius (int itype) const
 
double fwdOptoHarnessThickness (int itype) const
 
std::string fwdOptoHarnessMaterial (int itype) const
 
SCT_ForwardParametersoperator= (const SCT_ForwardParameters &right)
 
 SCT_ForwardParameters (const SCT_ForwardParameters &right)
 

Private Attributes

SCT_DataBasem_rdb
 
std::unique_ptr< FSIHelperm_fsiHelper
 

Detailed Description

Definition at line 16 of file SCT_ForwardParameters.h.

Constructor & Destructor Documentation

◆ SCT_ForwardParameters() [1/2]

SCT_ForwardParameters::SCT_ForwardParameters ( SCT_DataBase rdb)

Definition at line 20 of file SCT_ForwardParameters.cxx.

21 {
22  m_rdb = rdb;
23  m_fsiHelper = std::make_unique<FSIHelper>(m_rdb);
24 }

◆ ~SCT_ForwardParameters()

SCT_ForwardParameters::~SCT_ForwardParameters ( )

Definition at line 26 of file SCT_ForwardParameters.cxx.

27 {
28 }

◆ SCT_ForwardParameters() [2/2]

SCT_ForwardParameters::SCT_ForwardParameters ( const SCT_ForwardParameters right)

Definition at line 759 of file SCT_ForwardParameters.cxx.

759  {
760  m_rdb = right.m_rdb;
761  m_fsiHelper = std::make_unique<FSIHelper>(m_rdb);
762 }

Member Function Documentation

◆ fsiHelper()

const FSIHelper & SCT_ForwardParameters::fsiHelper ( ) const

Definition at line 561 of file SCT_ForwardParameters.cxx.

562 {
563  return *m_fsiHelper;
564 }

◆ fsiVector()

const std::vector< const FSIDetails * > & SCT_ForwardParameters::fsiVector ( int  iWheel) const

Definition at line 568 of file SCT_ForwardParameters.cxx.

569 {
570  return fsiHelper().fsiVector(iWheel);
571 }

◆ fwdCoolingBlockDeltaR()

double SCT_ForwardParameters::fwdCoolingBlockDeltaR ( int  iType) const

Definition at line 339 of file SCT_ForwardParameters.cxx.

340 {
341  return m_rdb->fwdCoolingBlock(iType)->getDouble("DELTAR") * Gaudi::Units::mm;
342 }

◆ fwdCoolingBlockHiLo()

int SCT_ForwardParameters::fwdCoolingBlockHiLo ( int  iType) const

Definition at line 326 of file SCT_ForwardParameters.cxx.

327 {
328  return m_rdb->fwdCoolingBlock(iType)->getInt("HILO");
329 }

◆ fwdCoolingBlockMainOrSecondary()

int SCT_ForwardParameters::fwdCoolingBlockMainOrSecondary ( int  iType) const

Definition at line 332 of file SCT_ForwardParameters.cxx.

333 {
334  // true is main, false is secondary
335  return m_rdb->fwdCoolingBlock(iType)->getInt("MAINSECONDARY");
336 }

◆ fwdCoolingBlockMaterial()

std::string SCT_ForwardParameters::fwdCoolingBlockMaterial ( int  iType) const

Definition at line 363 of file SCT_ForwardParameters.cxx.

364 {
365  return m_rdb->fwdCoolingBlock(iType)->getString("MATERIAL");
366 }

◆ fwdCoolingBlockOffsetFromDisc()

double SCT_ForwardParameters::fwdCoolingBlockOffsetFromDisc ( int  iType) const

Definition at line 357 of file SCT_ForwardParameters.cxx.

358 {
359  return m_rdb->fwdCoolingBlock(iType)->getDouble("OFFSETFROMDISC") * Gaudi::Units::mm;
360 }

◆ fwdCoolingBlockRPhi()

double SCT_ForwardParameters::fwdCoolingBlockRPhi ( int  iType) const

Definition at line 345 of file SCT_ForwardParameters.cxx.

346 {
347  return m_rdb->fwdCoolingBlock(iType)->getDouble("RPHI") * Gaudi::Units::mm;
348 }

◆ fwdCoolingBlockThickness()

double SCT_ForwardParameters::fwdCoolingBlockThickness ( int  iType) const

Definition at line 351 of file SCT_ForwardParameters.cxx.

352 {
353  return m_rdb->fwdCoolingBlock(iType)->getDouble("THICKNESS") * Gaudi::Units::mm;
354 }

◆ fwdCoolingPipeMaterial()

std::string SCT_ForwardParameters::fwdCoolingPipeMaterial ( ) const

Definition at line 495 of file SCT_ForwardParameters.cxx.

496 {
497  return m_rdb->fwdServices()->getString("COOLINGPIPEMATERIAL");
498 }

◆ fwdCoolingPipeRadius()

double SCT_ForwardParameters::fwdCoolingPipeRadius ( ) const

Definition at line 489 of file SCT_ForwardParameters.cxx.

490 {
491  return m_rdb->fwdServices()->getDouble("COOLINGPIPERADIUS") * Gaudi::Units::mm;
492 }

◆ fwdCylinderServiceDeltaR()

double SCT_ForwardParameters::fwdCylinderServiceDeltaR ( int  iType) const

Definition at line 621 of file SCT_ForwardParameters.cxx.

622 {
623  return m_rdb->fwdCylServ(iType)->getDouble("DELTAR") * Gaudi::Units::mm;
624 }

◆ fwdCylinderServiceLocAngle()

double SCT_ForwardParameters::fwdCylinderServiceLocAngle ( int  iLoc) const

Definition at line 597 of file SCT_ForwardParameters.cxx.

598 {
599  return m_rdb->fwdCylServLoc(iLoc)->getDouble("LOCANGLE") * Gaudi::Units::degree;
600 }

◆ fwdCylinderServiceLocName()

std::string SCT_ForwardParameters::fwdCylinderServiceLocName ( int  iLoc) const

Definition at line 591 of file SCT_ForwardParameters.cxx.

592 {
593  return m_rdb->fwdCylServLoc(iLoc)->getString("NAME");
594 }

◆ fwdCylinderServiceMaterial()

std::string SCT_ForwardParameters::fwdCylinderServiceMaterial ( int  iType) const

Definition at line 615 of file SCT_ForwardParameters.cxx.

616 {
617  return m_rdb->fwdCylServ(iType)->getString("MATERIAL");
618 }

◆ fwdCylinderServiceName()

std::string SCT_ForwardParameters::fwdCylinderServiceName ( int  iType) const

Definition at line 609 of file SCT_ForwardParameters.cxx.

610 {
611  return m_rdb->fwdCylServ(iType)->getString("NAME");
612 }

◆ fwdCylinderServicePresent()

bool SCT_ForwardParameters::fwdCylinderServicePresent ( ) const

Definition at line 578 of file SCT_ForwardParameters.cxx.

579 {
580  return m_rdb->fwdCylServSize() > 0;
581 }

◆ fwdCylinderServiceRPhi()

double SCT_ForwardParameters::fwdCylinderServiceRPhi ( int  iType) const

Definition at line 627 of file SCT_ForwardParameters.cxx.

628 {
629  return m_rdb->fwdCylServ(iType)->getDouble("RPHI") * Gaudi::Units::mm;
630 }

◆ fwdDiscFixationMaterial()

std::string SCT_ForwardParameters::fwdDiscFixationMaterial ( ) const

Definition at line 447 of file SCT_ForwardParameters.cxx.

448 {
449  return m_rdb->fwdDiscFixation()->getString("MATERIAL");
450 }

◆ fwdDiscFixationPresent()

bool SCT_ForwardParameters::fwdDiscFixationPresent ( ) const

Definition at line 429 of file SCT_ForwardParameters.cxx.

430 {
431  return m_rdb->fwdDiscFixationTable()->size() > 0;
432 }

◆ fwdDiscFixationRadius()

double SCT_ForwardParameters::fwdDiscFixationRadius ( ) const

Definition at line 441 of file SCT_ForwardParameters.cxx.

442 {
443  return m_rdb->fwdDiscFixation()->getDouble("RADIUS") * Gaudi::Units::mm;
444 }

◆ fwdDiscFixationThickness()

double SCT_ForwardParameters::fwdDiscFixationThickness ( ) const

Definition at line 435 of file SCT_ForwardParameters.cxx.

436 {
437  return m_rdb->fwdDiscFixation()->getDouble("THICKNESS") * Gaudi::Units::mm;
438 }

◆ fwdDiscPowerTapeInnerRadius()

double SCT_ForwardParameters::fwdDiscPowerTapeInnerRadius ( int  iRing) const

Definition at line 373 of file SCT_ForwardParameters.cxx.

374 {
375  return m_rdb->fwdRingServices(iRing)->getDouble("POWERTAPEINNERRADIUS") * Gaudi::Units::mm;
376 }

◆ fwdDiscPowerTapeMaterial()

std::string SCT_ForwardParameters::fwdDiscPowerTapeMaterial ( int  iRing) const

Definition at line 391 of file SCT_ForwardParameters.cxx.

392 {
393  return m_rdb->fwdRingServices(iRing)->getString("POWERTAPEMATERIAL");
394 }

◆ fwdDiscPowerTapeOuterRadius()

double SCT_ForwardParameters::fwdDiscPowerTapeOuterRadius ( int  iRing) const

Definition at line 379 of file SCT_ForwardParameters.cxx.

380 {
381  return m_rdb->fwdRingServices(iRing)->getDouble("POWERTAPEOUTERRADIUS") * Gaudi::Units::mm;
382 }

◆ fwdDiscPowerTapeThickness()

double SCT_ForwardParameters::fwdDiscPowerTapeThickness ( int  iRing) const

Definition at line 385 of file SCT_ForwardParameters.cxx.

386 {
387  return m_rdb->fwdRingServices(iRing)->getDouble("POWERTAPETHICKNESS") * Gaudi::Units::mm;
388 }

◆ fwdDiscSupportInnerRadius()

double SCT_ForwardParameters::fwdDiscSupportInnerRadius ( ) const

Definition at line 169 of file SCT_ForwardParameters.cxx.

170 {
171  return m_rdb->fwdDiscSupport()->getDouble("INNERRADIUS") * Gaudi::Units::mm;
172 }

◆ fwdDiscSupportMaterial()

std::string SCT_ForwardParameters::fwdDiscSupportMaterial ( ) const

Definition at line 187 of file SCT_ForwardParameters.cxx.

188 {
189  return m_rdb->fwdDiscSupport()->getString("MATERIAL");
190 }

◆ fwdDiscSupportOuterRadius()

double SCT_ForwardParameters::fwdDiscSupportOuterRadius ( ) const

Definition at line 175 of file SCT_ForwardParameters.cxx.

176 {
177  return m_rdb->fwdDiscSupport()->getDouble("OUTERRADIUS") * Gaudi::Units::mm;
178 }

◆ fwdDiscSupportThickness()

double SCT_ForwardParameters::fwdDiscSupportThickness ( ) const

Definition at line 181 of file SCT_ForwardParameters.cxx.

182 {
183  return m_rdb->fwdDiscSupport()->getDouble("THICKNESS") * Gaudi::Units::mm;
184 }

◆ fwdFSIGeomDeltaR()

double SCT_ForwardParameters::fwdFSIGeomDeltaR ( int  iType) const

Definition at line 526 of file SCT_ForwardParameters.cxx.

527 {
528  return m_rdb->fwdFSIType(iType)->getDouble("DELTAR") * Gaudi::Units::mm;
529 }

◆ fwdFSIGeomMaterial()

std::string SCT_ForwardParameters::fwdFSIGeomMaterial ( int  iType) const

Definition at line 546 of file SCT_ForwardParameters.cxx.

547 {
548  return m_rdb->fwdFSIType(iType)->getString("MATERIAL");
549 }

◆ fwdFSIGeomRPhi()

double SCT_ForwardParameters::fwdFSIGeomRPhi ( int  iType) const

Definition at line 532 of file SCT_ForwardParameters.cxx.

533 {
534  return m_rdb->fwdFSIType(iType)->getDouble("RPHI") * Gaudi::Units::mm;
535 }

◆ fwdFSIGeomThickness()

double SCT_ForwardParameters::fwdFSIGeomThickness ( int  iType) const

Definition at line 538 of file SCT_ForwardParameters.cxx.

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 }

◆ fwdFSIGeomZOffset()

double SCT_ForwardParameters::fwdFSIGeomZOffset ( int  iType) const

Definition at line 552 of file SCT_ForwardParameters.cxx.

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 }

◆ fwdFSINumGeomTypes()

int SCT_ForwardParameters::fwdFSINumGeomTypes ( ) const

Definition at line 520 of file SCT_ForwardParameters.cxx.

521 {
522  return m_rdb->fwdFSITypeSize();
523 }

◆ fwdInnerRadius()

double SCT_ForwardParameters::fwdInnerRadius ( ) const

Definition at line 682 of file SCT_ForwardParameters.cxx.

683 {
684  return m_rdb->fwdGeneral()->getDouble("INNERRADIUS") * Gaudi::Units::mm;
685 }

◆ fwdNumCylinderServiceLocs()

int SCT_ForwardParameters::fwdNumCylinderServiceLocs ( ) const

Definition at line 584 of file SCT_ForwardParameters.cxx.

585 {
586 
587  return m_rdb->fwdCylServLocSize();
588 }

◆ fwdNumCylinderServiceTypes()

int SCT_ForwardParameters::fwdNumCylinderServiceTypes ( ) const

Definition at line 603 of file SCT_ForwardParameters.cxx.

604 {
605  return m_rdb->fwdCylServSize();
606 }

◆ fwdNumModuleTypes()

int SCT_ForwardParameters::fwdNumModuleTypes ( ) const

◆ fwdNumPatchPanelLocs()

int SCT_ForwardParameters::fwdNumPatchPanelLocs ( ) const

Definition at line 196 of file SCT_ForwardParameters.cxx.

197 {
198  return m_rdb->fwdPatchPanelLocSize();
199 }

◆ fwdNumPatchPanelTypes()

int SCT_ForwardParameters::fwdNumPatchPanelTypes ( ) const

Definition at line 220 of file SCT_ForwardParameters.cxx.

221 {
222  return m_rdb->fwdPatchPanelSize();
223 }

◆ fwdNumThermalShieldElements()

int SCT_ForwardParameters::fwdNumThermalShieldElements ( ) const

Definition at line 636 of file SCT_ForwardParameters.cxx.

637 {
638  return m_rdb->fwdThermalShieldSize();
639 }

◆ fwdNumWheels()

int SCT_ForwardParameters::fwdNumWheels ( ) const

Definition at line 676 of file SCT_ForwardParameters.cxx.

677 {
678  return m_rdb->fwdGeneral()->getInt("NUMWHEELS");
679 }

◆ fwdOptoHarnessDiscType()

int SCT_ForwardParameters::fwdOptoHarnessDiscType ( int  itype) const

Definition at line 721 of file SCT_ForwardParameters.cxx.

722 {
723  return m_rdb->fwdOptoHarness(index)->getInt("DISCTYPE");
724 }

◆ fwdOptoHarnessInnerRadius()

double SCT_ForwardParameters::fwdOptoHarnessInnerRadius ( int  itype) const

Definition at line 727 of file SCT_ForwardParameters.cxx.

728 {
729  return m_rdb->fwdOptoHarness(index)->getDouble("INNERRADIUS") * Gaudi::Units::mm;
730 }

◆ fwdOptoHarnessMaterial()

std::string SCT_ForwardParameters::fwdOptoHarnessMaterial ( int  itype) const

Definition at line 745 of file SCT_ForwardParameters.cxx.

746 {
747  return m_rdb->fwdOptoHarness(index)->getString("MATERIAL");
748 }

◆ fwdOptoHarnessOuterRadius()

double SCT_ForwardParameters::fwdOptoHarnessOuterRadius ( int  itype) const

Definition at line 733 of file SCT_ForwardParameters.cxx.

734 {
735  return m_rdb->fwdOptoHarness(index)->getDouble("OUTERRADIUS") * Gaudi::Units::mm;
736 }

◆ fwdOptoHarnessPresent()

bool SCT_ForwardParameters::fwdOptoHarnessPresent ( ) const

Definition at line 715 of file SCT_ForwardParameters.cxx.

716 {
717  return m_rdb->fwdOptoHarnessTable()->size() > 0;
718 }

◆ fwdOptoHarnessThickness()

double SCT_ForwardParameters::fwdOptoHarnessThickness ( int  itype) const

Definition at line 739 of file SCT_ForwardParameters.cxx.

740 {
741  return m_rdb->fwdOptoHarness(index)->getDouble("THICKNESS") * Gaudi::Units::mm;
742 }

◆ fwdOuterRadius()

double SCT_ForwardParameters::fwdOuterRadius ( ) const

Definition at line 688 of file SCT_ForwardParameters.cxx.

689 {
690  return m_rdb->fwdGeneral()->getDouble("OUTERRADIUS") * Gaudi::Units::mm;
691 }

◆ fwdPatchPanelDeltaR()

double SCT_ForwardParameters::fwdPatchPanelDeltaR ( int  iType) const

Definition at line 239 of file SCT_ForwardParameters.cxx.

240 {
241  return m_rdb->fwdPatchPanel(iType)->getDouble("DELTAR") * Gaudi::Units::mm;
242 }

◆ fwdPatchPanelLocAngle()

double SCT_ForwardParameters::fwdPatchPanelLocAngle ( int  iLoc) const

Definition at line 208 of file SCT_ForwardParameters.cxx.

209 {
210  return m_rdb->fwdPatchPanelLoc(iLoc)->getDouble("LOCANGLE") * Gaudi::Units::degree;
211 }

◆ fwdPatchPanelMaterial()

std::string SCT_ForwardParameters::fwdPatchPanelMaterial ( int  iType) const

Definition at line 251 of file SCT_ForwardParameters.cxx.

252 {
253  return m_rdb->fwdPatchPanel(iType)->getString("MATERIAL");
254 }

◆ fwdPatchPanelMidRadius()

double SCT_ForwardParameters::fwdPatchPanelMidRadius ( int  iType) const

Definition at line 232 of file SCT_ForwardParameters.cxx.

233 {
234  return m_rdb->fwdPatchPanel(iType)->getDouble("MIDRADIUS") * Gaudi::Units::mm;
235 }

◆ fwdPatchPanelRepeatQuadrant()

bool SCT_ForwardParameters::fwdPatchPanelRepeatQuadrant ( int  iLoc) const

Definition at line 214 of file SCT_ForwardParameters.cxx.

215 {
216  return m_rdb->fwdPatchPanelLoc(iLoc)->getInt("REPEATQUADRANT");
217 }

◆ fwdPatchPanelRPhi()

double SCT_ForwardParameters::fwdPatchPanelRPhi ( int  iType) const

Definition at line 245 of file SCT_ForwardParameters.cxx.

246 {
247  return m_rdb->fwdPatchPanel(iType)->getDouble("RPHI") * Gaudi::Units::mm;
248 }

◆ fwdPatchPanelThickness()

double SCT_ForwardParameters::fwdPatchPanelThickness ( int  iType) const

Definition at line 226 of file SCT_ForwardParameters.cxx.

227 {
228  return m_rdb->fwdPatchPanel(iType)->getDouble("THICKNESS") * Gaudi::Units::mm;
229 }

◆ fwdPatchPanelType()

int SCT_ForwardParameters::fwdPatchPanelType ( int  iLoc) const

Definition at line 202 of file SCT_ForwardParameters.cxx.

203 {
204  return m_rdb->fwdPatchPanelLoc(iLoc)->getInt("TYPENUM");
205 }

◆ fwdPowerTapeCrossSectArea()

double SCT_ForwardParameters::fwdPowerTapeCrossSectArea ( ) const

Definition at line 504 of file SCT_ForwardParameters.cxx.

505 {
506  return m_rdb->fwdServices()->getDouble("POWERTAPECROSSSECT") * Gaudi::Units::mm2;
507 }

◆ fwdPowerTapeMaterial()

std::string SCT_ForwardParameters::fwdPowerTapeMaterial ( ) const

Definition at line 511 of file SCT_ForwardParameters.cxx.

512 {
513  return m_rdb->fwdServices()->getString("POWERTAPEMATERIAL");
514 }

◆ fwdPPConnectorDeltaR()

double SCT_ForwardParameters::fwdPPConnectorDeltaR ( ) const

Definition at line 272 of file SCT_ForwardParameters.cxx.

273 {
274  return m_rdb->fwdPPConnector()->getDouble("DELTAR") * Gaudi::Units::mm;
275 }

◆ fwdPPConnectorMaterial()

std::string SCT_ForwardParameters::fwdPPConnectorMaterial ( ) const

Definition at line 284 of file SCT_ForwardParameters.cxx.

285 {
286  return m_rdb->fwdPPConnector()->getString("MATERIAL");
287 }

◆ fwdPPConnectorPresent()

bool SCT_ForwardParameters::fwdPPConnectorPresent ( ) const

Definition at line 260 of file SCT_ForwardParameters.cxx.

261 {
262  return m_rdb->fwdPPCoolingSize() > 0;
263 }

◆ fwdPPConnectorRPhi()

double SCT_ForwardParameters::fwdPPConnectorRPhi ( ) const

Definition at line 278 of file SCT_ForwardParameters.cxx.

279 {
280  return m_rdb->fwdPPConnector()->getDouble("RPHI") * Gaudi::Units::mm;
281 }

◆ fwdPPConnectorThickness()

double SCT_ForwardParameters::fwdPPConnectorThickness ( ) const

Definition at line 266 of file SCT_ForwardParameters.cxx.

267 {
268  return m_rdb->fwdPPConnector()->getDouble("THICKNESS") * Gaudi::Units::mm;
269 }

◆ fwdPPCoolingDeltaR()

double SCT_ForwardParameters::fwdPPCoolingDeltaR ( ) const

Definition at line 305 of file SCT_ForwardParameters.cxx.

306 {
307  return m_rdb->fwdPPCooling()->getDouble("DELTAR") * Gaudi::Units::mm;
308 }

◆ fwdPPCoolingMaterial()

std::string SCT_ForwardParameters::fwdPPCoolingMaterial ( ) const

Definition at line 317 of file SCT_ForwardParameters.cxx.

318 {
319  return m_rdb->fwdPPCooling()->getString("MATERIAL");
320 }

◆ fwdPPCoolingPresent()

bool SCT_ForwardParameters::fwdPPCoolingPresent ( ) const

Definition at line 293 of file SCT_ForwardParameters.cxx.

294 {
295  return m_rdb->fwdPPCoolingSize() > 0;
296 }

◆ fwdPPCoolingRPhi()

double SCT_ForwardParameters::fwdPPCoolingRPhi ( ) const

Definition at line 311 of file SCT_ForwardParameters.cxx.

312 {
313  return m_rdb->fwdPPCooling()->getDouble("RPHI") * Gaudi::Units::mm;
314 }

◆ fwdPPCoolingThickness()

double SCT_ForwardParameters::fwdPPCoolingThickness ( ) const

Definition at line 299 of file SCT_ForwardParameters.cxx.

300 {
301  return m_rdb->fwdPPCooling()->getDouble("THICKNESS") * Gaudi::Units::mm;
302 }

◆ fwdRingCoolingInnerRadius()

double SCT_ForwardParameters::fwdRingCoolingInnerRadius ( int  iRing) const

Definition at line 402 of file SCT_ForwardParameters.cxx.

403 {
404  return m_rdb->fwdRingServices(iRing)->getDouble("COOLINGINNERRADIUS") * Gaudi::Units::mm;
405 }

◆ fwdRingCoolingMaterial()

std::string SCT_ForwardParameters::fwdRingCoolingMaterial ( int  iRing) const

Definition at line 420 of file SCT_ForwardParameters.cxx.

421 {
422  return m_rdb->fwdRingServices(iRing)->getString("COOLINGMATERIAL");
423 }

◆ fwdRingCoolingOuterRadius()

double SCT_ForwardParameters::fwdRingCoolingOuterRadius ( int  iRing) const

Definition at line 408 of file SCT_ForwardParameters.cxx.

409 {
410  return m_rdb->fwdRingServices(iRing)->getDouble("COOLINGOUTERRADIUS") * Gaudi::Units::mm;
411 }

◆ fwdRingCoolingThickness()

double SCT_ForwardParameters::fwdRingCoolingThickness ( int  iRing) const

Definition at line 414 of file SCT_ForwardParameters.cxx.

415 {
416  return m_rdb->fwdRingServices(iRing)->getDouble("COOLINGTHICKNESS") * Gaudi::Units::mm;
417 }

◆ fwdRingDistToDiscCenter()

double SCT_ForwardParameters::fwdRingDistToDiscCenter ( int  iRin) const

Definition at line 59 of file SCT_ForwardParameters.cxx.

60 {
61  return m_rdb->fwdRing(iRing)->getDouble("RINGTODISCCENTER") * Gaudi::Units::mm;
62 }

◆ fwdRingModuleStagger()

double SCT_ForwardParameters::fwdRingModuleStagger ( int  iRing) const

Definition at line 40 of file SCT_ForwardParameters.cxx.

41 {
42  return m_rdb->fwdRing(iRing)->getDouble("MODULESTAGGER") * Gaudi::Units::mm;
43 }

◆ fwdRingNumModules()

int SCT_ForwardParameters::fwdRingNumModules ( int  iRing) const

Definition at line 34 of file SCT_ForwardParameters.cxx.

35 {
36  return m_rdb->fwdRing(iRing)->getInt("NUMMODULES");
37 }

◆ fwdRingPhiOfRefModule()

double SCT_ForwardParameters::fwdRingPhiOfRefModule ( int  iRing) const

Definition at line 46 of file SCT_ForwardParameters.cxx.

47 {
48  return m_rdb->fwdRing(iRing)->getDouble("PHIOFREFMODULE") * Gaudi::Units::deg;
49 }

◆ fwdRingStaggerOfRefModule() [1/2]

int SCT_ForwardParameters::fwdRingStaggerOfRefModule ( int  iRing) const

◆ fwdRingStaggerOfRefModule() [2/2]

int SCT_ForwardParameters::fwdRingStaggerOfRefModule ( int  iWheel,
int  iRing,
int  ec 
) const

Definition at line 138 of file SCT_ForwardParameters.cxx.

139 {
140  int index = fwdWheelRingMapIndex(iWheel, iRing, ec);
141  if (index < 0) return 0;
142  return m_rdb->fwdWheelRingMap(index)->getInt("STAGGEROFREFMODULE");
143 }

◆ fwdRingUsualRingSide()

int SCT_ForwardParameters::fwdRingUsualRingSide ( int  iRing) const

Definition at line 53 of file SCT_ForwardParameters.cxx.

54 {
55  return m_rdb->fwdRing(iRing)->getInt("USUALRINGSIDE");
56 }

◆ fwdSupportFrameInnerRadius()

double SCT_ForwardParameters::fwdSupportFrameInnerRadius ( ) const

Definition at line 462 of file SCT_ForwardParameters.cxx.

463 {
464  return m_rdb->fwdServices()->getDouble("SUPPORTFRAMEINNERRAD") * Gaudi::Units::mm;
465 }

◆ fwdSupportFrameMaterial()

std::string SCT_ForwardParameters::fwdSupportFrameMaterial ( ) const

Definition at line 480 of file SCT_ForwardParameters.cxx.

481 {
482  return m_rdb->fwdServices()->getString("SUPPORTFRAMEMATERIAL");
483 }

◆ fwdSupportFrameRadialThickness()

double SCT_ForwardParameters::fwdSupportFrameRadialThickness ( ) const

Definition at line 456 of file SCT_ForwardParameters.cxx.

457 {
458  return m_rdb->fwdServices()->getDouble("SUPPORTFRAMEDELTAR") * Gaudi::Units::mm;
459 }

◆ fwdSupportFrameZMax()

double SCT_ForwardParameters::fwdSupportFrameZMax ( ) const

Definition at line 474 of file SCT_ForwardParameters.cxx.

475 {
476  return m_rdb->fwdServices()->getDouble("SUPPORTFRAMEZMAX") * Gaudi::Units::mm;
477 }

◆ fwdSupportFrameZMin()

double SCT_ForwardParameters::fwdSupportFrameZMin ( ) const

Definition at line 468 of file SCT_ForwardParameters.cxx.

469 {
470  return m_rdb->fwdServices()->getDouble("SUPPORTFRAMEZMIN") * Gaudi::Units::mm;
471 }

◆ fwdThermalShieldInnerRadius()

double SCT_ForwardParameters::fwdThermalShieldInnerRadius ( int  iElement) const

Definition at line 648 of file SCT_ForwardParameters.cxx.

649 {
650  return m_rdb->fwdThermalShield(iElement)->getDouble("INNERRADIUS") * Gaudi::Units::mm;
651 }

◆ fwdThermalShieldMaterial()

std::string SCT_ForwardParameters::fwdThermalShieldMaterial ( int  iElement) const

Definition at line 642 of file SCT_ForwardParameters.cxx.

643 {
644  return m_rdb->fwdThermalShield(iElement)->getString("MATERIAL");
645 }

◆ fwdThermalShieldOuterRadius()

double SCT_ForwardParameters::fwdThermalShieldOuterRadius ( int  iElement) const

Definition at line 654 of file SCT_ForwardParameters.cxx.

655 {
656  return m_rdb->fwdThermalShield(iElement)->getDouble("OUTERRADIUS") * Gaudi::Units::mm;
657 }

◆ fwdThermalShieldZMax()

double SCT_ForwardParameters::fwdThermalShieldZMax ( int  iElement) const

Definition at line 666 of file SCT_ForwardParameters.cxx.

667 {
668  return m_rdb->fwdThermalShield(iElement)->getDouble("ZMAX") * Gaudi::Units::mm;
669 }

◆ fwdThermalShieldZMin()

double SCT_ForwardParameters::fwdThermalShieldZMin ( int  iElement) const

Definition at line 660 of file SCT_ForwardParameters.cxx.

661 {
662  return m_rdb->fwdThermalShield(iElement)->getDouble("ZMIN") * Gaudi::Units::mm;
663 }

◆ fwdTrtGapPos()

double SCT_ForwardParameters::fwdTrtGapPos ( ) const

Definition at line 706 of file SCT_ForwardParameters.cxx.

707 {
708  return m_rdb->fwdGeneral()->getDouble("TRTGAPPOS") * Gaudi::Units::mm;
709 }

◆ fwdWheelModuleType()

int SCT_ForwardParameters::fwdWheelModuleType ( int  iWheel,
int  iRing,
int  ec 
) const

Definition at line 156 of file SCT_ForwardParameters.cxx.

157 {
158  int index = fwdWheelRingMapIndex(iWheel, iRing, ec);
159  if (index < 0) return 0;
160  return m_rdb->fwdWheelRingMap(index)->getInt("MODULETYPE");
161 }

◆ fwdWheelNumRings()

int SCT_ForwardParameters::fwdWheelNumRings ( int  iWheel) const

Definition at line 83 of file SCT_ForwardParameters.cxx.

84 {
85  return m_rdb->fwdWheel(iWheel)->getInt("NUMRINGS");
86 }

◆ fwdWheelRingMapIndex()

int SCT_ForwardParameters::fwdWheelRingMapIndex ( int  iWheel,
int  iRing,
int  ec 
) const

Definition at line 90 of file SCT_ForwardParameters.cxx.

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 }

◆ fwdWheelRingMapIndexDB()

int SCT_ForwardParameters::fwdWheelRingMapIndexDB ( int  iWheelDB,
int  iRing 
) const

Definition at line 123 of file SCT_ForwardParameters.cxx.

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 }

◆ fwdWheelRingSide()

int SCT_ForwardParameters::fwdWheelRingSide ( int  iWheel,
int  iRing,
int  ec 
) const

Definition at line 147 of file SCT_ForwardParameters.cxx.

148 {
149  int index = fwdWheelRingMapIndex(iWheel, iRing, ec);
150  if (index < 0) return 0;
151  return m_rdb->fwdWheelRingMap(index)->getInt("SIDE");
152 }

◆ fwdWheelStereoType()

int SCT_ForwardParameters::fwdWheelStereoType ( int  iWheel) const

Definition at line 77 of file SCT_ForwardParameters.cxx.

78 {
79  return m_rdb->fwdWheel(iWheel)->getInt("STEREOTYPE");
80 }

◆ fwdWheelZPosition()

double SCT_ForwardParameters::fwdWheelZPosition ( int  iWheel) const

Definition at line 70 of file SCT_ForwardParameters.cxx.

71 {
72  return m_rdb->fwdWheel(iWheel)->getDouble("ZPOSITION") * Gaudi::Units::mm;
73 }

◆ fwdZMax()

double SCT_ForwardParameters::fwdZMax ( ) const

Definition at line 700 of file SCT_ForwardParameters.cxx.

701 {
702  return m_rdb->fwdGeneral()->getDouble("ZMAX") * Gaudi::Units::mm;
703 }

◆ fwdZMin()

double SCT_ForwardParameters::fwdZMin ( ) const

Definition at line 694 of file SCT_ForwardParameters.cxx.

695 {
696  return m_rdb->fwdGeneral()->getDouble("ZMIN") * Gaudi::Units::mm;
697 }

◆ operator=()

SCT_ForwardParameters & SCT_ForwardParameters::operator= ( const SCT_ForwardParameters right)

Definition at line 751 of file SCT_ForwardParameters.cxx.

751  {
752  if (this != &right) {
753  m_rdb = right.m_rdb;
754  m_fsiHelper = std::make_unique<FSIHelper>(m_rdb);
755  }
756  return *this;
757 }

Member Data Documentation

◆ m_fsiHelper

std::unique_ptr<FSIHelper> SCT_ForwardParameters::m_fsiHelper
private

Definition at line 185 of file SCT_ForwardParameters.h.

◆ m_rdb

SCT_DataBase* SCT_ForwardParameters::m_rdb
private

Definition at line 183 of file SCT_ForwardParameters.h.


The documentation for this class was generated from the following files:
IRDBRecord::getInt
virtual int getInt(const std::string &fieldName) const =0
Get int field value.
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_DataBase::fwdPatchPanel
const IRDBRecord * fwdPatchPanel(int i) const
Definition: SCT_DataBase.cxx:234
index
Definition: index.py:1
SCT_DataBase::fwdPPCoolingSize
int fwdPPCoolingSize() const
Definition: SCT_DataBase.cxx:239
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
deg
#define deg
Definition: SbPolyhedron.cxx:17
SCT_DataBase::fwdDiscSupport
const IRDBRecord * fwdDiscSupport() const
Definition: SCT_DataBase.cxx:231
SCT_DataBase::fwdWheelRingMapSize
int fwdWheelRingMapSize() const
Definition: SCT_DataBase.cxx:230
SCT_DataBase::fwdRing
const IRDBRecord * fwdRing(int i) const
Definition: SCT_DataBase.cxx:226
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_DataBase::fwdRingServices
const IRDBRecord * fwdRingServices(int i) const
Definition: SCT_DataBase.cxx:241
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::fwdPatchPanelLoc
const IRDBRecord * fwdPatchPanelLoc(int i) const
Definition: SCT_DataBase.cxx:232
SCT_DataBase::fwdThermalShield
const IRDBRecord * fwdThermalShield(int i) const
Definition: SCT_DataBase.cxx:249
SCT_ForwardParameters::fwdWheelRingMapIndexDB
int fwdWheelRingMapIndexDB(int iWheelDB, int iRing) const
Definition: SCT_ForwardParameters.cxx:123
SCT_DataBase::fwdCylServLocSize
int fwdCylServLocSize() const
Definition: SCT_DataBase.cxx:259
SCT_DataBase::fwdThermalShieldSize
int fwdThermalShieldSize() const
Definition: SCT_DataBase.cxx:250
SCT_DataBase::versionTag
const std::string & versionTag() const
Definition: SCT_DataBase.cxx:261
python.SystemOfUnits.mm2
int mm2
Definition: SystemOfUnits.py:84
SCT_ForwardParameters::m_rdb
SCT_DataBase * m_rdb
Definition: SCT_ForwardParameters.h:183
SCT_DataBase::fwdServices
const IRDBRecord * fwdServices() const
Definition: SCT_DataBase.cxx:242
SCT_DataBase::fwdPPConnector
const IRDBRecord * fwdPPConnector() const
Definition: SCT_DataBase.cxx:236
python.SystemOfUnits.mm
int mm
Definition: SystemOfUnits.py:83
DeMoScan.index
string index
Definition: DeMoScan.py:364
SCT_DataBase::fwdOptoHarnessTable
IRDBRecordset_ptr fwdOptoHarnessTable() const
Definition: SCT_DataBase.cxx:252
SCT_DataBase::fwdPPCooling
const IRDBRecord * fwdPPCooling() const
Definition: SCT_DataBase.cxx:238
SCT_DataBase::fwdDiscFixationTable
IRDBRecordset_ptr fwdDiscFixationTable() const
Definition: SCT_DataBase.cxx:255
SCT_DataBase::fwdFSITypeSize
int fwdFSITypeSize() const
Definition: SCT_DataBase.cxx:246
IRDBRecord::getDouble
virtual double getDouble(const std::string &fieldName) const =0
Get double field value.
SCT_DataBase::fwdCylServSize
int fwdCylServSize() const
Definition: SCT_DataBase.cxx:257
python.SystemOfUnits.degree
tuple degree
Definition: SystemOfUnits.py:106
SCT_DataBase::fwdWheelRingMap
const IRDBRecord * fwdWheelRingMap(int i) const
Definition: SCT_DataBase.cxx:229