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

#include <DBPixelGeoManager.h>

Inheritance diagram for DBPixelGeoManager:
Collaboration diagram for DBPixelGeoManager:

Public Member Functions

 DBPixelGeoManager (PixelGeoModelAthenaComps *athenaComps)
 
 ~DBPixelGeoManager ()
 
void init ()
 
virtual InDetMaterialManagergetMaterialManager () override
 
virtual InDetDD::PixelDetectorManagerGetPixelDDManager () override
 
virtual InDetDD::DistortedMaterialManagerdistortedMatManager () override
 
virtual PixelLegacyManagerlegacyManager () override
 
virtual std::string versionTag () const override
 
virtual std::string versionName () const override
 
virtual std::string versionDescription () const override
 
virtual std::string versionLayout () const override
 
virtual void SetServices (bool isservice) override
 
virtual bool DoServices () override
 
virtual void SetServicesOnLadder (bool isservice) override
 
virtual bool DoServicesOnLadder () override
 
virtual void SetInitialLayout (bool flag) override
 
virtual bool InitialLayout () const override
 
virtual void SetDC1Geometry (bool flag) override
 
virtual bool DC1Geometry () const override
 
virtual void SetAlignable (bool flag) override
 
virtual bool Alignable () const override
 
virtual void SetIBL (bool flag) override
 
virtual bool ibl () const override
 
virtual void SetDBMFlag (bool flag) override
 
virtual bool dbm () const override
 
virtual void SetIBLPlanarModuleNumber (int nbPlanarModule) override
 
virtual void SetIBL3DModuleNumber (int nb3DModule) override
 
virtual void SetEta (int eta) override
 
virtual void SetPhi (int phi) override
 
virtual int Eta () override
 
virtual int Phi () override
 
virtual bool isBarrel () override
 
virtual bool isEndcap () override
 
virtual void SetBarrel () override
 
virtual void SetEndcap () override
 
virtual bool isDBM () override
 
virtual void SetPartsDBM () override
 
virtual void SetCurrentLD (int i) override
 
virtual int GetLD () override
 
virtual std::string getLD_Label () override
 
virtual bool isLDPresent () override
 
virtual void SetPos () override
 
virtual void SetNeg () override
 
virtual int GetSide () override
 
virtual bool isAside () override
 
virtual bool isCside () override
 
virtual void setDiskFront () override
 
virtual void setDiskBack () override
 
virtual bool isDiskFront () const override
 
virtual bool isDiskBack () const override
 
bool isInnermostPixelLayer ()
 
virtual int PixelBarrelMajorVersion () override
 
virtual int PixelBarrelMinorVersion () override
 
virtual int PixelEndcapMajorVersion () override
 
virtual int PixelEndcapMinorVersion () override
 
virtual int dbVersion () override
 
bool useLegacy ()
 
virtual double PixelBoardWidth (bool isModule3D=false) override
 
virtual double PixelBoardLength (bool isModule3D=false) override
 
virtual double PixelBoardThickness (bool isModule3D=false) override
 
virtual double PixelBoardActiveLength (bool isModule3D=false) override
 
virtual double PixelHybridWidth (bool isModule3D=false) override
 
virtual double PixelHybridLength (bool isModule3D=false) override
 
virtual double PixelHybridThickness (bool isModule3D=false) override
 
virtual double PixelChipWidth (bool isModule3D=false) override
 
virtual double PixelChipLength (bool isModule3D=false) override
 
virtual double PixelChipGap (bool isModule3D=false) override
 
virtual double PixelChipOffset (bool isModule3D=false) override
 
virtual double PixelChipThickness (bool isModule3D=false) override
 
virtual int PixelModuleServiceNumber () override
 
virtual double PixelModuleServiceLength (int svc) override
 
virtual double PixelModuleServiceWidth (int svc) override
 
virtual double PixelModuleServiceThick (int svc) override
 
virtual double PixelModuleServiceOffsetX (int svc) override
 
virtual double PixelModuleServiceOffsetY (int svc) override
 
virtual double PixelModuleServiceOffsetZ (int svc) override
 
virtual int PixelModuleServiceModuleType (int svc) override
 
virtual int PixelModuleServiceFullSize (int svc) override
 
virtual std::string PixelModuleServiceName (int svc) override
 
virtual std::string PixelModuleServiceMaterial (int svc) override
 
virtual double PixelECCarbonRMin (std::string) override
 
virtual double PixelECCarbonRMax (std::string) override
 
virtual double PixelECCarbonThickness (std::string) override
 
virtual int PixelECCarbonMaterialTypeNum (std::string) override
 
virtual std::string PixelServiceName (const std::string &, int) override
 
virtual bool PixelServiceZsymm (const std::string &, int) override
 
virtual double PixelServiceRMin (const std::string &, int) override
 
virtual double PixelServiceRMax (const std::string &, int) override
 
virtual double PixelServiceRMin2 (const std::string &, int) override
 
virtual double PixelServiceRMax2 (const std::string &, int) override
 
virtual double PixelServiceZMin (const std::string &, int) override
 
virtual double PixelServiceZMax (const std::string &, int) override
 
virtual double PixelServicePhiLoc (const std::string &a, int _n) override
 
virtual double PixelServiceWidth (const std::string &a, int _n) override
 
virtual int PixelServiceRepeat (const std::string &a, int _n) override
 
virtual std::string PixelServiceShape (const std::string &a, int _n) override
 
virtual std::string PixelServiceMaterial (const std::string &, int) override
 
virtual int PixelServiceLD (const std::string &, int) override
 
virtual int PixelServiceElements (const std::string &) override
 
virtual int PixelServiceFrameNum (const std::string &, int) override
 
virtual int PixelServiceEnvelopeNum (const std::string &type, int index) override
 
virtual int PixelServiceParentEnvelopeNum (const std::string &type, int index) override
 
virtual int PixelServiceShift (const std::string &type, int index) override
 
virtual IRDBRecordset_ptr getPixelServiceRecordset (const std::string &type) override
 
std::string getPixelServiceRecordString (const std::string &name, const std::string &type, int index)
 
int getPixelServiceRecordInt (const std::string &name, const std::string &type, int index)
 
double getPixelServiceRecordDouble (const std::string &name, const std::string &type, int index)
 
bool getPixelServiceRecordTestField (const std::string &name, const std::string &type, int index)
 
virtual double PixelRMin () override
 
virtual double PixelRMax () override
 
virtual double PixelHalfLength () override
 
virtual bool PixelSimpleEnvelope () override
 
virtual unsigned int PixelEnvelopeNumPlanes () override
 
virtual double PixelEnvelopeZ (int i) override
 
virtual double PixelEnvelopeRMin (int i) override
 
virtual double PixelEnvelopeRMax (int i) override
 
virtual int PixelBarrelNLayer () override
 
virtual double PixelBarrelRMin () override
 
virtual double PixelBarrelRMax () override
 
virtual double PixelBarrelHalfLength () override
 
virtual bool oldFrame () override
 
virtual bool detailedFrame () override
 
virtual int PixelFrameSections () override
 
virtual double PixelFrameRMinSide (int sectionIndex) override
 
virtual double PixelFrameRMaxSide (int sectionIndex) override
 
virtual double PixelFrameSideWidth (int sectionIndex) override
 
virtual double PixelFrameZMin (int sectionIndex) override
 
virtual double PixelFrameZMax (int sectionIndex) override
 
virtual double PixelFramePhiStart (int sectionIndex) override
 
virtual int PixelFrameNumSides (int sectionIndex) override
 
virtual bool PixelFrameMirrorSides (int sectionIndex) override
 
virtual std::string PixelFrameSideMaterial (int sectionIndex) override
 
virtual std::string PixelFrameCornerMaterial (int sectionIndex) override
 
virtual int PixelFrameNumSideElements (int sectionIndex) override
 
virtual double PixelFrameElementZMin1 (int sectionIndex, int element) override
 
virtual double PixelFrameElementZMin2 (int sectionIndex, int element) override
 
virtual double PixelFrameElementZMax1 (int sectionIndex, int element) override
 
virtual double PixelFrameElementZMax2 (int sectionIndex, int element) override
 
int PixelFrameSectionFromIndex (int sectionIndex)
 
void makeFrameIndexMap ()
 
int getFrameElementIndex (int sectionIndex, int element)
 
virtual int PixelStaveIndex (int layer) override
 
virtual int PixelStaveLayout () override
 
virtual int PixelStaveAxe () override
 
virtual double PixelLayerRadius () override
 
virtual double PixelLayerGlobalShift () override
 
virtual double PixelLadderLength () override
 
virtual double PixelLadderWidthClearance () override
 
virtual double PixelLadderThicknessClearance () override
 
virtual double PixelLadderThickness () override
 
virtual double PixelLadderTilt () override
 
virtual double PixelLadderServicesX () override
 
virtual double PixelLadderServicesY () override
 
virtual double PixelLadderCableOffsetX () override
 
virtual double PixelLadderCableOffsetY () override
 
virtual GeoTrf::Vector3D IBLStaveRotationAxis () override
 
virtual double IBLStaveRadius () override
 
virtual double IBLStaveFacePlateThickness () override
 
virtual double IBLStaveMechanicalStaveWidth () override
 
virtual double IBLStaveMechanicalStaveEndBlockLength () override
 
virtual double IBLStaveMechanicalStaveEndBlockFixPoint () override
 
virtual double IBLStaveMechanicalStaveEndBlockOmegaOverlap () override
 
virtual double IBLStaveLength () override
 
virtual double IBLStaveMechanicalStaveOffset (bool isModule3D=false) override
 
virtual double IBLStaveMechanicalStaveModuleOffset () override
 
virtual double IBLStaveTubeOuterDiameter () override
 
virtual double IBLStaveTubeInnerDiameter () override
 
virtual double IBLStaveTubeMiddlePos () override
 
virtual double IBLStaveFlexLayerThickness () override
 
virtual double IBLStaveFlexBaseThickness () override
 
virtual double IBLStaveFlexWidth () override
 
virtual double IBLStaveFlexOffset () override
 
virtual double IBLStaveOmegaThickness () override
 
virtual double IBLStaveOmegaEndCenterX () override
 
virtual double IBLStaveOmegaEndCenterY () override
 
virtual double IBLStaveOmegaEndRadius () override
 
virtual double IBLStaveOmegaEndAngle () override
 
virtual double IBLStaveOmegaMidCenterX () override
 
virtual double IBLStaveOmegaMidRadius () override
 
virtual double IBLStaveOmegaMidAngle () override
 
virtual int IBLStaveModuleNumber () override
 
virtual int IBLStaveModuleNumber_AllPlanar () override
 
virtual double IBLStaveModuleGap () override
 
virtual int IBLStaveModuleType () override
 
virtual double IBLStaveFacePlateGreaseThickness () override
 
virtual double IBLStaveFacePlateGlueThickness () override
 
virtual double IBLStaveTubeGlueThickness () override
 
virtual double IBLStaveOmegaGlueThickness () override
 
virtual double IBLSupportRingWidth () override
 
virtual double IBLSupportRingInnerRadius () override
 
virtual double IBLSupportRingOuterRadius () override
 
virtual double IBLSupportMechanicalStaveRingFixPoint () override
 
virtual double IBLSupportMidRingWidth () override
 
virtual double IBLSupportMidRingInnerRadius () override
 
virtual double IBLSupportMidRingOuterRadius () override
 
virtual double IBLFlexMiddleGap () override
 
virtual bool IBLFlexAndWingDefined () override
 
virtual double IBLFlexDoglegLength () override
 
virtual double IBLStaveFlexWingWidth () override
 
virtual double IBLStaveFlexWingThick () override
 
virtual double IBLFlexDoglegRatio () override
 
virtual double IBLFlexDoglegHeight (int iHeight) override
 
virtual double IBLFlexDoglegDY () override
 
virtual double IBLFlexPP0Z (int iPos) override
 
virtual double IBLFlexPP0Rmin (int iPos) override
 
virtual double IBLFlexPP0Rmax (int iPos) override
 
virtual std::string IBLFlexMaterial (int iPos, const std::string &flexType) override
 
virtual double IBLServiceGetMinRadialPosition (const std::string &srvName, const std::string &srvType, double srvZmin, double srvZmax) override
 
virtual double IBLServiceGetMaxRadialPosition (const std::string &srvName, const std::string &srvType, double srvZmin, double srvZmax) override
 
virtual double PixelLadderSupportThickness () override
 
virtual double PixelLadderSupportWidth () override
 
virtual double PixelLadderSupportLength () override
 
virtual double PixelLadderBentStaveAngle () override
 
virtual int PixelBentStaveNModule () override
 
virtual double PixelLadderModuleDeltaZ () override
 
virtual int PixelBiStaveType (int layer, int phi) override
 
virtual int NPixelSectors () override
 
virtual double PhiOfModuleZero () override
 
virtual int PixelNModule () override
 
virtual double PixelModuleDrDistance () override
 
virtual double PixelModuleAngle () override
 
virtual double PixelModuleZPosition (int) override
 
virtual double PixelModuleShiftFlag (int) override
 
virtual double PixelModuleAngleSign (int) override
 
virtual double PixelModuleStaggerDistance () override
 
virtual int PixelModuleStaggerSign (int etaModule) override
 
virtual int PixelModuleEtaFromIndex (int index) override
 
virtual int PixelModuleIndexFromEta (int etaModule) override
 
virtual bool allowSkipEtaZero () override
 
virtual bool centerModule (int etaModule) override
 
double PixelModuleZPositionTabulated (int etaModule, int type)
 
virtual int PixelCableElements () override
 
virtual int PixelCableLayerNum (int index) override
 
virtual int PixelCableBiStaveNum (int index) override
 
virtual double PixelCableZStart (int index) override
 
virtual double PixelCableZEnd (int index) override
 
virtual double PixelCableWidth (int index) override
 
virtual double PixelCableThickness (int index) override
 
virtual double PixelCableStackOffset (int index) override
 
virtual double PixelCableWeight (int index) override
 
virtual std::string PixelCableLabel (int index) override
 
virtual int PixelEndcapNDisk () override
 
virtual double PixelEndcapRMin () override
 
virtual double PixelEndcapRMax () override
 
virtual double PixelEndcapZMin () override
 
virtual double PixelEndcapZMax () override
 
virtual int PixelEndcapNSupportFrames () override
 
virtual double PixelDiskZPosition () override
 
virtual double PixelECSiDz1 () override
 
virtual double PixelECSiDz2 () override
 
virtual int PixelECNSectors1 () override
 
virtual int PixelECNSectors2 () override
 
virtual double PixelECCablesRMin () override
 
virtual double PixelECCablesRMax () override
 
virtual double PixelECCablesThickness () override
 
virtual double PixelECCablesDistance () override
 
virtual int PixelTMTNumParts () override
 TMT. More...
 
virtual double PixelTMTWidthX1 (int iPart) override
 
virtual double PixelTMTWidthX2 (int iPart) override
 
virtual double PixelTMTWidthY (int iPart) override
 
virtual double PixelTMTBaseX1 (int iPart) override
 
virtual double PixelTMTBaseX2 (int iPart) override
 
virtual double PixelTMTPosY (int iPart) override
 
virtual double PixelTMTPosZ1 (int iPart) override
 
virtual double PixelTMTPosZ2 (int iPart) override
 
virtual bool PixelTMTPerModule (int iPart) override
 
virtual double PixelOmegaUpperBendX () override
 
virtual double PixelOmegaUpperBendY () override
 
virtual double PixelOmegaUpperBendRadius () override
 
virtual double PixelOmegaLowerBendX () override
 
virtual double PixelOmegaLowerBendY () override
 
virtual double PixelOmegaLowerBendRadius () override
 
virtual double PixelOmegaWallThickness () override
 
virtual double PixelOmegaLength () override
 
virtual double PixelOmegaStartY () override
 
virtual double PixelOmegaEndY () override
 
virtual double PixelAlTubeUpperBendX () override
 
virtual double PixelAlTubeUpperBendY () override
 
virtual double PixelAlTubeUpperBendRadius () override
 
virtual double PixelAlTubeLowerBendX () override
 
virtual double PixelAlTubeLowerBendY () override
 
virtual double PixelAlTubeLowerBendRadius () override
 
virtual double PixelAlTubeWallThickness () override
 
virtual double PixelAlTubeLength () override
 
virtual int PixelNumOmegaGlueElements () override
 
virtual double PixelOmegaGlueStartX (int index) override
 
virtual double PixelOmegaGlueThickness (int index) override
 
virtual double PixelOmegaGlueStartY (int index) override
 
virtual double PixelOmegaGlueEndY (int index) override
 
virtual double PixelOmegaGlueLength (int index) override
 
virtual double PixelOmegaGluePosZ (int index) override
 
virtual int PixelOmegaGlueTypeNum (int index) override
 
virtual double PixelFluidZ1 (int index) override
 
virtual double PixelFluidZ2 (int index) override
 
virtual double PixelFluidThick1 (int index) override
 
virtual double PixelFluidThick2 (int index) override
 
virtual double PixelFluidWidth (int index) override
 
virtual double PixelFluidX (int index) override
 
virtual double PixelFluidY (int index) override
 
virtual int PixelFluidType (int index) override
 
virtual int PixelFluidNumTypes () override
 
virtual int PixelFluidIndex (int type) override
 
virtual std::string PixelFluidMat (int index) override
 
virtual int PixelFluidOrient (int layer, int phi) override
 
virtual double PixelPigtailThickness () override
 
virtual double PixelPigtailStartY () override
 
virtual double PixelPigtailEndY () override
 
virtual double PixelPigtailWidthZ () override
 
virtual double PixelPigtailFlatWidthZ () override
 
virtual double PixelPigtailPosX () override
 
virtual double PixelPigtailPosZ () override
 
virtual double PixelPigtailBendX () override
 
virtual double PixelPigtailBendY () override
 
virtual double PixelPigtailBendRMin () override
 
virtual double PixelPigtailBendRMax () override
 
virtual double PixelPigtailBendPhiMin () override
 
virtual double PixelPigtailBendPhiMax () override
 
virtual double PixelPigtailEnvelopeLength () override
 
virtual int PixelNumConnectorElements () override
 
virtual double PixelConnectorWidthX (int index) override
 
virtual double PixelConnectorWidthY (int index) override
 
virtual double PixelConnectorWidthZ (int index) override
 
virtual double PixelConnectorPosX (int index) override
 
virtual double PixelConnectorPosY (int index) override
 
virtual double PixelConnectorPosZ (int index) override
 
double DBMAngle () override
 
virtual double DBMTelescopeX () override
 
virtual double DBMTelescopeY () override
 
virtual double DBMTelescopeZ () override
 
virtual double DBMModuleCageY () override
 
virtual double DBMModuleCageZ () override
 
virtual double DBMSpacingZ () override
 
virtual double DBMSpacingRadial () override
 
virtual double DBMBracketX () override
 
virtual double DBMBracketY () override
 
virtual double DBMBracketZ () override
 
virtual double DBMTrapezBackTheta () override
 
virtual double DBMTrapezBackX () override
 
virtual double DBMTrapezBackY () override
 
virtual double DBMTrapezBackShortZ () override
 
virtual double DBMBrcktWindowX () override
 
virtual double DBMBrcktWindowY () override
 
virtual double DBMBrcktTopBlockZ () override
 
virtual double DBMBrcktSideBlockX () override
 
virtual double DBMBrcktSideBlockY () override
 
virtual double DBMBrcktLockZ () override
 
virtual double DBMBrcktLockY () override
 
virtual double DBMBrcktWindowOffset () override
 
virtual double DBMBrcktWindowCenterZ () override
 
virtual double DBMBrcktFinLongZ () override
 
virtual double DBMBrcktFinHeight () override
 
virtual double DBMBrcktFinThick () override
 
virtual double DBMBrcktFinPos () override
 
virtual double DBMSpace () override
 
virtual double DBMDiamondX () override
 
virtual double DBMDiamondY () override
 
virtual double DBMDiamondZ () override
 
virtual double DBMFEI4X () override
 
virtual double DBMFEI4Y () override
 
virtual double DBMFEI4Z () override
 
virtual double DBMCeramicX () override
 
virtual double DBMCeramicY () override
 
virtual double DBMCeramicZ () override
 
virtual double DBMAirGap () override
 
virtual double DBMKaptonZ () override
 
virtual double DBMMainPlateX () override
 
virtual double DBMMainPlateY () override
 
virtual double DBMMainPlateZ () override
 
virtual double DBMMPlateWindowWidth () override
 
virtual double DBMMPlateWindowHeight () override
 
virtual double DBMMPlateWindowPos () override
 
virtual double DBMCoolingSidePlateX () override
 
virtual double DBMCoolingSidePlateY () override
 
virtual double DBMCoolingSidePlateZ () override
 
virtual double DBMCoolingSidePlatePos () override
 
virtual double DBMFlexSupportX () override
 
virtual double DBMFlexSupportY () override
 
virtual double DBMFlexSupportZ () override
 
virtual double DBMFlexSupportOffset () override
 
virtual double DBMRodRadius () override
 
virtual double DBMMPlateRod2RodY () override
 
virtual double DBMMPlateRod2RodX () override
 
virtual double DBMPP0RIn () override
 
virtual double DBMPP0ROut () override
 
virtual double DBMPP0Thick () override
 
int designType (bool isModule3D=false)
 
int designType3D ()
 
virtual int DesignReadoutSide (bool isModule3D=false) override
 
virtual double DesignRPActiveArea (bool isModule3D=false) override
 
virtual double DesignZActiveArea (bool isModule3D=false) override
 
virtual int DesignCircuitsPhi (bool isModule3D=false) override
 
virtual int DesignCircuitsEta (bool isModule3D=false) override
 
virtual int DesignNumChipsPhi (bool isModule3D=false) override
 
virtual int DesignNumChipsEta (bool isModule3D=false) override
 
virtual int DesignDiodesPhiTotal (bool isModule3D=false) override
 
virtual int DesignDiodesEtaTotal (bool isModule3D=false) override
 
virtual int DesignCellColumnsPerCircuit (bool isModule3D=false) override
 
virtual int DesignCellRowsPerCircuit (bool isModule3D=false) override
 
virtual int DesignDiodeColumnsPerCircuit (bool isModule3D=false) override
 
virtual int DesignDiodeRowsPerCircuit (bool isModule3D=false) override
 
virtual int DesignNumRowsPerChip (bool isModule3D=false) override
 
virtual int DesignNumColsPerChip (bool isModule3D=false) override
 
virtual double DesignPitchRP (bool isModule3D=false) override
 
virtual double DesignGapRP (bool isModule3D=false) override
 
virtual double DesignPitchZ (bool isModule3D=false) override
 
virtual double DesignPitchZLong (bool isModule3D=false) override
 
virtual double DesignPitchZLongEnd (bool isModule3D=false) override
 
virtual double DesignGapZ (bool isModule3D=false) override
 
virtual int DesignNumEmptyRowsInGap (bool isModule3D=false) override
 
virtual int NumberOfEmptyRows (bool isModule3D=false) override
 
virtual int EmptyRows (int index) override
 
virtual int EmptyRowConnections (int index) override
 
int GangedType ()
 
int GangedTableIndex (int index, int type)
 
virtual InDetDD::SiCommonItemscommonItems () override
 
virtual const InDetDD::SiCommonItemscommonItems () const override
 
virtual void setCommonItems (InDetDD::SiCommonItems *commonItems) override
 
virtual const PixelIDgetIdHelper () override
 
virtual const GeoTrf::Transform3D & partTransform (const std::string &partName) const override
 
virtual bool partPresent (const std::string &partName) const override
 
virtual std::string getMaterialName (const std::string &volumeName, int layerdisk=0, int typenum=0) override
 
const IGeometryDBSvcdb () const
 
virtual double PixelDiskRMin () override
 
virtual int PixelDiskNumSupports () override
 
virtual double PixelDiskSupportRMin (int isup) override
 
virtual double PixelDiskSupportRMax (int isup) override
 
virtual double PixelDiskSupportThickness (int isup) override
 
virtual int PixelDiskSupportMaterialTypeNum (int isup) override
 
virtual int moduleType () override
 
virtual int moduleType3D () override
 
int getDiskRingIndex (int disk, int eta)
 
int getDiskRingType (int disk, int eta)
 
MsgStream & msg (MSG::Level lvl) const
 
bool msgLvl (MSG::Level lvl) const
 
PixelGeoModelAthenaCompsathenaComps ()
 
const PixelGeoModelAthenaCompsathenaComps () const
 

Private Member Functions

double CalculateThickness (double, const std::string &)
 
int determineDbVersion ()
 
void addDefaultMaterials ()
 
double mmcm ()
 

Private Attributes

IRDBRecordset_ptr m_PixelSwitches
 
IRDBRecordset_ptr m_PixelBarrelGeneral
 
IRDBRecordset_ptr m_PixelBarrelService
 
IRDBRecordset_ptr m_PixelSimpleService
 
IRDBRecordset_ptr m_PixelCommon
 
IRDBRecordset_ptr m_PixelEnvelope
 
IRDBRecordset_ptr m_PixelDisk
 
IRDBRecordset_ptr m_PixelDiskRing
 
IRDBRecordset_ptr m_PixelRing
 
IRDBRecordset_ptr m_PixelEndcapGeneral
 
IRDBRecordset_ptr m_PixelEndcapService
 
IRDBRecordset_ptr m_PixelEnvelopeService
 
IRDBRecordset_ptr m_PixelLayer
 
IRDBRecordset_ptr m_PixelModule
 
IRDBRecordset_ptr m_PixelModuleSvc
 
IRDBRecordset_ptr m_PixelStave
 
IRDBRecordset_ptr m_PixelStaveZ
 
IRDBRecordset_ptr m_PixelTopLevel
 
IRDBRecordset_ptr m_PixelReadout
 
IRDBRecordset_ptr m_PixelGangedPixels
 
IRDBRecordset_ptr m_PixelBarrelCable
 
IRDBRecordset_ptr m_PixelTMT
 
IRDBRecordset_ptr m_PixelOmega
 
IRDBRecordset_ptr m_PixelOmegaGlue
 
IRDBRecordset_ptr m_PixelAlTube
 
IRDBRecordset_ptr m_PixelFluid
 
IRDBRecordset_ptr m_PixelConnector
 
IRDBRecordset_ptr m_PixelPigtail
 
IRDBRecordset_ptr m_PixelFrame
 
IRDBRecordset_ptr m_PixelFrameSect
 
IRDBRecordset_ptr m_PixelIBLStave
 
IRDBRecordset_ptr m_PixelIBLSupport
 
IRDBRecordset_ptr m_PixelIBLFlex
 
IRDBRecordset_ptr m_PixelIBLFlexMaterial
 
IRDBRecordset_ptr m_PixelIBLGlueGrease
 
IRDBRecordset_ptr m_PixelConicalStave
 
IRDBRecordset_ptr m_weightTable
 
IRDBRecordset_ptr m_scalingTable
 
IRDBRecordset_ptr m_materialTable
 
IRDBRecordset_ptr m_staveTypeTable
 
IRDBRecordset_ptr m_DBMTelescope
 
IRDBRecordset_ptr m_DBMBracket
 
IRDBRecordset_ptr m_DBMCage
 
IRDBRecordset_ptr m_DBMModule
 
IRDBRecordset_ptr m_dbmWeightTable
 
int m_eta
 
int m_phi
 
int m_currentLD
 
int m_BarrelEndcap
 
int m_side
 
int m_diskFrontBack
 
int m_barrelInFrames = 0
 
int m_endcapInFrames = 0
 
bool m_servicesOnLadder
 
bool m_services
 
bool m_initialLayout
 
bool m_dc1Geometry
 
bool m_alignable
 
bool m_ibl
 
int m_PlanarModuleNumber
 
int m_3DModuleNumber
 
bool m_dbm
 
bool m_allPartsPresent = false
 
InDetDD::SiCommonItemsm_commonItems
 
InDetDD::PixelDetectorManagerm_pDDmgr
 
InDetMaterialManagerm_pMatMgr = nullptr
 
InDetDD::DistortedMaterialManagerm_distortedMatManager = nullptr
 
PixelLegacyManagerm_legacyManager
 
std::string m_versionTag {}
 
TopLevelPlacementsm_placements = nullptr
 
PixelMaterialMapm_materialMap = nullptr
 
PixelStaveTypesm_pixelStaveTypes = nullptr
 
std::map< int, std::vector< int > > * m_gangedIndexMap
 
std::map< int, std::vector< int > > * m_frameElementMap
 
InDetDD::PairIndexMapm_diskRingIndexMap
 
InDetDD::PairIndexMapm_zPositionMap
 
int m_dbVersion
 
double m_defaultLengthUnit
 
PixelGeoModelAthenaCompsm_athenaComps
 

Detailed Description

Definition at line 33 of file DBPixelGeoManager.h.

Constructor & Destructor Documentation

◆ DBPixelGeoManager()

DBPixelGeoManager::DBPixelGeoManager ( PixelGeoModelAthenaComps athenaComps)

Definition at line 44 of file DBPixelGeoManager.cxx.

46  m_eta(0),
47  m_phi(0),
48  m_currentLD(0),
49  m_BarrelEndcap(0),
50  m_side(0),
51  m_diskFrontBack(0),
52  m_servicesOnLadder(true),
53  m_services(true),
54  m_initialLayout(false),
55  m_dc1Geometry(false),
56  m_alignable(true),
57  m_ibl(false),
60  m_dbm(false),
61  m_legacyManager(nullptr),
62  m_gangedIndexMap(nullptr),
63  m_frameElementMap(nullptr),
64  m_diskRingIndexMap(nullptr),
65  m_zPositionMap(nullptr),
66  m_dbVersion(0),
68 {
69  m_commonItems = nullptr;
70  m_pDDmgr = nullptr;
71 
72  init();
73 }

◆ ~DBPixelGeoManager()

DBPixelGeoManager::~DBPixelGeoManager ( )

Definition at line 231 of file DBPixelGeoManager.cxx.

232 {
233  delete m_placements;
234  delete m_distortedMatManager;
235  delete m_materialMap;
236  delete m_pixelStaveTypes;
237  delete m_legacyManager;
238  delete m_pMatMgr;
239  delete m_gangedIndexMap;
240  delete m_diskRingIndexMap;
241  delete m_zPositionMap;
242  delete m_frameElementMap;
243 }

Member Function Documentation

◆ addDefaultMaterials()

void DBPixelGeoManager::addDefaultMaterials ( )
private

Definition at line 1152 of file DBPixelGeoManager.cxx.

1152  {
1153  // This is for backward compatibilty. Newer geometies get the
1154  // gets them from the database.
1155  m_materialMap->addMaterial(0,0,"Sensor","std::Silicon");
1156  m_materialMap->addMaterial(0,0,"Chip","pix::Chip");
1157  m_materialMap->addMaterial(0,0,"Hybrid","pix::Hybrid");
1158  m_materialMap->addMaterial(0,0,"Omega","pix::MatOmega");
1159  m_materialMap->addMaterial(0,0,"AlTube","pix::MatAlTube");
1160  m_materialMap->addMaterial(1,0,"AlTube","pix::MatAlTube");
1161  m_materialMap->addMaterial(2,0,"AlTube","pix::MatAlTubeFix");
1162  m_materialMap->addMaterial(0,1,"Fluid","pix::MatCap1");
1163  m_materialMap->addMaterial(0,2,"Fluid","pix::MatCap2");
1164  m_materialMap->addMaterial(0,0,"TMT","pix::MatTMT");
1165  m_materialMap->addMaterial(0,0,"GlueOmegaStave","pix::MatGlue");
1166  m_materialMap->addMaterial(0,0,"Connector","pix::MatConn");
1167  m_materialMap->addMaterial(0,0,"PigtailCyl","pix::MatPigtail");
1168  m_materialMap->addMaterial(0,0,"PigtailFlat","pix::MatPigtail");
1169  m_materialMap->addMaterial(0,0,"Cable","pix::MatT0");
1170  m_materialMap->addMaterial(0,0,"DiskCable","pix::ECCables");
1171  m_materialMap->addMaterial(0,0,"DiskSupport","pix::Disk");
1172  m_materialMap->addMaterial(0,0,"Frame","std::Carbon");
1173  m_materialMap->addMaterial(0,0,"EndCone","std::Carbon");
1174 }

◆ Alignable()

bool DBPixelGeoManager::Alignable ( ) const
overridevirtual

Implements PixelGeometryManager.

Definition at line 406 of file DBPixelGeoManager.cxx.

406  {
407  return m_alignable;
408 }

◆ allowSkipEtaZero()

bool DBPixelGeoManager::allowSkipEtaZero ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2497 of file DBPixelGeoManager.cxx.

2498 {
2499  bool allowSkip = true;
2500  if (ibl()){
2501  int staveIndex = PixelStaveIndex(m_currentLD);
2502  if (db()->testField(m_PixelStave,"NOSKIPZERO",staveIndex)) {
2503  if (db()->getInt(m_PixelStave,"NOSKIPZERO",staveIndex)) allowSkip = false;
2504  }
2505  }
2506  return allowSkip;
2507 }

◆ athenaComps() [1/2]

PixelGeoModelAthenaComps* PixelGeometryManager::athenaComps ( )
inlineinherited

Definition at line 616 of file PixelGeometryManager.h.

616 {return m_athenaComps;}

◆ athenaComps() [2/2]

const PixelGeoModelAthenaComps* PixelGeometryManager::athenaComps ( ) const
inlineinherited

Definition at line 617 of file PixelGeometryManager.h.

617 {return m_athenaComps;}

◆ CalculateThickness()

double DBPixelGeoManager::CalculateThickness ( double  tck,
const std::string &  mat 
)
private

Definition at line 437 of file DBPixelGeoManager.cxx.

437  {
438  GeoIntrusivePtr<const GeoMaterial> material{m_pMatMgr->getMaterial(mat)};
439  double rl = material->getRadLength();
440  return -1.*rl*tck/100.;
441 }

◆ centerModule()

bool DBPixelGeoManager::centerModule ( int  etaModule)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2509 of file DBPixelGeoManager.cxx.

2510 {
2511  // There is only a center module if there are an odd number
2512  // of modules. In that case it will be etaModule = 0.
2513  return (etaModule == 0 && PixelNModule()%2);
2514 }

◆ commonItems() [1/2]

const InDetDD::SiCommonItems * DBPixelGeoManager::commonItems ( ) const
overridevirtual

Implements PixelGeometryManager.

Definition at line 254 of file DBPixelGeoManager.cxx.

255 {
256  return m_commonItems;
257 }

◆ commonItems() [2/2]

InDetDD::SiCommonItems * DBPixelGeoManager::commonItems ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 247 of file DBPixelGeoManager.cxx.

248 {
249  return m_commonItems;
250 }

◆ db()

const IGeometryDBSvc* DBPixelGeoManager::db ( ) const
inline

Definition at line 790 of file DBPixelGeoManager.h.

790 {return athenaComps()->geomDB();}

◆ dbm()

virtual bool DBPixelGeoManager::dbm ( ) const
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 234 of file DBPixelGeoManager.h.

234 {return m_dbm;}

◆ DBMAirGap()

double DBPixelGeoManager::DBMAirGap ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3668 of file DBPixelGeoManager.cxx.

3668  {
3669  return db()->getDouble(m_DBMModule,"AIR_GAP")*Gaudi::Units::mm;
3670 }

◆ DBMAngle()

double DBPixelGeoManager::DBMAngle ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3501 of file DBPixelGeoManager.cxx.

3501  {
3502  return db()->getDouble(m_DBMTelescope,"ANGLE")*Gaudi::Units::deg;
3503 }

◆ DBMBracketX()

double DBPixelGeoManager::DBMBracketX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3541 of file DBPixelGeoManager.cxx.

3541  {
3542  return db()->getDouble(m_DBMBracket,"WIDTH")*Gaudi::Units::mm;
3543 }

◆ DBMBracketY()

double DBPixelGeoManager::DBMBracketY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3544 of file DBPixelGeoManager.cxx.

3544  {
3545  return db()->getDouble(m_DBMBracket,"HEIGHT")*Gaudi::Units::mm;
3546 }

◆ DBMBracketZ()

double DBPixelGeoManager::DBMBracketZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3547 of file DBPixelGeoManager.cxx.

3547  {
3548  return db()->getDouble(m_DBMBracket,"THICKNESS")*Gaudi::Units::mm;
3549 }

◆ DBMBrcktFinHeight()

double DBPixelGeoManager::DBMBrcktFinHeight ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3592 of file DBPixelGeoManager.cxx.

3592  {
3593  return db()->getDouble(m_DBMBracket,"COOLINGFIN_HEIGHT")*Gaudi::Units::mm;
3594 }

◆ DBMBrcktFinLongZ()

double DBPixelGeoManager::DBMBrcktFinLongZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3589 of file DBPixelGeoManager.cxx.

3589  {
3590  return db()->getDouble(m_DBMBracket,"COOLINGFIN_ZLONG")*Gaudi::Units::mm;
3591 }

◆ DBMBrcktFinPos()

double DBPixelGeoManager::DBMBrcktFinPos ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3598 of file DBPixelGeoManager.cxx.

3598  {
3599  return db()->getDouble(m_DBMBracket,"COOLINGFIN_POS")*Gaudi::Units::mm;
3600 }

◆ DBMBrcktFinThick()

double DBPixelGeoManager::DBMBrcktFinThick ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3595 of file DBPixelGeoManager.cxx.

3595  {
3596  return db()->getDouble(m_DBMBracket,"COOLINGFIN_THICK")*Gaudi::Units::mm;
3597 }

◆ DBMBrcktLockY()

double DBPixelGeoManager::DBMBrcktLockY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3586 of file DBPixelGeoManager.cxx.

3586  {
3587  return db()->getDouble(m_DBMBracket,"LOCK_HEIGHT")*Gaudi::Units::mm;
3588 }

◆ DBMBrcktLockZ()

double DBPixelGeoManager::DBMBrcktLockZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3583 of file DBPixelGeoManager.cxx.

3583  {
3584  return db()->getDouble(m_DBMBracket,"LOCK_THICK")*Gaudi::Units::mm;
3585 }

◆ DBMBrcktSideBlockX()

double DBPixelGeoManager::DBMBrcktSideBlockX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3577 of file DBPixelGeoManager.cxx.

3577  {
3578  return db()->getDouble(m_DBMBracket,"SIDEBLOCK_WIDTH")*Gaudi::Units::mm;
3579 }

◆ DBMBrcktSideBlockY()

double DBPixelGeoManager::DBMBrcktSideBlockY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3580 of file DBPixelGeoManager.cxx.

3580  {
3581  return db()->getDouble(m_DBMBracket,"SIDEBLOCK_HEIGHT")*Gaudi::Units::mm;
3582 }

◆ DBMBrcktTopBlockZ()

double DBPixelGeoManager::DBMBrcktTopBlockZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3574 of file DBPixelGeoManager.cxx.

3574  {
3575  return db()->getDouble(m_DBMBracket,"TOPBLOCK_THICK")*Gaudi::Units::mm;
3576 }

◆ DBMBrcktWindowCenterZ()

double DBPixelGeoManager::DBMBrcktWindowCenterZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3571 of file DBPixelGeoManager.cxx.

3571  {
3572  return db()->getDouble(m_DBMBracket,"WINDOW_CENTERZ")*Gaudi::Units::mm;
3573 }

◆ DBMBrcktWindowOffset()

double DBPixelGeoManager::DBMBrcktWindowOffset ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3568 of file DBPixelGeoManager.cxx.

3568  {
3569  return db()->getDouble(m_DBMBracket,"WINDOW_OFFSET")*Gaudi::Units::mm;
3570 }

◆ DBMBrcktWindowX()

double DBPixelGeoManager::DBMBrcktWindowX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3562 of file DBPixelGeoManager.cxx.

3562  {
3563  return db()->getDouble(m_DBMBracket,"WINDOW_WIDTH")*Gaudi::Units::mm;
3564 }

◆ DBMBrcktWindowY()

double DBPixelGeoManager::DBMBrcktWindowY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3565 of file DBPixelGeoManager.cxx.

3565  {
3566  return db()->getDouble(m_DBMBracket,"WINDOW_HEIGHT")*Gaudi::Units::mm;
3567 }

◆ DBMCeramicX()

double DBPixelGeoManager::DBMCeramicX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3659 of file DBPixelGeoManager.cxx.

3659  {
3660  return db()->getDouble(m_DBMModule,"CERAMIC_WIDTH")*Gaudi::Units::mm;
3661 }

◆ DBMCeramicY()

double DBPixelGeoManager::DBMCeramicY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3662 of file DBPixelGeoManager.cxx.

3662  {
3663  return db()->getDouble(m_DBMModule,"CERAMIC_HEIGHT")*Gaudi::Units::mm;
3664 }

◆ DBMCeramicZ()

double DBPixelGeoManager::DBMCeramicZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3665 of file DBPixelGeoManager.cxx.

3665  {
3666  return db()->getDouble(m_DBMModule,"CERAMIC_THICK")*Gaudi::Units::mm;
3667 }

◆ DBMCoolingSidePlatePos()

double DBPixelGeoManager::DBMCoolingSidePlatePos ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3636 of file DBPixelGeoManager.cxx.

3636  {
3637  return db()->getDouble(m_DBMCage,"SIDEPLATE_POS")*Gaudi::Units::mm;
3638 }

◆ DBMCoolingSidePlateX()

double DBPixelGeoManager::DBMCoolingSidePlateX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3627 of file DBPixelGeoManager.cxx.

3627  {
3628  return db()->getDouble(m_DBMCage,"SIDEPLATE_THICK")*Gaudi::Units::mm;
3629 }

◆ DBMCoolingSidePlateY()

double DBPixelGeoManager::DBMCoolingSidePlateY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3630 of file DBPixelGeoManager.cxx.

3630  {
3631  return db()->getDouble(m_DBMCage,"SIDEPLATE_HEIGHT")*Gaudi::Units::mm;
3632 }

◆ DBMCoolingSidePlateZ()

double DBPixelGeoManager::DBMCoolingSidePlateZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3633 of file DBPixelGeoManager.cxx.

3633  {
3634  return db()->getDouble(m_DBMCage,"SIDEPLATE_LENGTH")*Gaudi::Units::mm;
3635 }

◆ DBMDiamondX()

double DBPixelGeoManager::DBMDiamondX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3641 of file DBPixelGeoManager.cxx.

3641  {
3642  return db()->getDouble(m_DBMModule,"DIAMOND_WIDTH")*Gaudi::Units::mm;
3643 }

◆ DBMDiamondY()

double DBPixelGeoManager::DBMDiamondY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3644 of file DBPixelGeoManager.cxx.

3644  {
3645  return db()->getDouble(m_DBMModule,"DIAMOND_HEIGHT")*Gaudi::Units::mm;
3646 }

◆ DBMDiamondZ()

double DBPixelGeoManager::DBMDiamondZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3647 of file DBPixelGeoManager.cxx.

3647  {
3648  return db()->getDouble(m_DBMModule,"DIAMOND_THICK")*Gaudi::Units::mm;
3649 }

◆ DBMFEI4X()

double DBPixelGeoManager::DBMFEI4X ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3650 of file DBPixelGeoManager.cxx.

3650  {
3651  return db()->getDouble(m_DBMModule,"FEI4_WIDTH")*Gaudi::Units::mm;
3652 }

◆ DBMFEI4Y()

double DBPixelGeoManager::DBMFEI4Y ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3653 of file DBPixelGeoManager.cxx.

3653  {
3654  return db()->getDouble(m_DBMModule,"FEI4_HEIGHT")*Gaudi::Units::mm;
3655 }

◆ DBMFEI4Z()

double DBPixelGeoManager::DBMFEI4Z ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3656 of file DBPixelGeoManager.cxx.

3656  {
3657  return db()->getDouble(m_DBMModule,"FEI4_THICK")*Gaudi::Units::mm;
3658 }

◆ DBMFlexSupportOffset()

double DBPixelGeoManager::DBMFlexSupportOffset ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3685 of file DBPixelGeoManager.cxx.

3685  {
3686  return db()->getDouble(m_DBMCage, "FLEXSUPP_OFFSET")*Gaudi::Units::mm;
3687 }

◆ DBMFlexSupportX()

double DBPixelGeoManager::DBMFlexSupportX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3676 of file DBPixelGeoManager.cxx.

3676  {
3677  return db()->getDouble(m_DBMCage,"FLEXSUPP_WIDTH")*Gaudi::Units::mm;
3678 }

◆ DBMFlexSupportY()

double DBPixelGeoManager::DBMFlexSupportY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3679 of file DBPixelGeoManager.cxx.

3679  {
3680  return db()->getDouble(m_DBMCage,"FLEXSUPP_HEIGHT")*Gaudi::Units::mm;
3681 }

◆ DBMFlexSupportZ()

double DBPixelGeoManager::DBMFlexSupportZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3682 of file DBPixelGeoManager.cxx.

3682  {
3683  return db()->getDouble(m_DBMCage,"FLEXSUPP_THICK")*Gaudi::Units::mm;
3684 }

◆ DBMKaptonZ()

double DBPixelGeoManager::DBMKaptonZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3671 of file DBPixelGeoManager.cxx.

3671  {
3672  return db()->getDouble(m_DBMModule,"KAPTONZ")*Gaudi::Units::mm;
3673 }

◆ DBMMainPlateX()

double DBPixelGeoManager::DBMMainPlateX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3608 of file DBPixelGeoManager.cxx.

3608  {
3609  return db()->getDouble(m_DBMCage,"MAINPLATE_WIDTH")*Gaudi::Units::mm;
3610 }

◆ DBMMainPlateY()

double DBPixelGeoManager::DBMMainPlateY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3611 of file DBPixelGeoManager.cxx.

3611  {
3612  return db()->getDouble(m_DBMCage,"MAINPLATE_HEIGHT")*Gaudi::Units::mm;
3613 }

◆ DBMMainPlateZ()

double DBPixelGeoManager::DBMMainPlateZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3614 of file DBPixelGeoManager.cxx.

3614  {
3615  return db()->getDouble(m_DBMCage,"MAINPLATE_THICK")*Gaudi::Units::mm;
3616 }

◆ DBMModuleCageY()

double DBPixelGeoManager::DBMModuleCageY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3517 of file DBPixelGeoManager.cxx.

3517  {
3518  return db()->getDouble(m_DBMTelescope,"CAGE_HEIGHT")*Gaudi::Units::mm;
3519 }

◆ DBMModuleCageZ()

double DBPixelGeoManager::DBMModuleCageZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3520 of file DBPixelGeoManager.cxx.

3520  {
3521  return db()->getDouble(m_DBMTelescope,"CAGE_LENGTH")*Gaudi::Units::mm;
3522 }

◆ DBMMPlateRod2RodX()

double DBPixelGeoManager::DBMMPlateRod2RodX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3697 of file DBPixelGeoManager.cxx.

3697  {
3698  return db()->getDouble(m_DBMCage,"ROD2ROD_HOR")*Gaudi::Units::mm;
3699 }

◆ DBMMPlateRod2RodY()

double DBPixelGeoManager::DBMMPlateRod2RodY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3694 of file DBPixelGeoManager.cxx.

3694  {
3695  return db()->getDouble(m_DBMCage,"ROD2ROD_VERT")*Gaudi::Units::mm;
3696 }

◆ DBMMPlateWindowHeight()

double DBPixelGeoManager::DBMMPlateWindowHeight ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3620 of file DBPixelGeoManager.cxx.

3620  {
3621  return db()->getDouble(m_DBMCage,"MPWINDOW_HEIGHT")*Gaudi::Units::mm;
3622 }

◆ DBMMPlateWindowPos()

double DBPixelGeoManager::DBMMPlateWindowPos ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3623 of file DBPixelGeoManager.cxx.

3623  {
3624  return db()->getDouble(m_DBMCage,"MPWINDOW_POS")*Gaudi::Units::mm;
3625 }

◆ DBMMPlateWindowWidth()

double DBPixelGeoManager::DBMMPlateWindowWidth ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3617 of file DBPixelGeoManager.cxx.

3617  {
3618  return db()->getDouble(m_DBMCage,"MPWINDOW_WIDTH")*Gaudi::Units::mm;
3619 }

◆ DBMPP0RIn()

double DBPixelGeoManager::DBMPP0RIn ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3702 of file DBPixelGeoManager.cxx.

3702  {
3703  return db()->getDouble(m_DBMTelescope,"PP0_RIN")*Gaudi::Units::mm;
3704 }

◆ DBMPP0ROut()

double DBPixelGeoManager::DBMPP0ROut ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3705 of file DBPixelGeoManager.cxx.

3705  {
3706  return db()->getDouble(m_DBMTelescope,"PP0_ROUT")*Gaudi::Units::mm;
3707 }

◆ DBMPP0Thick()

double DBPixelGeoManager::DBMPP0Thick ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3708 of file DBPixelGeoManager.cxx.

3708  {
3709  return db()->getDouble(m_DBMTelescope,"PP0_THICK")*Gaudi::Units::mm;
3710 }

◆ DBMRodRadius()

double DBPixelGeoManager::DBMRodRadius ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3690 of file DBPixelGeoManager.cxx.

3690  {
3691  return db()->getDouble(m_DBMCage,"ROD_RADIUS")*Gaudi::Units::mm;
3692 }

◆ DBMSpace()

double DBPixelGeoManager::DBMSpace ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3603 of file DBPixelGeoManager.cxx.

3603  {
3604  return db()->getDouble(m_DBMCage,"SPACING1")*Gaudi::Units::mm;
3605 }

◆ DBMSpacingRadial()

double DBPixelGeoManager::DBMSpacingRadial ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3528 of file DBPixelGeoManager.cxx.

3528  {
3529  if (m_currentLD == 0)
3530  return db()->getDouble(m_DBMCage,"RADIAL_SPACE_0")*Gaudi::Units::mm;
3531  else if (m_currentLD == 1)
3532  return db()->getDouble(m_DBMCage,"RADIAL_SPACE_1")*Gaudi::Units::mm;
3533  else if (m_currentLD == 2)
3534  return db()->getDouble(m_DBMCage,"RADIAL_SPACE_2")*Gaudi::Units::mm;
3535  else {
3536  msg(MSG::WARNING) << "DBMSpacingRadial() is not found" << endmsg;
3537  return 0.;
3538  }
3539 }

◆ DBMSpacingZ()

double DBPixelGeoManager::DBMSpacingZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3525 of file DBPixelGeoManager.cxx.

3525  {
3526  return db()->getDouble(m_DBMCage,"ZSPACING")*Gaudi::Units::mm;
3527 }

◆ DBMTelescopeX()

double DBPixelGeoManager::DBMTelescopeX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3506 of file DBPixelGeoManager.cxx.

3506  {
3507  return db()->getDouble(m_DBMTelescope,"WIDTH")*Gaudi::Units::mm;
3508 }

◆ DBMTelescopeY()

double DBPixelGeoManager::DBMTelescopeY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3509 of file DBPixelGeoManager.cxx.

3509  {
3510  return db()->getDouble(m_DBMTelescope,"HEIGHT")*Gaudi::Units::mm;
3511 }

◆ DBMTelescopeZ()

double DBPixelGeoManager::DBMTelescopeZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3512 of file DBPixelGeoManager.cxx.

3512  {
3513  return db()->getDouble(m_DBMTelescope,"LENGTH")*Gaudi::Units::mm;
3514 }

◆ DBMTrapezBackShortZ()

double DBPixelGeoManager::DBMTrapezBackShortZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3559 of file DBPixelGeoManager.cxx.

3559  {
3560  return db()->getDouble(m_DBMBracket,"TRAPEZBACK_ZSHORT")*Gaudi::Units::mm;
3561 }

◆ DBMTrapezBackTheta()

double DBPixelGeoManager::DBMTrapezBackTheta ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3550 of file DBPixelGeoManager.cxx.

3550  {
3551  return db()->getDouble(m_DBMBracket,"TRAPEZBACK_THETA")*Gaudi::Units::deg;
3552 }

◆ DBMTrapezBackX()

double DBPixelGeoManager::DBMTrapezBackX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3553 of file DBPixelGeoManager.cxx.

3553  {
3554  return db()->getDouble(m_DBMBracket,"TRAPEZBACK_WIDTH")*Gaudi::Units::mm;
3555 }

◆ DBMTrapezBackY()

double DBPixelGeoManager::DBMTrapezBackY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3556 of file DBPixelGeoManager.cxx.

3556  {
3557  return db()->getDouble(m_DBMBracket,"TRAPEZBACK_HEIGHT")*Gaudi::Units::mm;
3558 }

◆ dbVersion()

virtual int DBPixelGeoManager::dbVersion ( )
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 291 of file DBPixelGeoManager.h.

291 {return m_dbVersion;}

◆ DC1Geometry()

bool DBPixelGeoManager::DC1Geometry ( ) const
overridevirtual

Implements PixelGeometryManager.

Definition at line 402 of file DBPixelGeoManager.cxx.

402  {
403  return m_dc1Geometry;
404 }

◆ DesignCellColumnsPerCircuit()

int DBPixelGeoManager::DesignCellColumnsPerCircuit ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3192 of file DBPixelGeoManager.cxx.

3193 {
3194  return DesignNumColsPerChip(isModule3D);
3195 }

◆ DesignCellRowsPerCircuit()

int DBPixelGeoManager::DesignCellRowsPerCircuit ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3187 of file DBPixelGeoManager.cxx.

3188 {
3189  return DesignNumChipsPhi(isModule3D) * DesignNumRowsPerChip(isModule3D);
3190 }

◆ DesignCircuitsEta()

int DBPixelGeoManager::DesignCircuitsEta ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3399 of file DBPixelGeoManager.cxx.

3400 {
3401  return DesignNumChipsEta(isModule3D);
3402 }

◆ DesignCircuitsPhi()

int DBPixelGeoManager::DesignCircuitsPhi ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3390 of file DBPixelGeoManager.cxx.

3391 {
3392  //
3393  // This should be (*pdch)[0]->getDouble("NRPCHIP"), but in the current
3394  // design we prefer to have one chip in the rphi direction
3395  // and define the connections for the pixels in the gap
3396  return 1;
3397 }

◆ DesignDiodeColumnsPerCircuit()

int DBPixelGeoManager::DesignDiodeColumnsPerCircuit ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3202 of file DBPixelGeoManager.cxx.

3203 {
3204  return DesignNumColsPerChip(isModule3D);
3205 }

◆ DesignDiodeRowsPerCircuit()

int DBPixelGeoManager::DesignDiodeRowsPerCircuit ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3197 of file DBPixelGeoManager.cxx.

3198 {
3199  return DesignDiodesPhiTotal(isModule3D);
3200 }

◆ DesignDiodesEtaTotal()

int DBPixelGeoManager::DesignDiodesEtaTotal ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3177 of file DBPixelGeoManager.cxx.

3178 {
3179  if (dbVersion() < 2) {
3181  } else {
3182  return DesignNumChipsEta(isModule3D) * DesignNumColsPerChip(isModule3D);
3183  }
3184 }

◆ DesignDiodesPhiTotal()

int DBPixelGeoManager::DesignDiodesPhiTotal ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3168 of file DBPixelGeoManager.cxx.

3169 {
3170  if (dbVersion() < 2) {
3172  } else {
3173  return DesignNumChipsPhi(isModule3D) * (DesignNumRowsPerChip(isModule3D)+DesignNumEmptyRowsInGap(isModule3D)) - DesignNumEmptyRowsInGap(isModule3D);
3174  }
3175 }

◆ DesignGapRP()

double DBPixelGeoManager::DesignGapRP ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3372 of file DBPixelGeoManager.cxx.

3373 {
3374  if (dbVersion() < 2) {
3375  return m_legacyManager->DesignGapRP();
3376  } else {
3377  return DesignNumEmptyRowsInGap(isModule3D) * DesignPitchRP(isModule3D);
3378  }
3379 }

◆ DesignGapZ()

double DBPixelGeoManager::DesignGapZ ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3381 of file DBPixelGeoManager.cxx.

3382 {
3383  if (dbVersion() < 2) {
3384  return m_legacyManager->DesignGapZ();
3385  } else {
3386  return 2. * (DesignPitchZLong(isModule3D) - DesignPitchZ(isModule3D));
3387  }
3388 }

◆ DesignNumChipsEta()

int DBPixelGeoManager::DesignNumChipsEta ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3134 of file DBPixelGeoManager.cxx.

3135  {
3136  if (dbVersion() < 2) {
3138  } else {
3139  int type = designType((ibl()&&isModule3D));
3140 
3141  return db()->getInt(m_PixelReadout,"NCHIPSETA",type);
3142  }
3143 }

◆ DesignNumChipsPhi()

int DBPixelGeoManager::DesignNumChipsPhi ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3122 of file DBPixelGeoManager.cxx.

3123 {
3124  if (dbVersion() < 2) {
3126  } else {
3127  int type = designType((ibl()&&isModule3D));
3128 
3129  return db()->getInt(m_PixelReadout,"NCHIPSPHI",type);
3130  }
3131 }

◆ DesignNumColsPerChip()

int DBPixelGeoManager::DesignNumColsPerChip ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3156 of file DBPixelGeoManager.cxx.

3157 {
3158  if (dbVersion() < 2) {
3160  } else {
3161  int type = designType((ibl()&&isModule3D));
3162 
3163  return db()->getInt(m_PixelReadout,"COLSPERCHIP",type);
3164  }
3165 }

◆ DesignNumEmptyRowsInGap()

int DBPixelGeoManager::DesignNumEmptyRowsInGap ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3207 of file DBPixelGeoManager.cxx.

3208 {
3209  // Could determine it from m_gangedIndexMap but expect it to be filled correctly in PixelReadoutTable
3210  if (dbVersion() < 2) {
3212  } else {
3213  int type=designType((ibl()&&isModule3D));
3214 
3215  return db()->getInt(m_PixelReadout,"EMPTYROWS",type);
3216  }
3217 }

◆ DesignNumRowsPerChip()

int DBPixelGeoManager::DesignNumRowsPerChip ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3145 of file DBPixelGeoManager.cxx.

3146 {
3147  if (dbVersion() < 2) {
3149  } else {
3150  int type = designType((ibl()&&isModule3D));
3151 
3152  return db()->getInt(m_PixelReadout,"ROWSPERCHIP",type);
3153  }
3154 }

◆ DesignPitchRP()

double DBPixelGeoManager::DesignPitchRP ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3322 of file DBPixelGeoManager.cxx.

3323 {
3324  if (dbVersion() < 2) {
3326  } else {
3327  int type = designType((ibl()&&isModule3D));
3328  return db()->getDouble(m_PixelReadout,"PITCHPHI",type) * Gaudi::Units::mm;
3329  }
3330 }

◆ DesignPitchZ()

double DBPixelGeoManager::DesignPitchZ ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3332 of file DBPixelGeoManager.cxx.

3333 {
3334  if (dbVersion() < 2) {
3336  } else {
3337  int type = designType((ibl()&&isModule3D));
3338  return db()->getDouble(m_PixelReadout,"PITCHETA",type) * Gaudi::Units::mm;
3339  }
3340 }

◆ DesignPitchZLong()

double DBPixelGeoManager::DesignPitchZLong ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3342 of file DBPixelGeoManager.cxx.

3343 {
3344  // Defaults to DesignPitchZ if not specified or is zero.
3345  if (dbVersion() < 2) {
3347  } else {
3348  int type = designType((ibl()&&isModule3D));
3349  double pitch = db()->getDouble(m_PixelReadout,"PITCHETALONG",type) * Gaudi::Units::mm;
3350  if (pitch == 0) pitch = DesignPitchZ(isModule3D);
3351  return pitch;
3352  }
3353 }

◆ DesignPitchZLongEnd()

double DBPixelGeoManager::DesignPitchZLongEnd ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3355 of file DBPixelGeoManager.cxx.

3356 {
3357  // Defaults to DesignPitchZLongEnd if not specified or is zero.
3358  if (!ibl()) { // This check is not really needed once the field is in the database.
3359  return DesignPitchZLong(isModule3D);
3360  } else {
3361  int type = designType((ibl()&&isModule3D));
3362  double pitch = 0;
3363  if (db()->testField(m_PixelReadout,"PITCHETAEND",type)) {
3364  pitch = db()->getDouble(m_PixelReadout,"PITCHETAEND",type) * Gaudi::Units::mm;
3365  }
3366  if (pitch == 0) pitch = DesignPitchZLong(isModule3D);
3367  return pitch;
3368  }
3369 }

◆ DesignReadoutSide()

int DBPixelGeoManager::DesignReadoutSide ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3111 of file DBPixelGeoManager.cxx.

3112 {
3113  if (dbVersion() < 2) {
3114  return -1;
3115  } else {
3116  int type = designType((ibl()&&isModule3D));
3117 
3118  return db()->getInt(m_PixelReadout,"READOUTSIDE",type);
3119  }
3120 }

◆ DesignRPActiveArea()

double DBPixelGeoManager::DesignRPActiveArea ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3302 of file DBPixelGeoManager.cxx.

3303 {
3304  if (dbVersion() < 2) {
3306  } else {
3307  // All layers assumed to be the same.
3308  return DesignPitchRP(isModule3D) * ((DesignNumRowsPerChip(isModule3D)+DesignNumEmptyRowsInGap(isModule3D)) * DesignNumChipsPhi(isModule3D) - DesignNumEmptyRowsInGap(isModule3D));
3309  }
3310 }

◆ designType()

int DBPixelGeoManager::designType ( bool  isModule3D = false)

Definition at line 3072 of file DBPixelGeoManager.cxx.

3073 {
3074 
3075  if(isModule3D) return designType3D();
3076 
3077  if (dbVersion() < 2) {
3078  return 0; // Not used
3079  } else {
3080  if (m_PixelReadout->size() == 0) {
3081  msg(MSG::ERROR) << "ERROR in PixelReadout size. Should not occur!" << endmsg;
3082  return 0;
3083  } else if (m_PixelReadout->size() == 1 && !ibl()) {
3084  return 0;
3085  } else { // Only in IBL
3086  return db()->getInt(m_PixelModule,"DESIGNTYPE",moduleType());
3087  }
3088  }
3089 }

◆ designType3D()

int DBPixelGeoManager::designType3D ( )

Definition at line 3092 of file DBPixelGeoManager.cxx.

3093 {
3094 
3095  if (dbVersion() < 2) {
3096  return 0; // Not used
3097  }
3098  else {
3099  if (m_PixelReadout->size() == 0) {
3100  msg(MSG::ERROR) << "ERROR in PixelReadout size. Should not occur!" << endmsg;
3101  return 0;
3102  } else if (m_PixelReadout->size() == 1 && !ibl()) {
3103  return 0;
3104  } else { // Only in IBL
3105  int type = db()->getInt(m_PixelModule,"DESIGNTYPE",moduleType3D());
3106  return type;
3107  }
3108  }
3109 }

◆ DesignZActiveArea()

double DBPixelGeoManager::DesignZActiveArea ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3312 of file DBPixelGeoManager.cxx.

3313 {
3314  if (dbVersion() < 2) {
3316  } else {
3317  // All layers assumed to be the same.
3318  return (DesignPitchZ(isModule3D) * (DesignNumColsPerChip(isModule3D) - 2) + 2 * DesignPitchZLong(isModule3D)) * DesignNumChipsEta(isModule3D) + 2 * (DesignPitchZLongEnd(isModule3D) - DesignPitchZLong(isModule3D));
3319  }
3320 }

◆ detailedFrame()

bool DBPixelGeoManager::detailedFrame ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1337 of file DBPixelGeoManager.cxx.

1338 {
1339  return db()->getTableSize(m_PixelFrame);
1340 }

◆ determineDbVersion()

int DBPixelGeoManager::determineDbVersion ( )
private

Definition at line 1133 of file DBPixelGeoManager.cxx.

1133  {
1134  // This determines a version depending on various changes in the database;
1135  int version = 0;
1136 
1137  if (!(*m_PixelLayer)[0]->isFieldNull("PHIOFMODULEZERO")) version = 1;
1138  if (m_PixelReadout->size() != 0) version = 2;
1139  if (m_weightTable->size() != 0) version = 3;
1140  if (m_PixelTMT->size() != 0) version = 4; // Removed all legacy tables
1141 
1142  return version;
1143 }

◆ distortedMatManager()

InDetDD::DistortedMaterialManager * DBPixelGeoManager::distortedMatManager ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 426 of file DBPixelGeoManager.cxx.

426  {
427  return m_distortedMatManager;
428 }

◆ DoServices()

bool DBPixelGeoManager::DoServices ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 386 of file DBPixelGeoManager.cxx.

386  {
387  return m_services;
388 }

◆ DoServicesOnLadder()

bool DBPixelGeoManager::DoServicesOnLadder ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 389 of file DBPixelGeoManager.cxx.

389  {
390  return m_servicesOnLadder;
391 }

◆ EmptyRowConnections()

int DBPixelGeoManager::EmptyRowConnections ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3287 of file DBPixelGeoManager.cxx.

3288 {
3289  if (dbVersion() < 2) {
3291  } else {
3292  int newIndex = GangedTableIndex(index, GangedType());
3293  if (newIndex >= 0) {
3294  return db()->getInt(m_PixelGangedPixels,"CONNECTROW",newIndex);
3295  } else {
3296  return 0;
3297  }
3298  }
3299 }

◆ EmptyRows()

int DBPixelGeoManager::EmptyRows ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3273 of file DBPixelGeoManager.cxx.

3274 {
3275  if (dbVersion() < 2) {
3276  return m_legacyManager->EmptyRows(index);
3277  } else {
3278  int newIndex = GangedTableIndex(index, GangedType());
3279  if (newIndex >= 0) {
3280  return db()->getInt(m_PixelGangedPixels,"EMPTYROW",newIndex);
3281  } else {
3282  return 0;
3283  }
3284  }
3285 }

◆ Eta()

virtual int DBPixelGeoManager::Eta ( )
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 245 of file DBPixelGeoManager.h.

245 {return m_eta;}

◆ GangedTableIndex()

int DBPixelGeoManager::GangedTableIndex ( int  index,
int  type 
)

Definition at line 3236 of file DBPixelGeoManager.cxx.

3237 {
3238  // There is only one type for standard ATLAS so we just return the index.
3239  if (!ibl()) return index;
3240 
3241  if (!m_gangedIndexMap) {
3242  // First time we create the map
3243  m_gangedIndexMap = new std::map<int,std::vector<int> >;
3244  for (unsigned int i = 0; i < db()->getTableSize(m_PixelGangedPixels); i++){
3245  int testType = 1;
3246  if (db()->testField(m_PixelGangedPixels,"TYPE",i)) {
3247  testType = db()->getInt(m_PixelGangedPixels,"TYPE",i);
3248  }
3249  (*m_gangedIndexMap)[testType].push_back(i);
3250  }
3251  }
3252 
3253  int newIndex = -1;
3254  std::map<int,std::vector<int> >::const_iterator iter = m_gangedIndexMap->find(type);
3255  if (iter == m_gangedIndexMap->end()) {
3256  msg(MSG::ERROR) << "Ganged pixel type " << type << " not found." << endmsg;
3257  } else {
3258  const std::vector<int> & vec = iter->second;
3259  if (index < 0 || static_cast<unsigned int>(index) >= vec.size()) {
3260  msg(MSG::ERROR) << "Ganged pixel index " << index << " for type " << type << " out of range." << endmsg;
3261  } else {
3262  newIndex = vec[index];
3263  }
3264  }
3265  return newIndex;
3266 }

◆ GangedType()

int DBPixelGeoManager::GangedType ( )

Definition at line 3220 of file DBPixelGeoManager.cxx.

3221 {
3222  // type 0 means no ganged pixels
3223  if (!ibl()) return 1;
3224  if (ibl()) {
3225  return db()->getInt(m_PixelReadout,"GANGEDTYPE",designType());
3226  } else {
3227  int type = 1;
3228  if (db()->testField(m_PixelReadout,"GANGEDTYPE",designType())) {
3229  type = db()->getInt(m_PixelReadout,"GANGEDTYPE",designType());
3230  }
3231  return type;
3232  }
3233 }

◆ getDiskRingIndex()

int DBPixelGeoManager::getDiskRingIndex ( int  disk,
int  eta 
)

◆ getDiskRingType()

int DBPixelGeoManager::getDiskRingType ( int  disk,
int  eta 
)

◆ getFrameElementIndex()

int DBPixelGeoManager::getFrameElementIndex ( int  sectionIndex,
int  element 
)

Definition at line 1414 of file DBPixelGeoManager.cxx.

1415 {
1416  // make map if it is not already made.
1418 
1419  int section = PixelFrameSectionFromIndex(sectionIndex);
1420 
1421  int newIndex = -1;
1422  std::map<int,std::vector<int> >::const_iterator iter = m_frameElementMap->find(section);
1423  if (iter == m_frameElementMap->end()) {
1424  // Should never be the case as PixelFrameNumSideElements should generally be called first
1425  msg(MSG::ERROR) << "Frame section " << section << " has no elements." << endmsg;
1426  } else {
1427  const std::vector<int> & vec = iter->second;
1428  if (static_cast<unsigned int>(element) >= vec.size()) {
1429  msg(MSG::ERROR) << "Element index " << element << " for section " << section << " out of range." << endmsg;
1430  } else {
1431  newIndex = vec[element];
1432  }
1433  }
1434  return newIndex;
1435 }

◆ getIdHelper()

const PixelID * DBPixelGeoManager::getIdHelper ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 268 of file DBPixelGeoManager.cxx.

269 {
270  return athenaComps()->getIdHelper();
271 }

◆ GetLD()

virtual int DBPixelGeoManager::GetLD ( )
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 260 of file DBPixelGeoManager.h.

260 {return m_currentLD;}

◆ getLD_Label()

std::string DBPixelGeoManager::getLD_Label ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1176 of file DBPixelGeoManager.cxx.

1177 {
1178  std::ostringstream o;
1179  if(isBarrel()) {
1180  if (m_currentLD == 0) {
1181  o << "BL";
1182  } else {
1183  o << "L" << m_currentLD;
1184  }
1185  } else {
1186  o << "D" << m_currentLD;
1187  }
1188  return o.str();
1189 }

◆ getMaterialManager()

InDetMaterialManager * DBPixelGeoManager::getMaterialManager ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 220 of file DBPixelGeoManager.cxx.

221 {
222  return m_pMatMgr;
223 }

◆ getMaterialName()

std::string DBPixelGeoManager::getMaterialName ( const std::string &  volumeName,
int  layerdisk = 0,
int  typenum = 0 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1147 of file DBPixelGeoManager.cxx.

1147  {
1148  return m_materialMap->getMaterial(layerdisk, typenum, volumeName);
1149 }

◆ GetPixelDDManager()

PixelDetectorManager * DBPixelGeoManager::GetPixelDDManager ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 411 of file DBPixelGeoManager.cxx.

411  {
412  if(m_pDDmgr == nullptr) {
413  //
414  // retrieve the pointer to the DD manager
415  //
416  StatusCode sc = athenaComps()->detStore()->retrieve(m_pDDmgr);
417  if (sc.isFailure()) {
418  msg(MSG::ERROR) << "Cannot retrieve PixelDetectorManager" << endmsg;
419  }
420  }
421  return m_pDDmgr;
422 }

◆ getPixelServiceRecordDouble()

double DBPixelGeoManager::getPixelServiceRecordDouble ( const std::string &  name,
const std::string &  type,
int  index 
)

Definition at line 1010 of file DBPixelGeoManager.cxx.

1010  {
1012  return db()->getDouble(recordSet, name, index);
1013 }

◆ getPixelServiceRecordInt()

int DBPixelGeoManager::getPixelServiceRecordInt ( const std::string &  name,
const std::string &  type,
int  index 
)

Definition at line 1004 of file DBPixelGeoManager.cxx.

1004  {
1006  return db()->getInt(recordSet, name, index);
1007 }

◆ getPixelServiceRecordset()

IRDBRecordset_ptr DBPixelGeoManager::getPixelServiceRecordset ( const std::string &  type)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1026 of file DBPixelGeoManager.cxx.

1026  {
1027  // m_barrelInFrames and m_endcapInFrames should be zero in dbVersion >= 3
1028  IRDBRecordset_ptr recordSet;
1029  if (type == "simple") {
1030  recordSet = m_PixelSimpleService;
1031  } else if(type == "barrel") {
1032  recordSet = m_PixelBarrelService;
1033  //if(type != "Inside") index += m_barrelInFrames;
1034  } else if(type == "endcap") {
1035  recordSet = m_PixelEndcapService;
1036  //if(type != "Inside") index += m_endcapInFrames;
1037  } else if(type == "envelope") {
1038  recordSet = m_PixelEnvelopeService;
1039  //if(type != "Inside") index += m_endcapInFrames;
1040  } else {
1041  msg(MSG::ERROR) << "ERROR: getPixelServiceRecord(), neither Barrel of Endcap selected!" << endmsg;
1042  }
1043  return recordSet;
1044 }

◆ getPixelServiceRecordString()

std::string DBPixelGeoManager::getPixelServiceRecordString ( const std::string &  name,
const std::string &  type,
int  index 
)

Definition at line 999 of file DBPixelGeoManager.cxx.

999  {
1001  return db()->getString(recordSet, name, index);
1002 }

◆ getPixelServiceRecordTestField()

bool DBPixelGeoManager::getPixelServiceRecordTestField ( const std::string &  name,
const std::string &  type,
int  index 
)

Definition at line 1015 of file DBPixelGeoManager.cxx.

1015  {
1016  try {
1018  return db()->testField(recordSet, name, index);
1019  }
1020  catch(...){}
1021  return false;
1022 }

◆ GetSide()

virtual int DBPixelGeoManager::GetSide ( )
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 269 of file DBPixelGeoManager.h.

269 {return m_side;}

◆ ibl()

virtual bool DBPixelGeoManager::ibl ( ) const
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 230 of file DBPixelGeoManager.h.

230 {return m_ibl;}

◆ IBLFlexAndWingDefined()

bool DBPixelGeoManager::IBLFlexAndWingDefined ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2148 of file DBPixelGeoManager.cxx.

2149 {
2150  // int index = PixelStaveIndex(m_currentLD);
2151  int index=0;
2152  return db()->testField(m_PixelIBLFlex,"FLEXMIDGAP",index);
2153 }

◆ IBLFlexDoglegDY()

double DBPixelGeoManager::IBLFlexDoglegDY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2215 of file DBPixelGeoManager.cxx.

2216 {
2217  // int index = PixelStaveIndex(m_currentLD);
2218  int index=0;
2219  if (db()->testField(m_PixelIBLFlex,"FLEXDOGLEGDY",index)) {
2220  double value = db()->getDouble(m_PixelIBLFlex,"FLEXDOGLEGDY",index) * Gaudi::Units::mm;
2221  return value ;
2222  }
2223  return 0.0;
2224 }

◆ IBLFlexDoglegHeight()

double DBPixelGeoManager::IBLFlexDoglegHeight ( int  iHeight)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2201 of file DBPixelGeoManager.cxx.

2202 {
2203  std::ostringstream lname;
2204  lname << "FLEXDOGLEGHEIGHT"<<iHeight;
2205 
2206  // int index = PixelStaveIndex(m_currentLD);
2207  int index=0;
2208  if (db()->testField(m_PixelIBLFlex,lname.str(),index)) {
2209  double value = db()->getDouble(m_PixelIBLFlex,lname.str(),index) * Gaudi::Units::mm;
2210  return value ;
2211  }
2212  return 0.0;
2213 }

◆ IBLFlexDoglegLength()

double DBPixelGeoManager::IBLFlexDoglegLength ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2156 of file DBPixelGeoManager.cxx.

2157 {
2158  // int index = PixelStaveIndex(m_currentLD);
2159  int index=0;
2160  if (db()->testField(m_PixelIBLFlex,"FLEXDOGLEGLENGTH",index)) {
2161  double value = db()->getDouble(m_PixelIBLFlex,"FLEXDOGLEGLENGTH",index) * Gaudi::Units::mm;
2162  return value ;
2163  }
2164  return 0.0;
2165 }

◆ IBLFlexDoglegRatio()

double DBPixelGeoManager::IBLFlexDoglegRatio ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2190 of file DBPixelGeoManager.cxx.

2191 {
2192  // int index = PixelStaveIndex(m_currentLD);
2193  int index=0;
2194  if (db()->testField(m_PixelIBLFlex,"FLEXDOGLEGRATIO",index)) {
2195  double value = db()->getDouble(m_PixelIBLFlex,"FLEXDOGLEGRATIO",index) * Gaudi::Units::mm;
2196  return value ;
2197  }
2198  return 0.0;
2199 }

◆ IBLFlexMaterial()

std::string DBPixelGeoManager::IBLFlexMaterial ( int  iPos,
const std::string &  flexType 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2270 of file DBPixelGeoManager.cxx.

2271 {
2272 
2273  int nbMaterial=db()->getTableSize(m_PixelIBLFlexMaterial);
2274  int cmptType=0;
2275 
2276  for(int index=0; index<nbMaterial; index++)
2277  {
2278  std::string flexTypeIdx = db()->getString(m_PixelIBLFlexMaterial,"TYPE",index);
2279  if(flexTypeIdx.compare(flexType)==0)
2280  {
2281  cmptType++;
2282  if(iPos==cmptType){
2283  std::string matTypeIdx = db()->getString(m_PixelIBLFlexMaterial,"MATERIALNAME",index);
2284  return matTypeIdx;
2285  }
2286  }
2287  }
2288  return std::string("noMat");
2289 
2290 }

◆ IBLFlexMiddleGap()

double DBPixelGeoManager::IBLFlexMiddleGap ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2137 of file DBPixelGeoManager.cxx.

2138 {
2139  // int index = PixelStaveIndex(m_currentLD);
2140  int index=0;
2141  if (db()->testField(m_PixelIBLFlex,"FLEXMIDGAP",index)) {
2142  double value = db()->getDouble(m_PixelIBLFlex,"FLEXMIDGAP",index) * Gaudi::Units::mm;
2143  return value ;
2144  }
2145  return 0.0;
2146 }

◆ IBLFlexPP0Rmax()

double DBPixelGeoManager::IBLFlexPP0Rmax ( int  iPos)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2255 of file DBPixelGeoManager.cxx.

2256 {
2257  std::ostringstream lname;
2258  lname << "FLEXPP0_S"<<iPos<<"RMAX";
2259 
2260  // int index = PixelStaveIndex(m_currentLD);
2261  int index=0;
2262  if (db()->testField(m_PixelIBLFlex,lname.str(),index)) {
2263  double value = db()->getDouble(m_PixelIBLFlex,lname.str(),index) * Gaudi::Units::mm;
2264  return value ;
2265  }
2266  return 0.0;
2267 }

◆ IBLFlexPP0Rmin()

double DBPixelGeoManager::IBLFlexPP0Rmin ( int  iPos)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2241 of file DBPixelGeoManager.cxx.

2242 {
2243  std::ostringstream lname;
2244  lname << "FLEXPP0_S"<<iPos<<"RMIN";
2245 
2246  // int index = PixelStaveIndex(m_currentLD);
2247  int index=0;
2248  if (db()->testField(m_PixelIBLFlex,lname.str(),index)) {
2249  double value = db()->getDouble(m_PixelIBLFlex,lname.str(),index) * Gaudi::Units::mm;
2250  return value ;
2251  }
2252  return 0.0;
2253 }

◆ IBLFlexPP0Z()

double DBPixelGeoManager::IBLFlexPP0Z ( int  iPos)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2226 of file DBPixelGeoManager.cxx.

2227 {
2228  std::ostringstream lname;
2229  lname << "FLEXPP0_Z"<<iPos;
2230 
2231  // int index = PixelStaveIndex(m_currentLD);
2232  int index=0;
2233  if (db()->testField(m_PixelIBLFlex,lname.str(),index)) {
2234  double value = db()->getDouble(m_PixelIBLFlex,lname.str(),index) * Gaudi::Units::mm;
2235  return value ;
2236  }
2237  return 0.0;
2238 }

◆ IBLServiceGetMaxRadialPosition()

double DBPixelGeoManager::IBLServiceGetMaxRadialPosition ( const std::string &  srvName,
const std::string &  srvType,
double  srvZmin,
double  srvZmax 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2342 of file DBPixelGeoManager.cxx.

2344 {
2345 
2346  double rmax=-1.;
2347  int numServices = PixelServiceElements(srvType);
2348 
2349  int nbSrv=0;
2350  for(int ii = 0; ii < numServices; ii++) {
2351  // Retrieve/calculate the parameters for the volume.
2352  //
2353  std::string name;
2354  if(srvType=="simple")
2355  name=db()->getString(m_PixelSimpleService,"NAME",ii);
2356  else
2357  name=PixelServiceName(srvType,ii);
2358 
2359  if(name.find(srvName)!=std::string::npos){
2360 
2361  double zmin, zmax, r;
2362  int symm;
2363  if(srvType=="simple"){
2366  symm=db()->getInt(m_PixelSimpleService,"ZSYMM",ii);
2368  }
2369  else {
2370  zmin=PixelServiceZMin(srvType, ii);
2371  zmax=PixelServiceZMax(srvType, ii);
2372  symm=PixelServiceZsymm(srvType, ii);
2373  r=PixelServiceRMax(srvType, ii);
2374  }
2375 
2376  bool bZintervalle = false;
2377  if( (srvZmin-zmin)*(srvZmin-zmax)<0 || (srvZmax-zmin)*(srvZmax-zmax)<0 ) bZintervalle=true;
2378  if( symm==1 && ((-srvZmin-zmin)*(-srvZmin-zmax)<0 || (-srvZmax-zmin)*(-srvZmax-zmax)<0) ) bZintervalle=true;
2379 
2380  if(bZintervalle && r>rmax){
2381  rmax=r;
2382  nbSrv++;
2383  }
2384  }
2385  }
2386 
2387  if(nbSrv<1)return -1;
2388  return rmax;
2389 
2390 }

◆ IBLServiceGetMinRadialPosition()

double DBPixelGeoManager::IBLServiceGetMinRadialPosition ( const std::string &  srvName,
const std::string &  srvType,
double  srvZmin,
double  srvZmax 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2293 of file DBPixelGeoManager.cxx.

2295 {
2296 
2297  double rmin=99999.;
2298 
2299  int numServices = PixelServiceElements(srvType);
2300  int nbSrv=0;
2301  for(int ii = 0; ii < numServices; ii++) {
2302  // Retrieve/calculate the parameters for the volume.
2303  //
2304  std::string name;
2305  if(srvType=="simple")
2306  name=db()->getString(m_PixelSimpleService,"NAME",ii);
2307  else
2308  name=PixelServiceName(srvType,ii);
2309 
2310  if(name.find(srvName)!=std::string::npos){
2311  double zmin, zmax, r;
2312  int symm;
2313  if(srvType=="simple"){
2316  symm=db()->getInt(m_PixelSimpleService,"ZSYMM",ii);
2318  }
2319  else {
2320  zmin=PixelServiceZMin(srvType, ii);
2321  zmax=PixelServiceZMax(srvType, ii);
2322  symm=PixelServiceZsymm(srvType, ii);
2323  r=PixelServiceRMin(srvType, ii);
2324  }
2325 
2326  bool bZintervalle = false;
2327  if( (srvZmin-zmin)*(srvZmin-zmax)<0 || (srvZmax-zmin)*(srvZmax-zmax)<0 ) bZintervalle=true;
2328  if( symm==1 && ((-srvZmin-zmin)*(-srvZmin-zmax)<0 || (-srvZmax-zmin)*(-srvZmax-zmax)<0) ) bZintervalle=true;
2329 
2330  if(bZintervalle){
2331  if(r<rmin) rmin=r;
2332  nbSrv++;
2333  }
2334  }
2335  }
2336 
2337  if(nbSrv<1)return -1;
2338  return rmin;
2339 
2340 }

◆ IBLStaveFacePlateGlueThickness()

double DBPixelGeoManager::IBLStaveFacePlateGlueThickness ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2013 of file DBPixelGeoManager.cxx.

2014 {
2015  // try and catch (param availbale only if db tag > IBL-03-00-00)
2016  try{
2017  int index=0;
2018  if (db()->testField(m_PixelIBLGlueGrease,"FACEPLATEGLUETHICK",index)) {
2019  double value = db()->getDouble(m_PixelIBLGlueGrease,"FACEPLATEGLUETHICK",index) * Gaudi::Units::mm;
2020  return value ;
2021  }
2022  return 0.;
2023  }
2024  catch(...) {}
2025  return 0.;
2026 }

◆ IBLStaveFacePlateGreaseThickness()

double DBPixelGeoManager::IBLStaveFacePlateGreaseThickness ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1998 of file DBPixelGeoManager.cxx.

1999 {
2000  // try and catch (param availbale only if db tag > IBL-03-00-00)
2001  try{
2002  int index=0;
2003  if (db()->testField(m_PixelIBLGlueGrease,"FACEPLATEGREASETHICK",index)) {
2004  double value = db()->getDouble(m_PixelIBLGlueGrease,"FACEPLATEGREASETHICK",index) * Gaudi::Units::mm;
2005  return value ;
2006  }
2007  return 0.;
2008  }
2009  catch(...){}
2010  return 0.;
2011 }

◆ IBLStaveFacePlateThickness()

double DBPixelGeoManager::IBLStaveFacePlateThickness ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1692 of file DBPixelGeoManager.cxx.

1693 {
1694  // int index = PixelStaveIndex(m_currentLD);
1695  int index=0;
1696  if (db()->testField(m_PixelIBLStave,"FACEPLATETHICK",index)) {
1697  double thickness = db()->getDouble(m_PixelIBLStave,"FACEPLATETHICK",index) * Gaudi::Units::mm;
1698  if (thickness > 0) return thickness ;
1699  }
1700  return 0.0;
1701 }

◆ IBLStaveFlexBaseThickness()

double DBPixelGeoManager::IBLStaveFlexBaseThickness ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1841 of file DBPixelGeoManager.cxx.

1842 {
1843  // int index = PixelStaveIndex(m_currentLD);
1844  int index=0;
1845  if (db()->testField(m_PixelIBLStave,"FLEXBASETHICK",index)) {
1846  double value = db()->getDouble(m_PixelIBLStave,"FLEXBASETHICK",index) * Gaudi::Units::mm;
1847  if (value > 0) return value ;
1848  }
1849  return 0.0;
1850 }

◆ IBLStaveFlexLayerThickness()

double DBPixelGeoManager::IBLStaveFlexLayerThickness ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1830 of file DBPixelGeoManager.cxx.

1831 {
1832  // int index = PixelStaveIndex(m_currentLD);
1833  int index=0;
1834  if (db()->testField(m_PixelIBLStave,"FLEXLAYERTHICK",index)) {
1835  double value = db()->getDouble(m_PixelIBLStave,"FLEXLAYERTHICK",index) * Gaudi::Units::mm;
1836  if (value > 0) return value ;
1837  }
1838  return 0.0;
1839 }

◆ IBLStaveFlexOffset()

double DBPixelGeoManager::IBLStaveFlexOffset ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1863 of file DBPixelGeoManager.cxx.

1864 {
1865  // int index = PixelStaveIndex(m_currentLD);
1866  int index=0;
1867  if (db()->testField(m_PixelIBLStave,"FLEXOFFSET",index)) {
1868  double value = db()->getDouble(m_PixelIBLStave,"FLEXOFFSET",index) * Gaudi::Units::mm;
1869  return value ;
1870  }
1871  return 0.0;
1872 }

◆ IBLStaveFlexWidth()

double DBPixelGeoManager::IBLStaveFlexWidth ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1852 of file DBPixelGeoManager.cxx.

1853 {
1854  // int index = PixelStaveIndex(m_currentLD);
1855  int index=0;
1856  if (db()->testField(m_PixelIBLStave,"FLEXWIDTH",index)) {
1857  double value = db()->getDouble(m_PixelIBLStave,"FLEXWIDTH",index) * Gaudi::Units::mm;
1858  if (value > 0) return value ;
1859  }
1860  return 0.0;
1861 }

◆ IBLStaveFlexWingThick()

double DBPixelGeoManager::IBLStaveFlexWingThick ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2179 of file DBPixelGeoManager.cxx.

2180 {
2181  // int index = PixelStaveIndex(m_currentLD);
2182  int index=0;
2183  if (db()->testField(m_PixelIBLFlex,"FLEXWINGTHICK",index)) {
2184  double value = db()->getDouble(m_PixelIBLFlex,"FLEXWINGTHICK",index) * Gaudi::Units::mm;
2185  return value ;
2186  }
2187  return 0.0;
2188 }

◆ IBLStaveFlexWingWidth()

double DBPixelGeoManager::IBLStaveFlexWingWidth ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2168 of file DBPixelGeoManager.cxx.

2169 {
2170  // int index = PixelStaveIndex(m_currentLD);
2171  int index=0;
2172  if (db()->testField(m_PixelIBLFlex,"FLEXWINGWIDTH",index)) {
2173  double value = db()->getDouble(m_PixelIBLFlex,"FLEXWINGWIDTH",index) * Gaudi::Units::mm;
2174  return value ;
2175  }
2176  return 0.0;
2177 }

◆ IBLStaveLength()

double DBPixelGeoManager::IBLStaveLength ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1751 of file DBPixelGeoManager.cxx.

1752 {
1753  // try and catch (param availbale only if db tag > IBL-03-00-00)
1754  try
1755  {
1756  int index=0;
1757  if (db()->testField(m_PixelIBLStave,"STAVELENGTH",index)) {
1758  double value = db()->getDouble(m_PixelIBLStave,"STAVELENGTH",index) * Gaudi::Units::mm;
1759  return value ;
1760  }
1761  }
1762  catch(...)
1763  {
1764  // FIXME : patch for initial IBL geometry (SES)
1765  // IBL stave length not eqal to other stave length
1766  }
1767 
1768  return 748.0 * Gaudi::Units::mm;
1769 }

◆ IBLStaveMechanicalStaveEndBlockFixPoint()

double DBPixelGeoManager::IBLStaveMechanicalStaveEndBlockFixPoint ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1725 of file DBPixelGeoManager.cxx.

1726 {
1727  // int index = PixelStaveIndex(m_currentLD);
1728  int index=0;
1729  if (db()->testField(m_PixelIBLStave,"ENDBLOCKFIXINGPOS",index)) {
1730  double value = db()->getDouble(m_PixelIBLStave,"ENDBLOCKFIXINGPOS",index) * Gaudi::Units::mm;
1731  return value ;
1732  }
1733  return 0.0;
1734 }

◆ IBLStaveMechanicalStaveEndBlockLength()

double DBPixelGeoManager::IBLStaveMechanicalStaveEndBlockLength ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1714 of file DBPixelGeoManager.cxx.

1715 {
1716  // int index = PixelStaveIndex(m_currentLD);
1717  int index=0;
1718  if (db()->testField(m_PixelIBLStave,"ENDBLOCKLENGTH",index)) {
1719  double value = db()->getDouble(m_PixelIBLStave,"ENDBLOCKLENGTH",index) * Gaudi::Units::mm;
1720  if (value > 0) return value ;
1721  }
1722  return 0.0;
1723 }

◆ IBLStaveMechanicalStaveEndBlockOmegaOverlap()

double DBPixelGeoManager::IBLStaveMechanicalStaveEndBlockOmegaOverlap ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1736 of file DBPixelGeoManager.cxx.

1737 {
1738  // try and catch (param availbale only if db tag > IBL-03-00-00)
1739  try{
1740  int index=0;
1741  if (db()->testField(m_PixelIBLStave,"ENDBLOCKOMEGAOVERLAP",index)) {
1742  double value = db()->getDouble(m_PixelIBLStave,"ENDBLOCKOMEGAOVERLAP",index) * Gaudi::Units::mm;
1743  return value ;
1744  }
1745  return 0.0;
1746  }
1747  catch(...){}
1748  return 0.;
1749 }

◆ IBLStaveMechanicalStaveModuleOffset()

double DBPixelGeoManager::IBLStaveMechanicalStaveModuleOffset ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1786 of file DBPixelGeoManager.cxx.

1787 {
1788  // int index = PixelStaveIndex(m_currentLD);
1789  int index=0;
1790  if (db()->testField(m_PixelIBLStave,"STAVETOMODULEGAP",index)) {
1791  double value = db()->getDouble(m_PixelIBLStave,"STAVETOMODULEGAP",index) * Gaudi::Units::mm;
1792  return value ;
1793  }
1794  return 0.0;
1795 }

◆ IBLStaveMechanicalStaveOffset()

double DBPixelGeoManager::IBLStaveMechanicalStaveOffset ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1771 of file DBPixelGeoManager.cxx.

1772 {
1773  // int index = PixelStaveIndex(m_currentLD);
1774  int index=0;
1775  if (!isModule3D&&db()->testField(m_PixelIBLStave,"MODULELATERALOFFSET",index)) {
1776  double value = db()->getDouble(m_PixelIBLStave,"MODULELATERALOFFSET",index) * Gaudi::Units::mm;
1777  return value ;
1778  }
1779  if (isModule3D&&db()->testField(m_PixelIBLStave,"MODULELATERALOFFSET3D",index)) {
1780  double value = db()->getDouble(m_PixelIBLStave,"MODULELATERALOFFSET3D",index) * Gaudi::Units::mm;
1781  return value ;
1782  }
1783  return 0.0;
1784 }

◆ IBLStaveMechanicalStaveWidth()

double DBPixelGeoManager::IBLStaveMechanicalStaveWidth ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1703 of file DBPixelGeoManager.cxx.

1704 {
1705  // int index = PixelStaveIndex(m_currentLD);
1706  int index=0;
1707  if (db()->testField(m_PixelIBLStave,"STAVEWIDTH",index)) {
1708  double value = db()->getDouble(m_PixelIBLStave,"STAVEWIDTH",index) * Gaudi::Units::mm;
1709  if (value > 0) return value ;
1710  }
1711  return 0.0;
1712 }

◆ IBLStaveModuleGap()

double DBPixelGeoManager::IBLStaveModuleGap ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1976 of file DBPixelGeoManager.cxx.

1977 {
1978  // int index = PixelStaveIndex(m_currentLD);
1979  int index=0;
1980  if (db()->testField(m_PixelIBLStave,"MODULEGAP",index)) {
1981  double value = db()->getDouble(m_PixelIBLStave,"MODULEGAP",index) * Gaudi::Units::mm;
1982  if (value > 0) return value ;
1983  }
1984  return 0.0;
1985 }

◆ IBLStaveModuleNumber()

int DBPixelGeoManager::IBLStaveModuleNumber ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1970 of file DBPixelGeoManager.cxx.

1971 {
1973 
1974 }

◆ IBLStaveModuleNumber_AllPlanar()

int DBPixelGeoManager::IBLStaveModuleNumber_AllPlanar ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1959 of file DBPixelGeoManager.cxx.

1960 {
1961  // int index = PixelStaveIndex(m_currentLD);
1962  int index=0;
1963  if (db()->testField(m_PixelIBLStave,"NMODULE",index)) {
1964  int value = db()->getInt(m_PixelIBLStave,"NMODULE",index);
1965  if (value > 0) return value ;
1966  }
1967  return 0;
1968 }

◆ IBLStaveModuleType()

int DBPixelGeoManager::IBLStaveModuleType ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1987 of file DBPixelGeoManager.cxx.

1988 {
1989  // int index = PixelStaveIndex(m_currentLD);
1990  int index=0;
1991  if (db()->testField(m_PixelIBLStave,"MODULETYPE",index)) {
1992  int value = db()->getInt(m_PixelIBLStave,"MODULETYPE",index) * Gaudi::Units::mm;
1993  if (value > 0) return value ;
1994  }
1995  return 0;
1996 }

◆ IBLStaveOmegaEndAngle()

double DBPixelGeoManager::IBLStaveOmegaEndAngle ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1916 of file DBPixelGeoManager.cxx.

1917 {
1918  // int index = PixelStaveIndex(m_currentLD);
1919  int index=0;
1920  if (db()->testField(m_PixelIBLStave,"OMEGAENDANGLE",index)) {
1921  double value = db()->getDouble(m_PixelIBLStave,"OMEGAENDANGLE",index) * Gaudi::Units::deg;
1922  return value ;
1923  }
1924  return 0.0;
1925 }

◆ IBLStaveOmegaEndCenterX()

double DBPixelGeoManager::IBLStaveOmegaEndCenterX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1886 of file DBPixelGeoManager.cxx.

1887 {
1888  // int index = PixelStaveIndex(m_currentLD);
1889  int index=0;
1890  if (db()->testField(m_PixelIBLStave,"OMEGAENDCENTERX",index)) {
1891  double value = db()->getDouble(m_PixelIBLStave,"OMEGAENDCENTERX",index) * Gaudi::Units::mm;
1892  return value ;
1893  }
1894  return 0.0;
1895 }

◆ IBLStaveOmegaEndCenterY()

double DBPixelGeoManager::IBLStaveOmegaEndCenterY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1896 of file DBPixelGeoManager.cxx.

1897 {
1898  // int index = PixelStaveIndex(m_currentLD);
1899  int index=0;
1900  if (db()->testField(m_PixelIBLStave,"OMEGAENDCENTERY",index)) {
1901  double value = db()->getDouble(m_PixelIBLStave,"OMEGAENDCENTERY",index) * Gaudi::Units::mm;
1902  return value ;
1903  }
1904  return 0.0;
1905 }

◆ IBLStaveOmegaEndRadius()

double DBPixelGeoManager::IBLStaveOmegaEndRadius ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1906 of file DBPixelGeoManager.cxx.

1907 {
1908  // int index = PixelStaveIndex(m_currentLD);
1909  int index=0;
1910  if (db()->testField(m_PixelIBLStave,"OMEGAENDRADIUS",index)) {
1911  double value = db()->getDouble(m_PixelIBLStave,"OMEGAENDRADIUS",index) * Gaudi::Units::mm;
1912  return value ;
1913  }
1914  return 0.0;
1915 }

◆ IBLStaveOmegaGlueThickness()

double DBPixelGeoManager::IBLStaveOmegaGlueThickness ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2043 of file DBPixelGeoManager.cxx.

2044 {
2045  // try and catch (param availbale only if db tag > IBL-03-00-00)
2046  try{
2047  int index=0;
2048  if (db()->testField(m_PixelIBLGlueGrease,"OMEGAGLUETHICK",index)) {
2049  double value = db()->getDouble(m_PixelIBLGlueGrease,"OMEGAGLUETHICK",index) * Gaudi::Units::mm;
2050  return value ;
2051  }
2052  return 0.;
2053  }
2054  catch(...){}
2055  return 0.;
2056 }

◆ IBLStaveOmegaMidAngle()

double DBPixelGeoManager::IBLStaveOmegaMidAngle ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1948 of file DBPixelGeoManager.cxx.

1949 {
1950  // int index = PixelStaveIndex(m_currentLD);
1951  int index=0;
1952  if (db()->testField(m_PixelIBLStave,"OMEGAOPENINGANGLE",index)) {
1953  double value = db()->getDouble(m_PixelIBLStave,"OMEGAOPENINGANGLE",index) * Gaudi::Units::deg;
1954  return value ;
1955  }
1956  return 0.0;
1957 }

◆ IBLStaveOmegaMidCenterX()

double DBPixelGeoManager::IBLStaveOmegaMidCenterX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1927 of file DBPixelGeoManager.cxx.

1928 {
1929  // int index = PixelStaveIndex(m_currentLD);
1930  int index=0;
1931  if (db()->testField(m_PixelIBLStave,"OMEGAMIDCENTERX",index)) {
1932  double value = db()->getDouble(m_PixelIBLStave,"OMEGAMIDCENTERX",index) * Gaudi::Units::mm;
1933  return value ;
1934  }
1935  return 0.0;
1936 }

◆ IBLStaveOmegaMidRadius()

double DBPixelGeoManager::IBLStaveOmegaMidRadius ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1938 of file DBPixelGeoManager.cxx.

1939 {
1940  // int index = PixelStaveIndex(m_currentLD);
1941  int index=0;
1942  if (db()->testField(m_PixelIBLStave,"OMEGAMIDRADIUS",index)) {
1943  double value = db()->getDouble(m_PixelIBLStave,"OMEGAMIDRADIUS",index) * Gaudi::Units::mm;
1944  return value ;
1945  }
1946  return 0.0;
1947 }

◆ IBLStaveOmegaThickness()

double DBPixelGeoManager::IBLStaveOmegaThickness ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1875 of file DBPixelGeoManager.cxx.

1876 {
1877  // int index = PixelStaveIndex(m_currentLD);
1878  int index=0;
1879  if (db()->testField(m_PixelIBLStave,"OMEGATHICK",index)) {
1880  double value = db()->getDouble(m_PixelIBLStave,"OMEGATHICK",index) * Gaudi::Units::mm;
1881  return value ;
1882  }
1883  return 0.0;
1884 }

◆ IBLStaveRadius()

double DBPixelGeoManager::IBLStaveRadius ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1666 of file DBPixelGeoManager.cxx.

1667 {
1668  // set layer to 0 (in order to read read IBL data)
1669  int currentLD_tmp = m_currentLD;
1670  m_currentLD = 0;
1671 
1672  // Point that defines the center of the cooling pipe
1673  GeoTrf::Vector3D centerCoolingPipe_inv = -IBLStaveRotationAxis();
1674  GeoTrf::Vector3D origin(0.,0.,0.);
1675  double layerRadius = PixelLayerRadius();
1676  double ladderTilt = PixelLadderTilt();
1677 
1678  // Transforms
1679  GeoTrf::Transform3D staveTrf = GeoTrf::RotateZ3D(ladderTilt)*GeoTrf::Translate3D(centerCoolingPipe_inv.x(),centerCoolingPipe_inv.y(),centerCoolingPipe_inv.z());
1680  GeoTrf::Vector3D sensorPos = staveTrf*origin;
1681 
1682  double yPos = sensorPos.y();
1683  GeoTrf::Vector3D sensorPos_layer(sqrt(layerRadius*layerRadius-yPos*yPos),yPos,0.);
1684 
1685  double staveRadius = sensorPos_layer.x()-sensorPos.x();
1686 
1687  m_currentLD = currentLD_tmp;
1688  return staveRadius;
1689 }

◆ IBLStaveRotationAxis()

GeoTrf::Vector3D DBPixelGeoManager::IBLStaveRotationAxis ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1645 of file DBPixelGeoManager.cxx.

1646 {
1647  // set layer to 0 (in order to read read IBL data)
1648  int currentLD_tmp = m_currentLD;
1649  m_currentLD = 0;
1650 
1651  double boardThick = PixelBoardThickness();
1652  double chipThick = PixelChipThickness();
1653  double chipGap = PixelChipGap();
1654 
1655  double xCenterCoolingPipe = boardThick*.5+chipThick+chipGap+ // from sensor sensor to plate
1656  IBLStaveFacePlateThickness() + IBLStaveFacePlateGreaseThickness() + // plate thickness (grease + plate)
1657  IBLStaveTubeMiddlePos(); // from plate to colling pipe center
1658  double yCenterCoolingPipe = IBLStaveMechanicalStaveOffset();
1659  GeoTrf::Vector3D centerCoolingPipe(xCenterCoolingPipe, yCenterCoolingPipe, 0.);
1660 
1661  m_currentLD = currentLD_tmp;
1662  return centerCoolingPipe;
1663 }

◆ IBLStaveTubeGlueThickness()

double DBPixelGeoManager::IBLStaveTubeGlueThickness ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2028 of file DBPixelGeoManager.cxx.

2029 {
2030  // try and catch (param availbale only if db tag > IBL-03-00-00)
2031  try{
2032  int index=0;
2033  if (db()->testField(m_PixelIBLGlueGrease,"TUBEGLUETHICK",index)) {
2034  double value = db()->getDouble(m_PixelIBLGlueGrease,"TUBEGLUETHICK",index) * Gaudi::Units::mm;
2035  return value ;
2036  }
2037  return 0.;
2038  }
2039  catch(...) {}
2040  return 0.;
2041 }

◆ IBLStaveTubeInnerDiameter()

double DBPixelGeoManager::IBLStaveTubeInnerDiameter ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1808 of file DBPixelGeoManager.cxx.

1809 {
1810  // int index = PixelStaveIndex(m_currentLD);
1811  int index=0;
1812  if (db()->testField(m_PixelIBLStave,"TUBEINNERDIAM",index)) {
1813  double value = db()->getDouble(m_PixelIBLStave,"TUBEINNERDIAM",index) * Gaudi::Units::mm;
1814  if (value > 0) return value ;
1815  }
1816  return 0.0;
1817 }

◆ IBLStaveTubeMiddlePos()

double DBPixelGeoManager::IBLStaveTubeMiddlePos ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1819 of file DBPixelGeoManager.cxx.

1820 {
1821  // int index = PixelStaveIndex(m_currentLD);
1822  int index=0;
1823  if (db()->testField(m_PixelIBLStave,"TUBEMIDDLEPOS",index)) {
1824  double value = db()->getDouble(m_PixelIBLStave,"TUBEMIDDLEPOS",index) * Gaudi::Units::mm;
1825  return value ;
1826  }
1827  return 0.0;
1828 }

◆ IBLStaveTubeOuterDiameter()

double DBPixelGeoManager::IBLStaveTubeOuterDiameter ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1797 of file DBPixelGeoManager.cxx.

1798 {
1799  // int index = PixelStaveIndex(m_currentLD);
1800  int index=0;
1801  if (db()->testField(m_PixelIBLStave,"TUBEOUTERDIAM",index)) {
1802  double value = db()->getDouble(m_PixelIBLStave,"TUBEOUTERDIAM",index) * Gaudi::Units::mm;
1803  if (value > 0) return value ;
1804  }
1805  return 0.0;
1806 }

◆ IBLSupportMechanicalStaveRingFixPoint()

double DBPixelGeoManager::IBLSupportMechanicalStaveRingFixPoint ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2093 of file DBPixelGeoManager.cxx.

2094 {
2095  // int index = PixelStaveIndex(m_currentLD);
2096  int index=0;
2097  if (db()->testField(m_PixelIBLSupport,"STAVERINGFIXINGPOS",index)) {
2098  double value = db()->getDouble(m_PixelIBLSupport,"STAVERINGFIXINGPOS",index) * Gaudi::Units::mm;
2099  if (value > 0) return value ;
2100  }
2101  return 0.0;
2102 }

◆ IBLSupportMidRingInnerRadius()

double DBPixelGeoManager::IBLSupportMidRingInnerRadius ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2115 of file DBPixelGeoManager.cxx.

2116 {
2117  // int index = PixelStaveIndex(m_currentLD);
2118  int index=0;
2119  if (db()->testField(m_PixelIBLSupport,"STAVEMIDRINGINNERRADIUS",index)) {
2120  double value = db()->getDouble(m_PixelIBLSupport,"STAVEMIDRINGINNERRADIUS",index) * Gaudi::Units::mm;
2121  if (value > 0) return value;
2122  }
2123  return 0.0;
2124 }

◆ IBLSupportMidRingOuterRadius()

double DBPixelGeoManager::IBLSupportMidRingOuterRadius ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2126 of file DBPixelGeoManager.cxx.

2127 {
2128  // int index = PixelStaveIndex(m_currentLD);
2129  int index=0;
2130  if (db()->testField(m_PixelIBLSupport,"STAVEMIDRINGOUTERRADIUS",index)) {
2131  double value = db()->getDouble(m_PixelIBLSupport,"STAVEMIDRINGOUTERRADIUS",index) * Gaudi::Units::mm;
2132  if (value > 0) return value ;
2133  }
2134  return 0.0;
2135 }

◆ IBLSupportMidRingWidth()

double DBPixelGeoManager::IBLSupportMidRingWidth ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2104 of file DBPixelGeoManager.cxx.

2105 {
2106  // int index = PixelStaveIndex(m_currentLD);
2107  int index=0;
2108  if (db()->testField(m_PixelIBLSupport,"STAVEMIDRINGWIDTH",index)) {
2109  double value = db()->getDouble(m_PixelIBLSupport,"STAVEMIDRINGWIDTH",index) * Gaudi::Units::mm;
2110  if (value > 0) return value ;
2111  }
2112  return 0.0;
2113 }

◆ IBLSupportRingInnerRadius()

double DBPixelGeoManager::IBLSupportRingInnerRadius ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2070 of file DBPixelGeoManager.cxx.

2071 {
2072  // int index = PixelStaveIndex(m_currentLD);
2073  int index=0;
2074  if (db()->testField(m_PixelIBLSupport,"STAVERINGINNERRADIUS",index)) {
2075  double value = db()->getDouble(m_PixelIBLSupport,"STAVERINGINNERRADIUS",index) * Gaudi::Units::mm;
2076  if (value > 0) return value ;
2077  }
2078  return 0.0;
2079 }

◆ IBLSupportRingOuterRadius()

double DBPixelGeoManager::IBLSupportRingOuterRadius ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2081 of file DBPixelGeoManager.cxx.

2082 {
2083  // int index = PixelStaveIndex(m_currentLD);
2084  int index=0;
2085  if (db()->testField(m_PixelIBLSupport,"STAVERINGOUTERRADIUS",index)) {
2086  double value = db()->getDouble(m_PixelIBLSupport,"STAVERINGOUTERRADIUS",index) * Gaudi::Units::mm;
2087  if (value > 0) return value ;
2088  }
2089  return 0.0;
2090 }

◆ IBLSupportRingWidth()

double DBPixelGeoManager::IBLSupportRingWidth ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2059 of file DBPixelGeoManager.cxx.

2060 {
2061  // int index = PixelStaveIndex(m_currentLD);
2062  int index=0;
2063  if (db()->testField(m_PixelIBLSupport,"STAVERINGWIDTH",index)) {
2064  double value = db()->getDouble(m_PixelIBLSupport,"STAVERINGWIDTH",index) * Gaudi::Units::mm;
2065  if (value > 0) return value ;
2066  }
2067  return 0.0;
2068 }

◆ init()

void DBPixelGeoManager::init ( )

Definition at line 76 of file DBPixelGeoManager.cxx.

77 {
78  if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) << "Using ORACLE PIXEL GEOMETRY MANAGER" << endmsg;
79 
80  IRDBAccessSvc *rdbSvc = athenaComps()->rdbAccessSvc();
81  const IGeoDbTagSvc *geoDbTag = athenaComps()->geoDbTagSvc();
82 
83  // Get version tag and node for Pixel.
84  DecodeVersionKey versionKey(geoDbTag,"Pixel");
85  const std::string& detectorKey = versionKey.tag();
86  const std::string& detectorNode = versionKey.node();
87 
88  // Get version tag and node for InnerDetector.
89  DecodeVersionKey indetVersionKey(geoDbTag,"InnerDetector");
90 
91  if(geoDbTag->getParamSvcName().starts_with("RDB"))
92  m_versionTag = rdbSvc->getChildTag("Pixel", versionKey.tag(), versionKey.node());
93 
95 //
96 // Gets the structures from the det store
97 //
99 
100  if(msgLvl(MSG::INFO)) {
101  msg(MSG::INFO) << "Retrieving Record Sets from database ..." << endmsg;
102  msg(MSG::INFO) << "Key = " << detectorKey << " Node = " << detectorNode << endmsg;
103  }
104 
105  //atls = rdbSvc->getRecordset("AtlasMother",geoModel->atlasVersion(), "ATLAS");
106  m_PixelSwitches = rdbSvc->getRecordsetPtr("PixelSwitches", detectorKey, detectorNode);
107  m_PixelBarrelGeneral = rdbSvc->getRecordsetPtr("PixelBarrelGeneral", detectorKey, detectorNode);
108  m_PixelBarrelService = rdbSvc->getRecordsetPtr("PixelBarrelService", detectorKey, detectorNode);
109  m_PixelCommon = rdbSvc->getRecordsetPtr("PixelCommon", detectorKey, detectorNode);
110  m_PixelEnvelope = rdbSvc->getRecordsetPtr("PixelEnvelope", detectorKey, detectorNode);
111  m_PixelDisk = rdbSvc->getRecordsetPtr("PixelDisk", detectorKey, detectorNode);
112  m_PixelDiskRing = rdbSvc->getRecordsetPtr("PixelDiskRing", detectorKey, detectorNode);
113  m_PixelRing = rdbSvc->getRecordsetPtr("PixelRing", detectorKey, detectorNode);
114  m_PixelEndcapGeneral = rdbSvc->getRecordsetPtr("PixelEndcapGeneral", detectorKey, detectorNode);
115  m_PixelEndcapService = rdbSvc->getRecordsetPtr("PixelEndcapService", detectorKey, detectorNode);
116  m_PixelEnvelopeService = rdbSvc->getRecordsetPtr("PixelEnvelopeService", detectorKey, detectorNode);
117  m_PixelLayer = rdbSvc->getRecordsetPtr("PixelLayer", detectorKey, detectorNode);
118  m_PixelModule = rdbSvc->getRecordsetPtr("PixelModule", detectorKey, detectorNode);
119  m_PixelModuleSvc = rdbSvc->getRecordsetPtr("PixelModuleSvc", detectorKey, detectorNode);
120  m_PixelStave = rdbSvc->getRecordsetPtr("PixelStave", detectorKey, detectorNode);
121  m_PixelStaveZ = rdbSvc->getRecordsetPtr("PixelStaveZ", detectorKey, detectorNode);
122  m_PixelTopLevel = rdbSvc->getRecordsetPtr("PixelTopLevel", detectorKey, detectorNode);
123  m_PixelReadout = rdbSvc->getRecordsetPtr("PixelReadout", detectorKey, detectorNode);
124  m_PixelGangedPixels = rdbSvc->getRecordsetPtr("GangedPixels", detectorKey, detectorNode);
125  m_PixelBarrelCable = rdbSvc->getRecordsetPtr("PixelBarrelCable", detectorKey, detectorNode);
126  m_PixelTMT = rdbSvc->getRecordsetPtr("PixelTMT", detectorKey, detectorNode);
127  m_PixelOmega = rdbSvc->getRecordsetPtr("PixelOmega", detectorKey, detectorNode);
128  m_PixelOmegaGlue = rdbSvc->getRecordsetPtr("PixelOmegaGlue", detectorKey, detectorNode);
129  m_PixelAlTube = rdbSvc->getRecordsetPtr("PixelAlTube", detectorKey, detectorNode);
130  m_PixelFluid = rdbSvc->getRecordsetPtr("PixelFluid", detectorKey, detectorNode);
131  m_PixelConnector = rdbSvc->getRecordsetPtr("PixelConnector", detectorKey, detectorNode);
132  m_PixelPigtail = rdbSvc->getRecordsetPtr("PixelPigtail", detectorKey, detectorNode);
133  m_PixelSimpleService = rdbSvc->getRecordsetPtr("PixelSimpleService", detectorKey, detectorNode);
134  m_PixelFrame = rdbSvc->getRecordsetPtr("PixelFrame", detectorKey, detectorNode);
135  m_PixelFrameSect = rdbSvc->getRecordsetPtr("PixelFrameSect", detectorKey, detectorNode);
136  m_PixelIBLStave = rdbSvc->getRecordsetPtr("PixelIBLStave" , detectorKey, detectorNode);
137  m_PixelIBLSupport = rdbSvc->getRecordsetPtr("PixelIBLSupport", detectorKey, detectorNode);
138  m_PixelIBLFlex = rdbSvc->getRecordsetPtr("PixelIBLFlex", detectorKey, detectorNode);
139  m_PixelIBLFlexMaterial = rdbSvc->getRecordsetPtr("PixelIBLFlexMaterial", detectorKey, detectorNode);
140  m_PixelIBLGlueGrease = rdbSvc->getRecordsetPtr("PixelIBLGlueGrease", detectorKey, detectorNode);
141  m_PixelConicalStave = rdbSvc->getRecordsetPtr("PixelConicalStave", detectorKey, detectorNode);
142 
143  // Weights table
144  m_weightTable = rdbSvc->getRecordsetPtr("PixelWeights", detectorKey, detectorNode);
145 
146  // Extra Scaling table. This is used for extra material studies. For nominal material the table should be empty.
147  // NB this is at InnerDetector level node.
148  m_scalingTable = rdbSvc->getRecordsetPtr("PixelMatScaling", indetVersionKey.tag(), indetVersionKey.node());
149 
150  // MaterialMap
151  m_materialTable = rdbSvc->getRecordsetPtr("PixelMaterialMap", detectorKey, detectorNode);
152 
153  // Pixel stave types
154  m_staveTypeTable = rdbSvc->getRecordsetPtr("PixelStaveType", detectorKey, detectorNode);
155 
156  // DBM
157  m_DBMTelescope = rdbSvc->getRecordsetPtr("DBMTelescope", detectorKey, detectorNode);
158  m_DBMBracket = rdbSvc->getRecordsetPtr("DBMBracket", detectorKey, detectorNode);
159  m_DBMCage = rdbSvc->getRecordsetPtr("DBMCage", detectorKey, detectorNode);
160  m_DBMModule = rdbSvc->getRecordsetPtr("DBMModule", detectorKey, detectorNode);
161  m_dbmWeightTable = rdbSvc->getRecordsetPtr("DBMMaterials", detectorKey, detectorNode);
162 
164 
165  if(msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) << "Database version number: " << m_dbVersion << endmsg;
166 
167  if (m_dbVersion < 4) {
168  m_legacyManager = new PixelLegacyManager(rdbSvc, detectorKey, detectorNode);
169  }
170 
171  if(msgLvl(MSG::INFO)) msg(MSG::INFO) << "... Record Sets retrieved." << endmsg;
172 
174 
175  // Set default lenth unit to Gaudi::Units::mm for newer version and Gaudi::Units::cm for older versions
177 
178  // Get the top level placements
180 
181  // If all individual pieces are not present, then actually all are present.
182  m_allPartsPresent = (!m_placements->present("Barrel") && !m_placements->present("EndcapA") && !m_placements->present("EndcapC"));
183 
184  // cache the number of inner frames
185  if (m_dbVersion < 3) {
186  m_barrelInFrames = (*m_PixelBarrelGeneral)[0]->getInt("NFRAMEIN");
187  m_endcapInFrames = (*m_PixelEndcapGeneral)[0]->getInt("NFRAMEIN");
188  } else {
189  m_barrelInFrames = 0;
190  m_endcapInFrames = 0;
191  }
192 
193  //
194  // Get the InDet material manager. This is a wrapper around the geomodel one with some extra functionality to deal
195  // with weights table if it exists
196 
197  m_pMatMgr = new InDetMaterialManager("PixelMaterialManager", athenaComps());
200 
201  // add the DBM weight table
203 
204  // Create material map
206  if (m_materialTable->size() == 0) addDefaultMaterials();
207 
208  // Create stave type map
210 
211 
212  //
213  // Print the version number for the barrel and endcap geometry
214  //
215  //cout << "Instantiating Pixel Detector" << endl;
216  //cout << "Barrel Version " << this->PixelBarrelMajorVersion() << "." << this->PixelBarrelMinorVersion() << endl;
217  //cout << "Endcap Version " << this->PixelEndcapMajorVersion() << "." << this->PixelEndcapMinorVersion() << endl;
218 }

◆ InitialLayout()

bool DBPixelGeoManager::InitialLayout ( ) const
overridevirtual

Implements PixelGeometryManager.

Definition at line 393 of file DBPixelGeoManager.cxx.

393  {
394  return m_initialLayout;
395 }

◆ isAside()

virtual bool DBPixelGeoManager::isAside ( )
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 270 of file DBPixelGeoManager.h.

270 {return m_side>0;}

◆ isBarrel()

bool DBPixelGeoManager::isBarrel ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 375 of file DBPixelGeoManager.cxx.

375  {
376  return m_BarrelEndcap == 0;
377 }

◆ isCside()

virtual bool DBPixelGeoManager::isCside ( )
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 271 of file DBPixelGeoManager.h.

271 {return m_side<0;}

◆ isDBM()

bool DBPixelGeoManager::isDBM ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 382 of file DBPixelGeoManager.cxx.

382  {
383  return m_BarrelEndcap == 2;
384 }

◆ isDiskBack()

virtual bool DBPixelGeoManager::isDiskBack ( ) const
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 275 of file DBPixelGeoManager.h.

275 { return m_diskFrontBack & 0x8; }

◆ isDiskFront()

virtual bool DBPixelGeoManager::isDiskFront ( ) const
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 274 of file DBPixelGeoManager.h.

274 { return m_diskFrontBack & 0x4; }

◆ isEndcap()

bool DBPixelGeoManager::isEndcap ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 378 of file DBPixelGeoManager.cxx.

378  {
379  return m_BarrelEndcap == 1;
380  return false;
381 }

◆ isInnermostPixelLayer()

bool DBPixelGeoManager::isInnermostPixelLayer ( )
inline

Definition at line 277 of file DBPixelGeoManager.h.

277 {return (isBarrel() && m_currentLD == 0);}

◆ isLDPresent()

bool DBPixelGeoManager::isLDPresent ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 354 of file DBPixelGeoManager.cxx.

354  {
355  if(isBarrel()) {
356  if (m_initialLayout && m_currentLD == 1) return false;
357  std::ostringstream A;
358  A << "_" << m_currentLD;
359  // More than 3 layers not yet supported in database so
360  // if not present in text file assume using this layer
361  return db()->getInt(m_PixelBarrelGeneral,"USELAYER"+A.str());
362  }
363  if(isEndcap() ) {
364  if (m_initialLayout && m_currentLD == 1) return false;
365  std::ostringstream A;
366  A << "_" << m_currentLD;
367  // More than 3 disks not yet supported in database so
368  // if not present in text file assume using this disks
369  return db()->getInt(m_PixelEndcapGeneral,"USEDISK"+A.str());
370  }
371  return false;
372 }

◆ legacyManager()

PixelLegacyManager * DBPixelGeoManager::legacyManager ( )
overridevirtual

Reimplemented from PixelGeometryManager.

Definition at line 225 of file DBPixelGeoManager.cxx.

226 {
227  return m_legacyManager;
228 }

◆ makeFrameIndexMap()

void DBPixelGeoManager::makeFrameIndexMap ( )

Definition at line 1403 of file DBPixelGeoManager.cxx.

1404 {
1405  if (!m_frameElementMap) {
1406  m_frameElementMap = new std::map<int,std::vector<int> >;
1407  for (unsigned int i = 0; i < db()->getTableSize(m_PixelFrameSect); ++i) {
1408  int section = db()->getInt(m_PixelFrameSect,"SECTION",i);
1409  (*m_frameElementMap)[section].push_back(i);
1410  }
1411  }
1412 }

◆ mmcm()

double DBPixelGeoManager::mmcm ( )
inlineprivate

Definition at line 810 of file DBPixelGeoManager.h.

810 {return m_defaultLengthUnit;}

◆ moduleType()

int DBPixelGeoManager::moduleType ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 443 of file DBPixelGeoManager.cxx.

444 {
445  int type = 0;
446  if (ibl()) {
447  if (isBarrel()) {
448  type = db()->getInt(m_PixelLayer,"MODULETYPE",m_currentLD);
449  }
450  } else {
451  if(isBarrel()) type = m_currentLD;
453  }
454  return type;
455 }

◆ moduleType3D()

int DBPixelGeoManager::moduleType3D ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 457 of file DBPixelGeoManager.cxx.

458 {
459  int type = -1;
460  if (!isBarrel()||m_currentLD>0) return type;
461 
462  if (ibl()) {
463  try {
464  type = db()->getInt(m_PixelLayer,"MODULETYPE3D",m_currentLD);
465  return type;
466  }
467  catch(...)
468  {
469  return moduleType()+1;
470  }
471  }
472 
473  return type;
474 }

◆ msg()

MsgStream& PixelGeometryManager::msg ( MSG::Level  lvl) const
inlineinherited

Definition at line 611 of file PixelGeometryManager.h.

611 { return m_athenaComps->msg(lvl); }

◆ msgLvl()

bool PixelGeometryManager::msgLvl ( MSG::Level  lvl) const
inlineinherited

Definition at line 614 of file PixelGeometryManager.h.

614 { return m_athenaComps->msgLvl(lvl); }

◆ NPixelSectors()

int DBPixelGeoManager::NPixelSectors ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2398 of file DBPixelGeoManager.cxx.

2399 {
2400  return db()->getInt(m_PixelLayer,"NSECTORS",m_currentLD);
2401 }

◆ NumberOfEmptyRows()

int DBPixelGeoManager::NumberOfEmptyRows ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3268 of file DBPixelGeoManager.cxx.

3269 {
3270  return DesignNumEmptyRowsInGap(isModule3D);
3271 }

◆ oldFrame()

bool DBPixelGeoManager::oldFrame ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1330 of file DBPixelGeoManager.cxx.

1331 {
1332  if (useLegacy()) return m_legacyManager->oldFrame();
1333  return false;
1334 }

◆ partPresent()

bool DBPixelGeoManager::partPresent ( const std::string &  partName) const
overridevirtual

Implements PixelGeometryManager.

Definition at line 282 of file DBPixelGeoManager.cxx.

283 {
284  // First check if overridden from text file.
285  if (partName == "Barrel") {
286  if (db()->testField("PixelCommon","DOBARREL")) {
287  return db()->getInt("PixelCommon","DOBARREL");
288  }
289  } else if (partName == "EndcapA" || partName == "EndcapC") {
290  if (db()->testField("PixelCommon","DOENDCAPS")) {
291  return db()->getInt("PixelCommon","DOENDCAPS");
292  }
293  }
294  // otherwise check database.
295  return (m_allPartsPresent || m_placements->present(partName));
296 }

◆ partTransform()

const GeoTrf::Transform3D & DBPixelGeoManager::partTransform ( const std::string &  partName) const
overridevirtual

Implements PixelGeometryManager.

Definition at line 275 of file DBPixelGeoManager.cxx.

276 {
277  return m_placements->transform(partName);
278 }

◆ Phi()

virtual int DBPixelGeoManager::Phi ( )
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 246 of file DBPixelGeoManager.h.

246 {return m_phi;}

◆ PhiOfModuleZero()

double DBPixelGeoManager::PhiOfModuleZero ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2403 of file DBPixelGeoManager.cxx.

2404 {
2405  // For backward compatibilty first module is at 1/2 a module division
2406  if (!db()->testField(m_PixelLayer,"PHIOFMODULEZERO",m_currentLD)){
2407  if(NPixelSectors()>0) return 180.0*Gaudi::Units::degree/NPixelSectors();
2408  return 0.;
2409  } else {
2410  return db()->getDouble(m_PixelLayer,"PHIOFMODULEZERO",m_currentLD) * Gaudi::Units::degree;
2411  }
2412 }

◆ PixelAlTubeLength()

double DBPixelGeoManager::PixelAlTubeLength ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2791 of file DBPixelGeoManager.cxx.

2792 {
2793  if (useLegacy()) return m_legacyManager->PixelAlTubeLength();
2794  return db()->getDouble(m_PixelAlTube,"LENGTH") * Gaudi::Units::mm;
2795 }

◆ PixelAlTubeLowerBendRadius()

double DBPixelGeoManager::PixelAlTubeLowerBendRadius ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2779 of file DBPixelGeoManager.cxx.

2780 {
2782  return db()->getDouble(m_PixelAlTube,"LOWERBENDR") * Gaudi::Units::mm;
2783 }

◆ PixelAlTubeLowerBendX()

double DBPixelGeoManager::PixelAlTubeLowerBendX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2767 of file DBPixelGeoManager.cxx.

2768 {
2770  return db()->getDouble(m_PixelAlTube,"LOWERBENDX") * Gaudi::Units::mm;
2771 }

◆ PixelAlTubeLowerBendY()

double DBPixelGeoManager::PixelAlTubeLowerBendY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2773 of file DBPixelGeoManager.cxx.

2774 {
2776  return db()->getDouble(m_PixelAlTube,"LOWERBENDY") * Gaudi::Units::mm;
2777 }

◆ PixelAlTubeUpperBendRadius()

double DBPixelGeoManager::PixelAlTubeUpperBendRadius ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2761 of file DBPixelGeoManager.cxx.

2762 {
2764  return db()->getDouble(m_PixelAlTube,"UPPERBENDR") * Gaudi::Units::mm;
2765 }

◆ PixelAlTubeUpperBendX()

double DBPixelGeoManager::PixelAlTubeUpperBendX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2749 of file DBPixelGeoManager.cxx.

2750 {
2752  return db()->getDouble(m_PixelAlTube,"UPPERBENDX") * Gaudi::Units::mm;
2753 }

◆ PixelAlTubeUpperBendY()

double DBPixelGeoManager::PixelAlTubeUpperBendY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2755 of file DBPixelGeoManager.cxx.

2756 {
2758  return db()->getDouble(m_PixelAlTube,"UPPERBENDY") * Gaudi::Units::mm;
2759 }

◆ PixelAlTubeWallThickness()

double DBPixelGeoManager::PixelAlTubeWallThickness ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2785 of file DBPixelGeoManager.cxx.

2786 {
2788  return db()->getDouble(m_PixelAlTube,"THICK") * Gaudi::Units::mm;
2789 }

◆ PixelBarrelHalfLength()

double DBPixelGeoManager::PixelBarrelHalfLength ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1324 of file DBPixelGeoManager.cxx.

1325 {
1326  return db()->getDouble(m_PixelBarrelGeneral,"HALFLENGTH")*mmcm();
1327 }

◆ PixelBarrelMajorVersion()

int DBPixelGeoManager::PixelBarrelMajorVersion ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1191 of file DBPixelGeoManager.cxx.

1192 {
1193  return static_cast<int>((*m_PixelBarrelGeneral)[0]->getDouble("VERSION"));
1194 }

◆ PixelBarrelMinorVersion()

int DBPixelGeoManager::PixelBarrelMinorVersion ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1196 of file DBPixelGeoManager.cxx.

1197 {
1198  return static_cast<int>(((*m_PixelBarrelGeneral)[0]->getDouble("VERSION") - PixelBarrelMajorVersion())*10 + 0.5);
1199 }

◆ PixelBarrelNLayer()

int DBPixelGeoManager::PixelBarrelNLayer ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1308 of file DBPixelGeoManager.cxx.

1309 {
1310  return db()->getInt(m_PixelBarrelGeneral,"NLAYER");
1311 }

◆ PixelBarrelRMax()

double DBPixelGeoManager::PixelBarrelRMax ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1319 of file DBPixelGeoManager.cxx.

1320 {
1321  return db()->getDouble(m_PixelBarrelGeneral,"RMAX")*mmcm();
1322 }

◆ PixelBarrelRMin()

double DBPixelGeoManager::PixelBarrelRMin ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1314 of file DBPixelGeoManager.cxx.

1315 {
1316  return db()->getDouble(m_PixelBarrelGeneral,"RMIN")*mmcm();
1317 }

◆ PixelBentStaveNModule()

int DBPixelGeoManager::PixelBentStaveNModule ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1618 of file DBPixelGeoManager.cxx.

1619 {
1620  if (!db()->testFieldTxt(m_PixelConicalStave,"BENTSTAVENMODULE")) return 0;
1622  return db()->getInt(m_PixelConicalStave,"BENTSTAVENMODULE",index);
1623 }

◆ PixelBiStaveType()

int DBPixelGeoManager::PixelBiStaveType ( int  layer,
int  phi 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2392 of file DBPixelGeoManager.cxx.

2393 {
2394  if (m_staveTypeTable->size() == 0) return phi % 2;
2395  return m_pixelStaveTypes->getBiStaveType(layer, phi) % 2;
2396 }

◆ PixelBoardActiveLength()

double DBPixelGeoManager::PixelBoardActiveLength ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 511 of file DBPixelGeoManager.cxx.

512 {
513  return DesignZActiveArea(isModule3D);
514 }

◆ PixelBoardLength()

double DBPixelGeoManager::PixelBoardLength ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 492 of file DBPixelGeoManager.cxx.

493 {
494  if(ibl()&&isModule3D)
495  return db()->getDouble(m_PixelModule,"BOARDLENGTH",moduleType3D())*mmcm();
496 
497  return db()->getDouble(m_PixelModule,"BOARDLENGTH",moduleType())*mmcm();
498 }

◆ PixelBoardThickness()

double DBPixelGeoManager::PixelBoardThickness ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 500 of file DBPixelGeoManager.cxx.

501 {
502  if (m_dc1Geometry && isBarrel() && (m_currentLD == 0)) {
503  return 200*Gaudi::Units::micrometer;
504  }
505 
506  if(ibl()&&isModule3D)
507  return db()->getDouble(m_PixelModule,"BOARDTHICK",moduleType3D())*mmcm();
508  return db()->getDouble(m_PixelModule,"BOARDTHICK",moduleType())*mmcm();
509 }

◆ PixelBoardWidth()

double DBPixelGeoManager::PixelBoardWidth ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 483 of file DBPixelGeoManager.cxx.

484 {
485  if(ibl()&&isModule3D){
486  return db()->getDouble(m_PixelModule,"BOARDWIDTH",moduleType3D())*mmcm();
487  }
488 
489  return db()->getDouble(m_PixelModule,"BOARDWIDTH",moduleType())*mmcm();
490 }

◆ PixelCableBiStaveNum()

int DBPixelGeoManager::PixelCableBiStaveNum ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1072 of file DBPixelGeoManager.cxx.

1073 {
1074  if (dbVersion() < 3) return 0;
1075  return db()->getInt(m_PixelBarrelCable,"BISTAVE",index);
1076 }

◆ PixelCableElements()

int DBPixelGeoManager::PixelCableElements ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1058 of file DBPixelGeoManager.cxx.

1059 {
1060  if (dbVersion() < 3) return m_legacyManager->PixelCableElements();
1061  return db()->getTableSize(m_PixelBarrelCable);
1062 }

◆ PixelCableLabel()

std::string DBPixelGeoManager::PixelCableLabel ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1122 of file DBPixelGeoManager.cxx.

1123 {
1124  if (dbVersion() < 3) return m_legacyManager->PixelCableLabel(index);
1125  return db()->getString(m_PixelBarrelCable,"LABEL",index);
1126 }

◆ PixelCableLayerNum()

int DBPixelGeoManager::PixelCableLayerNum ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1065 of file DBPixelGeoManager.cxx.

1066 {
1067  if (dbVersion() < 3) return 0;
1068  return db()->getInt(m_PixelBarrelCable,"LAYER",index);
1069 }

◆ PixelCableStackOffset()

double DBPixelGeoManager::PixelCableStackOffset ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1108 of file DBPixelGeoManager.cxx.

1109 {
1111  return db()->getDouble(m_PixelBarrelCable,"STACKPOS",index) * Gaudi::Units::mm;
1112 }

◆ PixelCableThickness()

double DBPixelGeoManager::PixelCableThickness ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1101 of file DBPixelGeoManager.cxx.

1102 {
1103  if (dbVersion() < 3) return m_legacyManager->PixelCableThickness(index);
1104  return db()->getDouble(m_PixelBarrelCable,"THICK",index) * Gaudi::Units::mm;
1105 }

◆ PixelCableWeight()

double DBPixelGeoManager::PixelCableWeight ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1115 of file DBPixelGeoManager.cxx.

1116 {
1117  if (dbVersion() < 3) return 0;
1119 }

◆ PixelCableWidth()

double DBPixelGeoManager::PixelCableWidth ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1094 of file DBPixelGeoManager.cxx.

1095 {
1096  if (dbVersion() < 3) return m_legacyManager->PixelCableWidth(index);
1097  return db()->getDouble(m_PixelBarrelCable,"WIDTH",index) * Gaudi::Units::mm;
1098 }

◆ PixelCableZEnd()

double DBPixelGeoManager::PixelCableZEnd ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1087 of file DBPixelGeoManager.cxx.

1088 {
1089  if (dbVersion() < 3) return m_legacyManager->PixelCableZEnd(index);
1091 }

◆ PixelCableZStart()

double DBPixelGeoManager::PixelCableZStart ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1080 of file DBPixelGeoManager.cxx.

1081 {
1082  if (dbVersion() < 3) return m_legacyManager->PixelCableZStart(index);
1083  return db()->getDouble(m_PixelBarrelCable,"ZSTART",index) * Gaudi::Units::mm;
1084 }

◆ PixelChipGap()

double DBPixelGeoManager::PixelChipGap ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 568 of file DBPixelGeoManager.cxx.

569 {
570  if(ibl()&&isModule3D)
571  return db()->getDouble(m_PixelModule,"CHIPGAP",moduleType3D())*mmcm();
572 
573  return db()->getDouble(m_PixelModule,"CHIPGAP",moduleType())*mmcm();
574 }

◆ PixelChipLength()

double DBPixelGeoManager::PixelChipLength ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 560 of file DBPixelGeoManager.cxx.

561 {
562  if(ibl()&&isModule3D)
563  return db()->getDouble(m_PixelModule,"CHIPLENGTH",moduleType3D())*mmcm();
564 
565  return db()->getDouble(m_PixelModule,"CHIPLENGTH",moduleType())*mmcm();
566 }

◆ PixelChipOffset()

double DBPixelGeoManager::PixelChipOffset ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 576 of file DBPixelGeoManager.cxx.

577 {
578  if(!ibl()||GetLD()!=0||!isBarrel()||!(db()->testField(m_PixelModule,"CHIPOFFSET"))){
579  return 0.;
580  }
581 
582  if(isModule3D)
583  return db()->getDouble(m_PixelModule,"CHIPOFFSET",moduleType3D())*mmcm();
584 
585  return db()->getDouble(m_PixelModule,"CHIPOFFSET",moduleType())*mmcm();
586 }

◆ PixelChipThickness()

double DBPixelGeoManager::PixelChipThickness ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 588 of file DBPixelGeoManager.cxx.

588  {
589  if(ibl()&&isModule3D)
590  return db()->getDouble(m_PixelModule,"CHIPTHICK",moduleType3D())*mmcm();
591 
592  return db()->getDouble(m_PixelModule,"CHIPTHICK",moduleType())*mmcm();
593 }

◆ PixelChipWidth()

double DBPixelGeoManager::PixelChipWidth ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 552 of file DBPixelGeoManager.cxx.

553 {
554  if(ibl()&&isModule3D)
555  return db()->getDouble(m_PixelModule,"CHIPWIDTH",moduleType3D())*mmcm();
556 
557  return db()->getDouble(m_PixelModule,"CHIPWIDTH",moduleType())*mmcm();
558 }

◆ PixelConnectorPosX()

double DBPixelGeoManager::PixelConnectorPosX ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3049 of file DBPixelGeoManager.cxx.

3050 {
3053 }

◆ PixelConnectorPosY()

double DBPixelGeoManager::PixelConnectorPosY ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3055 of file DBPixelGeoManager.cxx.

3056 {
3059 }

◆ PixelConnectorPosZ()

double DBPixelGeoManager::PixelConnectorPosZ ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3061 of file DBPixelGeoManager.cxx.

3062 {
3065 }

◆ PixelConnectorWidthX()

double DBPixelGeoManager::PixelConnectorWidthX ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3031 of file DBPixelGeoManager.cxx.

3032 {
3034  return db()->getDouble(m_PixelConnector,"WIDTHX",index) * Gaudi::Units::mm;
3035 }

◆ PixelConnectorWidthY()

double DBPixelGeoManager::PixelConnectorWidthY ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3037 of file DBPixelGeoManager.cxx.

3038 {
3040  return db()->getDouble(m_PixelConnector,"WIDTHY",index) * Gaudi::Units::mm;
3041 }

◆ PixelConnectorWidthZ()

double DBPixelGeoManager::PixelConnectorWidthZ ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3043 of file DBPixelGeoManager.cxx.

3044 {
3046  return db()->getDouble(m_PixelConnector,"WIDTHZ",index) * Gaudi::Units::mm;
3047 }

◆ PixelDiskNumSupports()

int DBPixelGeoManager::PixelDiskNumSupports ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3417 of file DBPixelGeoManager.cxx.

3417  {
3418  // Hardwire for now
3419  return 3;
3420 }

◆ PixelDiskRMin()

double DBPixelGeoManager::PixelDiskRMin ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3407 of file DBPixelGeoManager.cxx.

3408 {
3409  return db()->getDouble(m_PixelDisk,"RIDISK",m_currentLD)*mmcm();
3410 }

◆ PixelDiskSupportMaterialTypeNum()

int DBPixelGeoManager::PixelDiskSupportMaterialTypeNum ( int  isup)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3469 of file DBPixelGeoManager.cxx.

3469  {
3470 
3471  if (dbVersion() < 3) return 0;
3472 
3473  std::ostringstream prefix;
3474  prefix <<"SUP"<< isup+1 <<"MAT";
3475 
3476  int imat = 0;
3477  bool found = false;
3478  // default material type
3479  if (db()->testFieldTxt(m_PixelDisk,"SUP_MAT")) {
3480  imat = db()->getInt(m_PixelDisk,"SUP_MAT");
3481  found = true;
3482  }
3483  // overwrites if found
3484  if (db()->testFieldTxt(m_PixelDisk,prefix.str(),m_currentLD)) {
3485  imat = db()->getInt(m_PixelDisk,prefix.str(),m_currentLD);
3486  found = true;
3487  }
3488 
3489  if (!found) {
3490  imat = db()->getInt(m_PixelDisk,prefix.str(),m_currentLD);
3491  }
3492  return imat;
3493 }

◆ PixelDiskSupportRMax()

double DBPixelGeoManager::PixelDiskSupportRMax ( int  isup)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3428 of file DBPixelGeoManager.cxx.

3428  {
3429  std::ostringstream field;
3430  field <<"SUP"<< isup+1 <<"RMAX";
3431  return db()->getDouble(m_PixelDisk,field.str(),m_currentLD)*mmcm();
3432 }

◆ PixelDiskSupportRMin()

double DBPixelGeoManager::PixelDiskSupportRMin ( int  isup)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3422 of file DBPixelGeoManager.cxx.

3422  {
3423  std::ostringstream field;
3424  field <<"SUP"<< isup+1 <<"RMIN";
3425  return db()->getDouble(m_PixelDisk,field.str(),m_currentLD)*mmcm();
3426 }

◆ PixelDiskSupportThickness()

double DBPixelGeoManager::PixelDiskSupportThickness ( int  isup)
overridevirtual

Implements PixelGeometryManager.

Definition at line 3436 of file DBPixelGeoManager.cxx.

3436  {
3437 
3438  std::ostringstream prefix;
3439  prefix <<"SUP"<< isup+1 <<"THICK";
3440 
3441  bool found = false;
3442  double tck = 0;
3443 
3444  // First check text file
3445  // default support thickness
3446  if (db()->testFieldTxt(m_PixelDisk,"SUP_THICK")) {
3447  tck = db()->getDouble(m_PixelDisk,"SUP_THICK");
3448  found = true;
3449  }
3450  // overwrites if found
3451  if (db()->testFieldTxt(m_PixelDisk,prefix.str(),m_currentLD)) {
3452  tck = db()->getDouble(m_PixelDisk,prefix.str(),m_currentLD);
3453  found = true;
3454  }
3455 
3456  // Now check database
3457  if (!found) tck = db()->getDouble(m_PixelDisk,prefix.str(),m_currentLD);
3458 
3459  if(tck>0.) {
3460  return tck * mmcm();
3461  } else { // radlen
3463  std::string matName = getMaterialName("DiskSupport", m_currentLD, typeNum);
3464  return CalculateThickness(tck, matName);
3465  }
3466 }

◆ PixelDiskZPosition()

double DBPixelGeoManager::PixelDiskZPosition ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2577 of file DBPixelGeoManager.cxx.

2578 {
2579  return db()->getDouble(m_PixelDisk,"ZDISK",m_currentLD)*mmcm();
2580 }

◆ PixelECCablesDistance()

double DBPixelGeoManager::PixelECCablesDistance ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2614 of file DBPixelGeoManager.cxx.

2615 {
2616  return db()->getDouble(m_PixelDisk,"ZCABLE",m_currentLD)*mmcm();
2617 }

◆ PixelECCablesRMax()

double DBPixelGeoManager::PixelECCablesRMax ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2608 of file DBPixelGeoManager.cxx.

2609 {
2610  return db()->getDouble(m_PixelDisk,"RMAXCABLE",m_currentLD)*mmcm();
2611 }

◆ PixelECCablesRMin()

double DBPixelGeoManager::PixelECCablesRMin ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2603 of file DBPixelGeoManager.cxx.

2604 {
2605  return db()->getDouble(m_PixelDisk,"RMINCABLE",m_currentLD)*mmcm();
2606 }

◆ PixelECCablesThickness()

double DBPixelGeoManager::PixelECCablesThickness ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1046 of file DBPixelGeoManager.cxx.

1047 {
1048  double tck = db()->getDouble(m_PixelDisk,"CABLETHICK",m_currentLD);
1049  if( tck > 0.) {
1050  return tck*mmcm();
1051  } else {
1052  std::string matName = getMaterialName("DiskCable", m_currentLD);
1053  return CalculateThickness(tck,matName);
1054  }
1055 }

◆ PixelECCarbonMaterialTypeNum()

int DBPixelGeoManager::PixelECCarbonMaterialTypeNum ( std::string  a)
overridevirtual

Implements PixelGeometryManager.

Definition at line 709 of file DBPixelGeoManager.cxx.

709  {
710 
711  if (dbVersion() < 3) return 0;
712  int isup = 0;
713  if (a == "Inner") {
714  isup = 0;
715  } else if(a == "Central") {
716  isup = 1;
717  } else {
718  isup = 2;
719  }
720  return PixelDiskSupportMaterialTypeNum(isup);
721 }

◆ PixelECCarbonRMax()

double DBPixelGeoManager::PixelECCarbonRMax ( std::string  a)
overridevirtual

Implements PixelGeometryManager.

Definition at line 683 of file DBPixelGeoManager.cxx.

683  {
684  int isup=0;
685  if (a == "Inner") {
686  isup = 0;
687  } else if(a == "Central") {
688  isup = 1;
689  } else {
690  isup = 2;
691  }
692  return PixelDiskSupportRMax(isup);
693 }

◆ PixelECCarbonRMin()

double DBPixelGeoManager::PixelECCarbonRMin ( std::string  a)
overridevirtual

Implements PixelGeometryManager.

Definition at line 669 of file DBPixelGeoManager.cxx.

669  {
670 
671  int isup=0;
672  if (a == "Inner") {
673  isup = 0;
674  } else if(a == "Central") {
675  isup = 1;
676  } else {
677  isup = 2;
678  }
679 
680  return PixelDiskSupportRMin(isup);
681 }

◆ PixelECCarbonThickness()

double DBPixelGeoManager::PixelECCarbonThickness ( std::string  a)
overridevirtual

Implements PixelGeometryManager.

Definition at line 695 of file DBPixelGeoManager.cxx.

695  {
696 
697  int isup=0;
698  if (a == "Inner") {
699  isup = 0;
700  } else if(a == "Central") {
701  isup = 1;
702  } else {
703  isup = 2;
704  }
705  return PixelDiskSupportThickness(isup);
706 }

◆ PixelECNSectors1()

int DBPixelGeoManager::PixelECNSectors1 ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2592 of file DBPixelGeoManager.cxx.

2593 {
2594  return db()->getInt(m_PixelDisk,"NMODULE",m_currentLD);
2595 }

◆ PixelECNSectors2()

int DBPixelGeoManager::PixelECNSectors2 ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2597 of file DBPixelGeoManager.cxx.

2598 {
2599  return PixelECNSectors1();
2600 }

◆ PixelECSiDz1()

double DBPixelGeoManager::PixelECSiDz1 ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2582 of file DBPixelGeoManager.cxx.

2583 {
2584  return db()->getDouble(m_PixelDisk,"DZCOUNTER",m_currentLD)*mmcm();
2585 }

◆ PixelECSiDz2()

double DBPixelGeoManager::PixelECSiDz2 ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2587 of file DBPixelGeoManager.cxx.

2588 {
2589  return PixelECSiDz1();
2590 }

◆ PixelEndcapMajorVersion()

int DBPixelGeoManager::PixelEndcapMajorVersion ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1201 of file DBPixelGeoManager.cxx.

1202 {
1203  return static_cast<int>((*m_PixelEndcapGeneral)[0]->getDouble("VERSION"));
1204 }

◆ PixelEndcapMinorVersion()

int DBPixelGeoManager::PixelEndcapMinorVersion ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1206 of file DBPixelGeoManager.cxx.

1207 {
1208  return static_cast<int>(((*m_PixelEndcapGeneral)[0]->getDouble("VERSION") - PixelEndcapMajorVersion())*10 + 0.5);
1209 }

◆ PixelEndcapNDisk()

int DBPixelGeoManager::PixelEndcapNDisk ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2544 of file DBPixelGeoManager.cxx.

2545 {
2546  return db()->getInt(m_PixelEndcapGeneral,"NDISK");
2547 }

◆ PixelEndcapNSupportFrames()

int DBPixelGeoManager::PixelEndcapNSupportFrames ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2570 of file DBPixelGeoManager.cxx.

2571 {
2572  // Obsolete - retus 0 in recent versions
2573  return (int) db()->getDouble(m_PixelEndcapGeneral,"NFRAME");
2574 }

◆ PixelEndcapRMax()

double DBPixelGeoManager::PixelEndcapRMax ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2555 of file DBPixelGeoManager.cxx.

2556 {
2557  return db()->getDouble(m_PixelEndcapGeneral,"RMAX")*mmcm();
2558 }

◆ PixelEndcapRMin()

double DBPixelGeoManager::PixelEndcapRMin ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2550 of file DBPixelGeoManager.cxx.

2551 {
2552  return db()->getDouble(m_PixelEndcapGeneral,"RMIN")*mmcm();
2553 }

◆ PixelEndcapZMax()

double DBPixelGeoManager::PixelEndcapZMax ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2565 of file DBPixelGeoManager.cxx.

2566 {
2567  return db()->getDouble(m_PixelEndcapGeneral,"ZMAX")*mmcm();
2568 }

◆ PixelEndcapZMin()

double DBPixelGeoManager::PixelEndcapZMin ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2560 of file DBPixelGeoManager.cxx.

2561 {
2562  return db()->getDouble(m_PixelEndcapGeneral,"ZMIN")*mmcm();
2563 }

◆ PixelEnvelopeNumPlanes()

unsigned int DBPixelGeoManager::PixelEnvelopeNumPlanes ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1285 of file DBPixelGeoManager.cxx.

1286 {
1287  return db()->getTableSize(m_PixelEnvelope);
1288 }

◆ PixelEnvelopeRMax()

double DBPixelGeoManager::PixelEnvelopeRMax ( int  i)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1302 of file DBPixelGeoManager.cxx.

1303 {
1304  return db()->getDouble(m_PixelEnvelope,"RMAX",i) * Gaudi::Units::mm;
1305 }

◆ PixelEnvelopeRMin()

double DBPixelGeoManager::PixelEnvelopeRMin ( int  i)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1297 of file DBPixelGeoManager.cxx.

1298 {
1299  return db()->getDouble(m_PixelEnvelope,"RMIN",i) * Gaudi::Units::mm;
1300 }

◆ PixelEnvelopeZ()

double DBPixelGeoManager::PixelEnvelopeZ ( int  i)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1290 of file DBPixelGeoManager.cxx.

1291 {
1292  double zmin = db()->getDouble(m_PixelEnvelope,"Z",i) * Gaudi::Units::mm;
1293  if (zmin < 0) msg(MSG::ERROR) << "PixelEnvelope table should only contain +ve z values" << endmsg;
1294  return std::abs(zmin);
1295 }

◆ PixelFluidIndex()

int DBPixelGeoManager::PixelFluidIndex ( int  type)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2909 of file DBPixelGeoManager.cxx.

2910 {
2911  for (int i = 0; i < PixelFluidNumTypes(); i++) {
2912  if (type == PixelFluidType(i)) return i;
2913  }
2914  msg(MSG::ERROR) << "Unrecognized fluid volume type: " << type << endmsg;
2915  return -1;
2916 }

◆ PixelFluidMat()

std::string DBPixelGeoManager::PixelFluidMat ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2918 of file DBPixelGeoManager.cxx.

2918  {
2919  int matType = 0;
2920  if (useLegacy()) {
2922  } else {
2923  matType = db()->getInt(m_PixelFluid,"MATTYPE",index);
2924  }
2925  return getMaterialName("Fluid", 0, matType);
2926 }

◆ PixelFluidNumTypes()

int DBPixelGeoManager::PixelFluidNumTypes ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2903 of file DBPixelGeoManager.cxx.

2904 {
2905  if (useLegacy()) return m_legacyManager->PixelFluidNumTypes();
2906  return db()->getTableSize(m_PixelFluid);
2907 }

◆ PixelFluidOrient()

int DBPixelGeoManager::PixelFluidOrient ( int  layer,
int  phi 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2928 of file DBPixelGeoManager.cxx.

2929 {
2932 }

◆ PixelFluidThick1()

double DBPixelGeoManager::PixelFluidThick1 ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2865 of file DBPixelGeoManager.cxx.

2866 {
2868  return db()->getDouble(m_PixelFluid,"THICK1",index) * Gaudi::Units::mm;
2869 }

◆ PixelFluidThick2()

double DBPixelGeoManager::PixelFluidThick2 ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2872 of file DBPixelGeoManager.cxx.

2873 {
2875  return db()->getDouble(m_PixelFluid,"THICK2",index) * Gaudi::Units::mm;
2876 }

◆ PixelFluidType()

int DBPixelGeoManager::PixelFluidType ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2897 of file DBPixelGeoManager.cxx.

2898 {
2900  return db()->getInt(m_PixelFluid,"TYPE",index);
2901 }

◆ PixelFluidWidth()

double DBPixelGeoManager::PixelFluidWidth ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2878 of file DBPixelGeoManager.cxx.

2879 {
2881  return db()->getDouble(m_PixelFluid,"WIDTH",index) * Gaudi::Units::mm;
2882 }

◆ PixelFluidX()

double DBPixelGeoManager::PixelFluidX ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2885 of file DBPixelGeoManager.cxx.

2886 {
2887  if (useLegacy()) return m_legacyManager->PixelFluidX(index);
2888  return db()->getDouble(m_PixelFluid,"X",index) * Gaudi::Units::mm;
2889 }

◆ PixelFluidY()

double DBPixelGeoManager::PixelFluidY ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2891 of file DBPixelGeoManager.cxx.

2892 {
2893  if (useLegacy()) return m_legacyManager->PixelFluidY(index);
2894  return db()->getDouble(m_PixelFluid,"Y",index) * Gaudi::Units::mm;
2895 }

◆ PixelFluidZ1()

double DBPixelGeoManager::PixelFluidZ1 ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2853 of file DBPixelGeoManager.cxx.

2854 {
2855  if (useLegacy()) return m_legacyManager->PixelFluidZ1(index);
2856  return db()->getDouble(m_PixelFluid,"Z1",index) * Gaudi::Units::mm;
2857 }

◆ PixelFluidZ2()

double DBPixelGeoManager::PixelFluidZ2 ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2859 of file DBPixelGeoManager.cxx.

2860 {
2861  if (useLegacy()) return m_legacyManager->PixelFluidZ2(index);
2862  return db()->getDouble(m_PixelFluid,"Z2",index) * Gaudi::Units::mm;
2863 }

◆ PixelFrameCornerMaterial()

std::string DBPixelGeoManager::PixelFrameCornerMaterial ( int  sectionIndex)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1392 of file DBPixelGeoManager.cxx.

1393 {
1394  return db()->getString(m_PixelFrame, "CORNERMATERIAL", sectionIndex);
1395 }

◆ PixelFrameElementZMax1()

double DBPixelGeoManager::PixelFrameElementZMax1 ( int  sectionIndex,
int  element 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1469 of file DBPixelGeoManager.cxx.

1470 {
1471  int index = getFrameElementIndex(sectionIndex, element);
1472  if (index < 0) return 0; // Error message already printed in getFrameElementIndex.
1473  return db()->getDouble(m_PixelFrameSect, "ZMAX1", index) * Gaudi::Units::mm;
1474 }

◆ PixelFrameElementZMax2()

double DBPixelGeoManager::PixelFrameElementZMax2 ( int  sectionIndex,
int  element 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1476 of file DBPixelGeoManager.cxx.

1477 {
1478  int index = getFrameElementIndex(sectionIndex, element);
1479  if (index < 0) return 0; // Error message already printed in getFrameElementIndex.
1480  return db()->getDouble(m_PixelFrameSect, "ZMAX2", index) * Gaudi::Units::mm;
1481 }

◆ PixelFrameElementZMin1()

double DBPixelGeoManager::PixelFrameElementZMin1 ( int  sectionIndex,
int  element 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1455 of file DBPixelGeoManager.cxx.

1456 {
1457  int index = getFrameElementIndex(sectionIndex, element);
1458  if (index < 0) return 0; // Error message already printed in getFrameElementIndex.
1459  return db()->getDouble(m_PixelFrameSect, "ZMIN1", index) * Gaudi::Units::mm;
1460 }

◆ PixelFrameElementZMin2()

double DBPixelGeoManager::PixelFrameElementZMin2 ( int  sectionIndex,
int  element 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1462 of file DBPixelGeoManager.cxx.

1463 {
1464  int index = getFrameElementIndex(sectionIndex, element);
1465  if (index < 0) return 0; // Error message already printed in getFrameElementIndex.
1466  return db()->getDouble(m_PixelFrameSect, "ZMIN2", index) * Gaudi::Units::mm;
1467 }

◆ PixelFrameMirrorSides()

bool DBPixelGeoManager::PixelFrameMirrorSides ( int  sectionIndex)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1382 of file DBPixelGeoManager.cxx.

1383 {
1384  return db()->getInt(m_PixelFrame, "MIRRORSIDES", sectionIndex);
1385 }

◆ PixelFrameNumSideElements()

int DBPixelGeoManager::PixelFrameNumSideElements ( int  sectionIndex)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1438 of file DBPixelGeoManager.cxx.

1439 {
1440  // make map if it is not already made.
1442 
1443  int section = PixelFrameSectionFromIndex(sectionIndex);
1444  int numElements = 0;
1445 
1446  std::map<int,std::vector<int> >::const_iterator iter = m_frameElementMap->find(section);
1447  if (iter == m_frameElementMap->end()) {
1448  msg(MSG::DEBUG) << "Frame section " << section << " has no elements." << endmsg;
1449  } else {
1450  numElements = iter->second.size();
1451  }
1452  return numElements;
1453 }

◆ PixelFrameNumSides()

int DBPixelGeoManager::PixelFrameNumSides ( int  sectionIndex)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1377 of file DBPixelGeoManager.cxx.

1378 {
1379  return db()->getInt(m_PixelFrame, "NUMSIDES", sectionIndex);
1380 }

◆ PixelFramePhiStart()

double DBPixelGeoManager::PixelFramePhiStart ( int  sectionIndex)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1372 of file DBPixelGeoManager.cxx.

1373 {
1374  return db()->getDouble(m_PixelFrame, "PHISTART", sectionIndex) * Gaudi::Units::deg;
1375 }

◆ PixelFrameRMaxSide()

double DBPixelGeoManager::PixelFrameRMaxSide ( int  sectionIndex)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1352 of file DBPixelGeoManager.cxx.

1353 {
1354  return db()->getDouble(m_PixelFrame, "RMAXSIDE", sectionIndex) * Gaudi::Units::mm;
1355 }

◆ PixelFrameRMinSide()

double DBPixelGeoManager::PixelFrameRMinSide ( int  sectionIndex)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1347 of file DBPixelGeoManager.cxx.

1348 {
1349  return db()->getDouble(m_PixelFrame, "RMINSIDE", sectionIndex) * Gaudi::Units::mm;
1350 }

◆ PixelFrameSectionFromIndex()

int DBPixelGeoManager::PixelFrameSectionFromIndex ( int  sectionIndex)

Definition at line 1397 of file DBPixelGeoManager.cxx.

1398 {
1399  return db()->getInt(m_PixelFrame,"SECTION",sectionIndex);
1400 }

◆ PixelFrameSections()

int DBPixelGeoManager::PixelFrameSections ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1342 of file DBPixelGeoManager.cxx.

1343 {
1344  return db()->getTableSize(m_PixelFrame);
1345 }

◆ PixelFrameSideMaterial()

std::string DBPixelGeoManager::PixelFrameSideMaterial ( int  sectionIndex)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1387 of file DBPixelGeoManager.cxx.

1388 {
1389  return db()->getString(m_PixelFrame, "SIDEMATERIAL", sectionIndex);
1390 }

◆ PixelFrameSideWidth()

double DBPixelGeoManager::PixelFrameSideWidth ( int  sectionIndex)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1357 of file DBPixelGeoManager.cxx.

1358 {
1359  return db()->getDouble(m_PixelFrame, "SIDEWIDTH", sectionIndex) * Gaudi::Units::mm;
1360 }

◆ PixelFrameZMax()

double DBPixelGeoManager::PixelFrameZMax ( int  sectionIndex)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1367 of file DBPixelGeoManager.cxx.

1368 {
1369  return db()->getDouble(m_PixelFrame, "ZMAX", sectionIndex) * Gaudi::Units::mm;
1370 }

◆ PixelFrameZMin()

double DBPixelGeoManager::PixelFrameZMin ( int  sectionIndex)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1362 of file DBPixelGeoManager.cxx.

1363 {
1364  return db()->getDouble(m_PixelFrame, "ZMIN", sectionIndex) * Gaudi::Units::mm;
1365 }

◆ PixelHalfLength()

double DBPixelGeoManager::PixelHalfLength ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1266 of file DBPixelGeoManager.cxx.

1267 {
1268 
1269  if (db()->getTableSize(m_PixelEnvelope)) {
1270  // The table should contain only +ve z values.
1271  return PixelEnvelopeZ(db()->getTableSize(m_PixelEnvelope) - 1);
1272  } else {
1273  return db()->getDouble(m_PixelCommon,"HALFLENGTH")*mmcm();
1274  }
1275 }

◆ PixelHybridLength()

double DBPixelGeoManager::PixelHybridLength ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 530 of file DBPixelGeoManager.cxx.

531 {
532  if(ibl()&&isModule3D)
533  return db()->getDouble(m_PixelModule,"HYBRIDLENGTH",moduleType3D())*mmcm();
534 
535  return db()->getDouble(m_PixelModule,"HYBRIDLENGTH",moduleType())*mmcm();
536 }

◆ PixelHybridThickness()

double DBPixelGeoManager::PixelHybridThickness ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 538 of file DBPixelGeoManager.cxx.

539 {
540  if(ibl()&&isModule3D)
541  return db()->getDouble(m_PixelModule,"HYBRIDTHICK",moduleType3D())*mmcm();
542 
543  return db()->getDouble(m_PixelModule,"HYBRIDTHICK",moduleType())*mmcm();
544 }

◆ PixelHybridWidth()

double DBPixelGeoManager::PixelHybridWidth ( bool  isModule3D = false)
overridevirtual

Implements PixelGeometryManager.

Definition at line 522 of file DBPixelGeoManager.cxx.

523 {
524  if(ibl()&&isModule3D)
525  return db()->getDouble(m_PixelModule,"HYBRIDWIDTH",moduleType3D())*mmcm();
526 
527  return db()->getDouble(m_PixelModule,"HYBRIDWIDTH",moduleType())*mmcm();
528 }

◆ PixelLadderBentStaveAngle()

double DBPixelGeoManager::PixelLadderBentStaveAngle ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1610 of file DBPixelGeoManager.cxx.

1611 {
1612  if (!db()->testFieldTxt(m_PixelConicalStave,"BENTSTAVEANGLE")) return 0;
1614  return db()->getDouble(m_PixelConicalStave,"BENTSTAVEANGLE",index);
1615 }

◆ PixelLadderCableOffsetX()

double DBPixelGeoManager::PixelLadderCableOffsetX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1577 of file DBPixelGeoManager.cxx.

1578 {
1579  if (useLegacy()) return m_legacyManager->PixelLadderCableOffsetX(); // 0
1581  return db()->getDouble(m_PixelStave,"CABLEOFFSETX",index) * Gaudi::Units::mm;
1582 }

◆ PixelLadderCableOffsetY()

double DBPixelGeoManager::PixelLadderCableOffsetY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1584 of file DBPixelGeoManager.cxx.

1585 {
1586  if (useLegacy()) return m_legacyManager->PixelLadderCableOffsetY(); // 4mm
1588  return db()->getDouble(m_PixelStave,"CABLEOFFSETY",index) * Gaudi::Units::mm;
1589 }

◆ PixelLadderLength()

double DBPixelGeoManager::PixelLadderLength ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1526 of file DBPixelGeoManager.cxx.

1527 {
1528  if (useLegacy()) return m_legacyManager->PixelLadderLength();
1530  return db()->getDouble(m_PixelStave,"ENVLENGTH",index)*Gaudi::Units::mm;
1531 }

◆ PixelLadderModuleDeltaZ()

double DBPixelGeoManager::PixelLadderModuleDeltaZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1625 of file DBPixelGeoManager.cxx.

1626 {
1628  return db()->getDouble(m_PixelStave,"MODULEDZ",index);
1629 }

◆ PixelLadderServicesX()

double DBPixelGeoManager::PixelLadderServicesX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1563 of file DBPixelGeoManager.cxx.

1564 {
1565  if (useLegacy()) return m_legacyManager->PixelLadderServicesX(); // 1.48972 mm
1567  return db()->getDouble(m_PixelStave,"SERVICEOFFSETX",index) * Gaudi::Units::mm;
1568 }

◆ PixelLadderServicesY()

double DBPixelGeoManager::PixelLadderServicesY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1570 of file DBPixelGeoManager.cxx.

1571 {
1572  if (useLegacy()) return m_legacyManager->PixelLadderServicesY(); // 3mm
1574  return db()->getDouble(m_PixelStave,"SERVICEOFFSETY",index) * Gaudi::Units::mm;
1575 }

◆ PixelLadderSupportLength()

double DBPixelGeoManager::PixelLadderSupportLength ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1632 of file DBPixelGeoManager.cxx.

1633 {
1635  if (db()->testField(m_PixelStave,"SUPPORTHLENGTH",index)) {
1636  double halflength = db()->getDouble(m_PixelStave,"SUPPORTHLENGTH",index) * Gaudi::Units::mm;
1637  if (halflength > 0) return 2 * halflength;
1638  }
1639  double safety = 0.01*Gaudi::Units::mm;
1640  return PixelLadderLength() - safety;
1641 }

◆ PixelLadderSupportThickness()

double DBPixelGeoManager::PixelLadderSupportThickness ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1592 of file DBPixelGeoManager.cxx.

1593 {
1595  return db()->getDouble(m_PixelStave,"SUPPORTTHICK",index) * Gaudi::Units::mm;
1596 }

◆ PixelLadderSupportWidth()

double DBPixelGeoManager::PixelLadderSupportWidth ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1599 of file DBPixelGeoManager.cxx.

1600 {
1602  return db()->getDouble(m_PixelStave,"SUPPORTWIDTH",index) * Gaudi::Units::mm;
1603 }

◆ PixelLadderThickness()

double DBPixelGeoManager::PixelLadderThickness ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1551 of file DBPixelGeoManager.cxx.

1552 {
1553  if (useLegacy()) return m_legacyManager->PixelLadderThickness(); // 2*1.48972 mm
1555  return db()->getDouble(m_PixelStave,"ENVTHICK",index)*Gaudi::Units::mm;
1556 }

◆ PixelLadderThicknessClearance()

double DBPixelGeoManager::PixelLadderThicknessClearance ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1542 of file DBPixelGeoManager.cxx.

1543 {
1545  if (db()->testField(m_PixelStave,"CLEARANCEX",index)) {
1546  return db()->getDouble(m_PixelStave,"CLEARANCEX",index)*Gaudi::Units::mm;
1547  }
1548  return 0.1*Gaudi::Units::mm;
1549 }

◆ PixelLadderTilt()

double DBPixelGeoManager::PixelLadderTilt ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1558 of file DBPixelGeoManager.cxx.

1559 {
1560  return db()->getDouble(m_PixelLayer,"STAVETILT",m_currentLD)*Gaudi::Units::deg;
1561 }

◆ PixelLadderWidthClearance()

double DBPixelGeoManager::PixelLadderWidthClearance ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1533 of file DBPixelGeoManager.cxx.

1534 {
1535  if (useLegacy()) return 0.9*Gaudi::Units::mm;
1537  return db()->getDouble(m_PixelStave,"CLEARANCEY",index)*Gaudi::Units::mm;
1538 }

◆ PixelLayerGlobalShift()

double DBPixelGeoManager::PixelLayerGlobalShift ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1519 of file DBPixelGeoManager.cxx.

1520 {
1521  if (db()->testField(m_PixelLayer,"GBLSHIFT",m_currentLD))
1522  return db()->getDouble(m_PixelLayer,"GBLSHIFT",m_currentLD);
1523  return 0.;
1524 }

◆ PixelLayerRadius()

double DBPixelGeoManager::PixelLayerRadius ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1510 of file DBPixelGeoManager.cxx.

1511 {
1512  double radius = db()->getDouble(m_PixelLayer,"RLAYER",m_currentLD)*mmcm();
1513  if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) << "PixelLayerRadius for layer " << m_currentLD
1514  << " is " << radius
1515  << endmsg;
1516  return radius;
1517 }

◆ PixelModuleAngle()

double DBPixelGeoManager::PixelModuleAngle ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2425 of file DBPixelGeoManager.cxx.

2426 {
2427  int staveIndex = PixelStaveIndex(m_currentLD);
2428  return db()->getDouble(m_PixelStave,"MODULETILT",staveIndex)*Gaudi::Units::deg;
2429 }

◆ PixelModuleAngleSign()

double DBPixelGeoManager::PixelModuleAngleSign ( int  etaModule)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2537 of file DBPixelGeoManager.cxx.

2538 {
2539  if (centerModule(etaModule)) return 0;
2540  if(etaModule < 0) return 1.;
2541  return -1.;
2542 }

◆ PixelModuleDrDistance()

double DBPixelGeoManager::PixelModuleDrDistance ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2431 of file DBPixelGeoManager.cxx.

2432 {
2433  int staveIndex = PixelStaveIndex(m_currentLD);
2434  return db()->getDouble(m_PixelStave,"CENTRMODULESHIFT",staveIndex)*mmcm();
2435 }

◆ PixelModuleEtaFromIndex()

int DBPixelGeoManager::PixelModuleEtaFromIndex ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2516 of file DBPixelGeoManager.cxx.

2517 {
2518  int nModules = PixelNModule();
2519  int etaModule = index-nModules/2;
2520  // If even number of modules skip eta = 0.
2521  // For IBL this behaviour can be disabled.
2522  if (allowSkipEtaZero() && (etaModule >= 0) && !(nModules%2)) etaModule++;
2523  return etaModule;
2524 }

◆ PixelModuleIndexFromEta()

int DBPixelGeoManager::PixelModuleIndexFromEta ( int  etaModule)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2526 of file DBPixelGeoManager.cxx.

2527 {
2528  int nModules = PixelNModule();
2529  int index = etaModule + nModules/2;
2530  // If even number of modules skip eta = 0.
2531  // For IBL this behaviour can be disabled.
2532  if (allowSkipEtaZero() && (etaModule >= 0) && (nModules%2 == 0)) index--;
2533  return index;
2534 }

◆ PixelModuleServiceFullSize()

int DBPixelGeoManager::PixelModuleServiceFullSize ( int  svc)
overridevirtual

Implements PixelGeometryManager.

Definition at line 642 of file DBPixelGeoManager.cxx.

643 {
644  return db()->getInt(m_PixelModuleSvc,"FULLSIZE",svc);
645 }

◆ PixelModuleServiceLength()

double DBPixelGeoManager::PixelModuleServiceLength ( int  svc)
overridevirtual

Implements PixelGeometryManager.

Definition at line 612 of file DBPixelGeoManager.cxx.

613 {
614  return db()->getDouble(m_PixelModuleSvc,"LENGTH",svc)*mmcm();
615 }

◆ PixelModuleServiceMaterial()

std::string DBPixelGeoManager::PixelModuleServiceMaterial ( int  svc)
overridevirtual

Implements PixelGeometryManager.

Definition at line 657 of file DBPixelGeoManager.cxx.

658 {
659  return db()->getString(m_PixelModuleSvc,"MATERIAL",svc);
660 }

◆ PixelModuleServiceModuleType()

int DBPixelGeoManager::PixelModuleServiceModuleType ( int  svc)
overridevirtual

Implements PixelGeometryManager.

Definition at line 647 of file DBPixelGeoManager.cxx.

648 {
649  return db()->getInt(m_PixelModuleSvc,"MODULE3D",svc)*mmcm();
650 }

◆ PixelModuleServiceName()

std::string DBPixelGeoManager::PixelModuleServiceName ( int  svc)
overridevirtual

Implements PixelGeometryManager.

Definition at line 652 of file DBPixelGeoManager.cxx.

653 {
654  return db()->getString(m_PixelModuleSvc,"NAME",svc);
655 }

◆ PixelModuleServiceNumber()

int DBPixelGeoManager::PixelModuleServiceNumber ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 603 of file DBPixelGeoManager.cxx.

604 {
605  if(!ibl()||GetLD()>0||!isBarrel()) return 0;
606 
607  if (db()->getTableSize(m_PixelModuleSvc))
608  return db()->getTableSize(m_PixelModuleSvc);
609  return 0;
610 }

◆ PixelModuleServiceOffsetX()

double DBPixelGeoManager::PixelModuleServiceOffsetX ( int  svc)
overridevirtual

Implements PixelGeometryManager.

Definition at line 627 of file DBPixelGeoManager.cxx.

628 {
629  return db()->getDouble(m_PixelModuleSvc,"XOFFSET",svc)*mmcm();
630 }

◆ PixelModuleServiceOffsetY()

double DBPixelGeoManager::PixelModuleServiceOffsetY ( int  svc)
overridevirtual

Implements PixelGeometryManager.

Definition at line 632 of file DBPixelGeoManager.cxx.

633 {
634  return db()->getDouble(m_PixelModuleSvc,"YOFFSET",svc)*mmcm();
635 }

◆ PixelModuleServiceOffsetZ()

double DBPixelGeoManager::PixelModuleServiceOffsetZ ( int  svc)
overridevirtual

Implements PixelGeometryManager.

Definition at line 637 of file DBPixelGeoManager.cxx.

638 {
639  return db()->getDouble(m_PixelModuleSvc,"ZOFFSET",svc)*mmcm();
640 }

◆ PixelModuleServiceThick()

double DBPixelGeoManager::PixelModuleServiceThick ( int  svc)
overridevirtual

Implements PixelGeometryManager.

Definition at line 622 of file DBPixelGeoManager.cxx.

623 {
624  return db()->getDouble(m_PixelModuleSvc,"THICK",svc)*mmcm();
625 }

◆ PixelModuleServiceWidth()

double DBPixelGeoManager::PixelModuleServiceWidth ( int  svc)
overridevirtual

Implements PixelGeometryManager.

Definition at line 617 of file DBPixelGeoManager.cxx.

618 {
619  return db()->getDouble(m_PixelModuleSvc,"WIDTH",svc)*mmcm();
620 }

◆ PixelModuleShiftFlag()

double DBPixelGeoManager::PixelModuleShiftFlag ( int  etaModule)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2474 of file DBPixelGeoManager.cxx.

2475 {
2476  if (centerModule(etaModule)) return 1;
2477  return 0.;
2478 }

◆ PixelModuleStaggerDistance()

double DBPixelGeoManager::PixelModuleStaggerDistance ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2480 of file DBPixelGeoManager.cxx.

2481 {
2482  int staveIndex = PixelStaveIndex(m_currentLD);
2483  if (!ibl() || !db()->testField(m_PixelStave,"STAGGERDIST",staveIndex)) return 0;
2484  return db()->getDouble(m_PixelStave,"STAGGERDIST",staveIndex) * Gaudi::Units::mm;
2485 }

◆ PixelModuleStaggerSign()

int DBPixelGeoManager::PixelModuleStaggerSign ( int  etaModule)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2487 of file DBPixelGeoManager.cxx.

2488 {
2489  int staveIndex = PixelStaveIndex(m_currentLD);
2490  if (!ibl() || !db()->testField(m_PixelStave,"FIRSTSTAGGER",staveIndex)) return 0;
2491  // FIRSTSTAGGER refers to whether the first module (lowest etavalue) is staggered up (+1) or down(-1)
2492  int firstStagger = db()->getInt(m_PixelStave,"FIRSTSTAGGER",staveIndex);
2493  int moduleIndex = PixelModuleIndexFromEta(etaModule);
2494  return firstStagger * (moduleIndex%2 ? -1 : 1);
2495 }

◆ PixelModuleZPosition()

double DBPixelGeoManager::PixelModuleZPosition ( int  etaModule)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2437 of file DBPixelGeoManager.cxx.

2438 {
2439  // ZPOSTYPE 0. Means equi-distant modules.
2440  // ZPOSTYPE != 0. Means tabulated z positions.
2441  int staveIndex = PixelStaveIndex(m_currentLD);
2442  int zPosType = 0;
2443  if (ibl() && db()->testField(m_PixelStave,"ZPOSTYPE",staveIndex)) {
2444  zPosType = db()->getInt(m_PixelStave,"ZPOSTYPE",staveIndex);
2445  }
2446  if (zPosType) {
2447  // Z positions from table
2448  return PixelModuleZPositionTabulated(etaModule, zPosType);
2449  } else {
2450  // Equi-distant modules
2451  int moduleIndex = PixelModuleIndexFromEta(etaModule);
2452  return db()->getDouble(m_PixelStave,"MODULEDZ",staveIndex)*mmcm() * (moduleIndex - 0.5*(PixelNModule()-1));
2453  }
2454 }

◆ PixelModuleZPositionTabulated()

double DBPixelGeoManager::PixelModuleZPositionTabulated ( int  etaModule,
int  type 
)

Definition at line 2456 of file DBPixelGeoManager.cxx.

2457 {
2458  if (!m_zPositionMap) {
2460  for (unsigned int indexTmp = 0; indexTmp < db()->getTableSize(m_PixelStaveZ); ++indexTmp) {
2461  int eta_module = db()->getInt(m_PixelStaveZ,"ETAMODULE",indexTmp);
2462  int type_tmp = db()->getInt(m_PixelStaveZ,"TYPE",indexTmp);
2463  m_zPositionMap->add(type_tmp,eta_module,indexTmp);
2464  }
2465  }
2466  int index = m_zPositionMap->find(type, etaModule);
2467  if (index < 0) {
2468  msg(MSG::ERROR) << "Z position not found for etaModule,type = " << etaModule << ", " << type << endmsg;
2469  return 0;
2470  }
2471  return db()->getDouble(m_PixelStaveZ,"ZPOS",index) * Gaudi::Units::mm;
2472 }

◆ PixelNModule()

int DBPixelGeoManager::PixelNModule ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2415 of file DBPixelGeoManager.cxx.

2416 {
2417  int staveIndex = PixelStaveIndex(m_currentLD);
2418  if(ibl() && PixelStaveLayout()>3 && PixelStaveLayout()<7 && m_currentLD==0)
2419  return IBLStaveModuleNumber();
2420  else
2421  return db()->getInt(m_PixelStave,"NMODULE",staveIndex);
2422 
2423 }

◆ PixelNumConnectorElements()

int DBPixelGeoManager::PixelNumConnectorElements ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3025 of file DBPixelGeoManager.cxx.

3026 {
3028  return db()->getTableSize(m_PixelConnector);
3029 }

◆ PixelNumOmegaGlueElements()

int DBPixelGeoManager::PixelNumOmegaGlueElements ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2801 of file DBPixelGeoManager.cxx.

2802 {
2804  return db()->getTableSize(m_PixelOmegaGlue);
2805 }

◆ PixelOmegaEndY()

double DBPixelGeoManager::PixelOmegaEndY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2739 of file DBPixelGeoManager.cxx.

2740 {
2741  if (useLegacy()) return m_legacyManager->PixelOmegaEndY();
2742  return db()->getDouble(m_PixelOmega,"ENDY") * Gaudi::Units::mm;
2743 }

◆ PixelOmegaGlueEndY()

double DBPixelGeoManager::PixelOmegaGlueEndY ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2825 of file DBPixelGeoManager.cxx.

2826 {
2828  return db()->getDouble(m_PixelOmegaGlue,"ENDY",index) * Gaudi::Units::mm;
2829 }

◆ PixelOmegaGlueLength()

double DBPixelGeoManager::PixelOmegaGlueLength ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2831 of file DBPixelGeoManager.cxx.

2832 {
2834  return db()->getDouble(m_PixelOmegaGlue,"LENGTH",index) * Gaudi::Units::mm;
2835 }

◆ PixelOmegaGluePosZ()

double DBPixelGeoManager::PixelOmegaGluePosZ ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2837 of file DBPixelGeoManager.cxx.

2838 {
2841 }

◆ PixelOmegaGlueStartX()

double DBPixelGeoManager::PixelOmegaGlueStartX ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2807 of file DBPixelGeoManager.cxx.

2808 {
2810  return db()->getDouble(m_PixelOmegaGlue,"STARTX",index) * Gaudi::Units::mm;
2811 }

◆ PixelOmegaGlueStartY()

double DBPixelGeoManager::PixelOmegaGlueStartY ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2819 of file DBPixelGeoManager.cxx.

2820 {
2822  return db()->getDouble(m_PixelOmegaGlue,"STARTY",index) * Gaudi::Units::mm;
2823 }

◆ PixelOmegaGlueThickness()

double DBPixelGeoManager::PixelOmegaGlueThickness ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2813 of file DBPixelGeoManager.cxx.

2814 {
2816  return db()->getDouble(m_PixelOmegaGlue,"THICK",index) * Gaudi::Units::mm;
2817 }

◆ PixelOmegaGlueTypeNum()

int DBPixelGeoManager::PixelOmegaGlueTypeNum ( int  index)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2843 of file DBPixelGeoManager.cxx.

2844 {
2846  return db()->getInt(m_PixelOmegaGlue,"TYPENUM",index);
2847 }

◆ PixelOmegaLength()

double DBPixelGeoManager::PixelOmegaLength ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2727 of file DBPixelGeoManager.cxx.

2728 {
2729  if (useLegacy()) return m_legacyManager->PixelOmegaLength();
2730  return db()->getDouble(m_PixelOmega,"LENGTH") * Gaudi::Units::mm;
2731 }

◆ PixelOmegaLowerBendRadius()

double DBPixelGeoManager::PixelOmegaLowerBendRadius ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2715 of file DBPixelGeoManager.cxx.

2716 {
2718  return db()->getDouble(m_PixelOmega,"LOWERBENDR") * Gaudi::Units::mm;
2719 }

◆ PixelOmegaLowerBendX()

double DBPixelGeoManager::PixelOmegaLowerBendX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2703 of file DBPixelGeoManager.cxx.

2704 {
2706  return db()->getDouble(m_PixelOmega,"LOWERBENDX") * Gaudi::Units::mm;
2707 }

◆ PixelOmegaLowerBendY()

double DBPixelGeoManager::PixelOmegaLowerBendY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2709 of file DBPixelGeoManager.cxx.

2710 {
2712  return db()->getDouble(m_PixelOmega,"LOWERBENDY") * Gaudi::Units::mm;
2713 }

◆ PixelOmegaStartY()

double DBPixelGeoManager::PixelOmegaStartY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2733 of file DBPixelGeoManager.cxx.

2734 {
2735  if (useLegacy()) return m_legacyManager->PixelOmegaStartY();
2736  return db()->getDouble(m_PixelOmega,"STARTY") * Gaudi::Units::mm;
2737 }

◆ PixelOmegaUpperBendRadius()

double DBPixelGeoManager::PixelOmegaUpperBendRadius ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2697 of file DBPixelGeoManager.cxx.

2698 {
2700  return db()->getDouble(m_PixelOmega,"UPPERBENDR") * Gaudi::Units::mm;
2701 }

◆ PixelOmegaUpperBendX()

double DBPixelGeoManager::PixelOmegaUpperBendX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2685 of file DBPixelGeoManager.cxx.

2686 {
2688  return db()->getDouble(m_PixelOmega,"UPPERBENDX") * Gaudi::Units::mm;
2689 }

◆ PixelOmegaUpperBendY()

double DBPixelGeoManager::PixelOmegaUpperBendY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2691 of file DBPixelGeoManager.cxx.

2692 {
2694  return db()->getDouble(m_PixelOmega,"UPPERBENDY") * Gaudi::Units::mm;
2695 }

◆ PixelOmegaWallThickness()

double DBPixelGeoManager::PixelOmegaWallThickness ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2721 of file DBPixelGeoManager.cxx.

2722 {
2724  return db()->getDouble(m_PixelOmega,"THICK") * Gaudi::Units::mm;
2725 }

◆ PixelPigtailBendPhiMax()

double DBPixelGeoManager::PixelPigtailBendPhiMax ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3010 of file DBPixelGeoManager.cxx.

3011 {
3013  return db()->getDouble(m_PixelPigtail,"BENDPHIMAX") * Gaudi::Units::deg;
3014 }

◆ PixelPigtailBendPhiMin()

double DBPixelGeoManager::PixelPigtailBendPhiMin ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3004 of file DBPixelGeoManager.cxx.

3005 {
3007  return db()->getDouble(m_PixelPigtail,"BENDPHIMIN") * Gaudi::Units::deg;
3008 }

◆ PixelPigtailBendRMax()

double DBPixelGeoManager::PixelPigtailBendRMax ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2998 of file DBPixelGeoManager.cxx.

2999 {
3002 }

◆ PixelPigtailBendRMin()

double DBPixelGeoManager::PixelPigtailBendRMin ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2992 of file DBPixelGeoManager.cxx.

2993 {
2995  return db()->getDouble(m_PixelPigtail,"BENDRMIN") * Gaudi::Units::mm;
2996 }

◆ PixelPigtailBendX()

double DBPixelGeoManager::PixelPigtailBendX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2980 of file DBPixelGeoManager.cxx.

2981 {
2982  if (useLegacy()) return m_legacyManager->PixelPigtailBendX();
2983  return db()->getDouble(m_PixelPigtail,"BENDX") * Gaudi::Units::mm;
2984 }

◆ PixelPigtailBendY()

double DBPixelGeoManager::PixelPigtailBendY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2986 of file DBPixelGeoManager.cxx.

2987 {
2988  if (useLegacy()) return m_legacyManager->PixelPigtailBendY();
2989  return db()->getDouble(m_PixelPigtail,"BENDY") * Gaudi::Units::mm;
2990 }

◆ PixelPigtailEndY()

double DBPixelGeoManager::PixelPigtailEndY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2949 of file DBPixelGeoManager.cxx.

2950 {
2951  if (useLegacy()) return m_legacyManager->PixelPigtailEndY();
2952  return db()->getDouble(m_PixelPigtail,"ENDY") * Gaudi::Units::mm;
2953 }

◆ PixelPigtailEnvelopeLength()

double DBPixelGeoManager::PixelPigtailEnvelopeLength ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 3016 of file DBPixelGeoManager.cxx.

3017 {
3019  return db()->getDouble(m_PixelPigtail,"ENVLENGTH") * Gaudi::Units::mm;
3020 }

◆ PixelPigtailFlatWidthZ()

double DBPixelGeoManager::PixelPigtailFlatWidthZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2962 of file DBPixelGeoManager.cxx.

2963 {
2965  return PixelPigtailWidthZ();
2966 }

◆ PixelPigtailPosX()

double DBPixelGeoManager::PixelPigtailPosX ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2968 of file DBPixelGeoManager.cxx.

2969 {
2970  if (useLegacy()) return m_legacyManager->PixelPigtailPosX();
2971  return db()->getDouble(m_PixelPigtail,"X") * Gaudi::Units::mm;
2972 }

◆ PixelPigtailPosZ()

double DBPixelGeoManager::PixelPigtailPosZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2974 of file DBPixelGeoManager.cxx.

2975 {
2976  if (useLegacy()) return m_legacyManager->PixelPigtailPosZ();
2977  return db()->getDouble(m_PixelPigtail,"Z") * Gaudi::Units::mm;
2978 }

◆ PixelPigtailStartY()

double DBPixelGeoManager::PixelPigtailStartY ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2943 of file DBPixelGeoManager.cxx.

2944 {
2945  if (useLegacy()) return m_legacyManager->PixelPigtailStartY();
2946  return db()->getDouble(m_PixelPigtail,"STARTY") * Gaudi::Units::mm;
2947 }

◆ PixelPigtailThickness()

double DBPixelGeoManager::PixelPigtailThickness ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2937 of file DBPixelGeoManager.cxx.

2938 {
2940  return db()->getDouble(m_PixelPigtail,"THICK") * Gaudi::Units::mm;
2941 }

◆ PixelPigtailWidthZ()

double DBPixelGeoManager::PixelPigtailWidthZ ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 2955 of file DBPixelGeoManager.cxx.

2956 {
2957  if (useLegacy()) return m_legacyManager->PixelPigtailWidthZ();
2958  return db()->getDouble(m_PixelPigtail,"WIDTHZ") * Gaudi::Units::mm;
2959 }

◆ PixelRMax()

double DBPixelGeoManager::PixelRMax ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1253 of file DBPixelGeoManager.cxx.

1254 {
1255  if (db()->getTableSize(m_PixelEnvelope)) {
1256  double rmax = PixelEnvelopeRMax(0);
1257  for (unsigned int i = 1; i < db()->getTableSize(m_PixelEnvelope); i++) {
1258  rmax = std::max(rmax, PixelEnvelopeRMax(i));
1259  }
1260  return rmax;
1261  } else {
1262  return db()->getDouble(m_PixelCommon,"RMAX")*mmcm();
1263  }
1264 }

◆ PixelRMin()

double DBPixelGeoManager::PixelRMin ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1240 of file DBPixelGeoManager.cxx.

1241 {
1242  if (db()->getTableSize(m_PixelEnvelope)) {
1243  double rmin = PixelEnvelopeRMin(0);
1244  for (unsigned int i = 1; i < db()->getTableSize(m_PixelEnvelope); i++) {
1245  rmin = std::min(rmin, PixelEnvelopeRMin(i));
1246  }
1247  return rmin;
1248  } else {
1249  return db()->getDouble(m_PixelCommon,"RMIN")*mmcm();
1250  }
1251 }

◆ PixelServiceElements()

int DBPixelGeoManager::PixelServiceElements ( const std::string &  type)
overridevirtual

Implements PixelGeometryManager.

Definition at line 741 of file DBPixelGeoManager.cxx.

741  {
742  // FIXME
743  /*
744  if (dbVersion() < 3) {
745  if(isBarrel() ) {
746  if(a == "Inside") return (*m_PixelBarrelGeneral)[0]->getInt("NFRAMEIN");
747  if(a == "Outside") return (*m_PixelBarrelGeneral)[0]->getInt("NFRAMEOUT");
748  }
749  if(isEndcap() ) {
750  if(a == "Inside") return (*m_PixelEndcapGeneral)[0]->getInt("NFRAMEIN");
751  if(a == "Outside") return (*m_PixelEndcapGeneral)[0]->getInt("NFRAMEOUT");
752  }
753  return 0;
754  } else {
755  */
756  // a is ignored. Use frame num to distinguish between inside (<1000) and ouside (>=1000).
757  if(type == "simple") return db()->getTableSize(m_PixelSimpleService);
758  if(type == "barrel") return db()->getTableSize(m_PixelBarrelService);
759  if(type == "endcap") return db()->getTableSize(m_PixelEndcapService);
760  if(type == "envelope") return db()->getTableSize(m_PixelEnvelopeService);
761  return 0;
762  //}
763 }

◆ PixelServiceEnvelopeNum()

int DBPixelGeoManager::PixelServiceEnvelopeNum ( const std::string &  type,
int  index 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 958 of file DBPixelGeoManager.cxx.

958  {
959 
960  if (type != "envelope") return 0;
961 
962  try{
963  int envnum = getPixelServiceRecordInt("ENVNUM",type,index);
964  return envnum;
965  }
966  catch(...)
967  {}
968 
969  return 0;
970 }

◆ PixelServiceFrameNum()

int DBPixelGeoManager::PixelServiceFrameNum ( const std::string &  type,
int  index 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 931 of file DBPixelGeoManager.cxx.

931  {
932  // In older version frame num indicated "inside" or "outside"
933  // 0-999: Inside
934  // >=1000: Outside
935  // No frame number in simple table.
936  if (type == "simple") return index+1;
937  int framenum = getPixelServiceRecordInt("FRAMENUM",type,index);
938  if (framenum <= 0) return index+1;
939  if (dbVersion() < 3) {
940  if(type == "barrel") {
941  if (index >= m_barrelInFrames) framenum += 1000;
942  }
943  if(type == "endcap") {
944  if (index >= m_endcapInFrames) framenum += 1000;
945  }
946  }
947  return framenum;
948  // FIXME
949  /*
950  if (dbVersion() < 3) return framenum;
951  if (type == "Inside" && framenum < 1000) return framenum;
952  if (type == "Outside" && framenum >= 1000) return framenum%1000;
953  return -1;
954  */
955 }

◆ PixelServiceLD()

int DBPixelGeoManager::PixelServiceLD ( const std::string &  type,
int  index 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 888 of file DBPixelGeoManager.cxx.

888  {
889  return getPixelServiceRecordInt("LAYERNUM",type,index)-1;
890 }

◆ PixelServiceMaterial()

string DBPixelGeoManager::PixelServiceMaterial ( const std::string &  type,
int  index 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 892 of file DBPixelGeoManager.cxx.

892  {
893 
894  int imat = 0;
895  if (type != "simple") {
896  imat = getPixelServiceRecordInt("MATERIAL",type,index);
897  }
898  std::string materialName;
899  if (!imat) {
900  materialName = getPixelServiceRecordString("MATERIALNAME",type,index);
901  } else {
902  // Old
903  if(type == "barrel") {
904  string mat[11] = {
905  "std::Berillia",
906  "std::Carbon",
907  "pix::Services",
908  "pix::Titanium",
909  "pix::MatPP11",
910  "pix::MatPP12",
911  "pix::MatPP13",
912  "pix::MatPP14",
913  "pix::MatPP15",
914  "pix::MatPP16",
915  "pix::MatPP17"};
916  materialName = mat[imat-1];
917  }
918  if(type == "endcap") {
919  string mat[4] = {
920  "std::Berillia",
921  "std::Carbon",
922  "pix::ECServices",
923  "pix::Disk"};
924  materialName = mat[imat-1];
925  }
926  }
927  return materialName;
928 }

◆ PixelServiceName()

std::string DBPixelGeoManager::PixelServiceName ( const std::string &  type,
int  index 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 766 of file DBPixelGeoManager.cxx.

766  {
767 
768  if (useLegacy() || !getPixelServiceRecordTestField("VOLNAME",type,index)) {
769  return "";
770  } else {
771  return getPixelServiceRecordString("VOLNAME",type,index);
772  }
773 }

◆ PixelServiceParentEnvelopeNum()

int DBPixelGeoManager::PixelServiceParentEnvelopeNum ( const std::string &  type,
int  index 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 972 of file DBPixelGeoManager.cxx.

972  {
973 
974  // if (type == "envelope") return 0;
975 
976  if (type == "envelope"){
977  try{
978  int envnum = getPixelServiceRecordInt("ENVPARENT",type,index);
979  return envnum;
980  }
981  catch(...)
982  {}
983  }
984  else {
985 
986  try{
987  int envnum = getPixelServiceRecordInt("ENVELOPE",type,index);
988  return envnum;
989  }
990  catch(...)
991  {
992  }
993  }
994 
995 
996  return 0;
997 }

◆ PixelServicePhiLoc()

double DBPixelGeoManager::PixelServicePhiLoc ( const std::string &  a,
int  _n 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 844 of file DBPixelGeoManager.cxx.

844  {
846  return 0;
847  } else {
849  }
850 }

◆ PixelServiceRepeat()

int DBPixelGeoManager::PixelServiceRepeat ( const std::string &  a,
int  _n 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 861 of file DBPixelGeoManager.cxx.

861  {
862  if (!getPixelServiceRecordTestField("REPEAT",type,index)) {
863  return 0;
864  } else {
865  return getPixelServiceRecordInt("REPEAT",type,index);
866  }
867 }

◆ PixelServiceRMax()

double DBPixelGeoManager::PixelServiceRMax ( const std::string &  type,
int  index 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 795 of file DBPixelGeoManager.cxx.

795  {
796  double rtmp = getPixelServiceRecordDouble("ROUT",type,index);
797  // If this is negative this is the thickness of the cyl in % of r.l.
798  double rmin = PixelServiceRMin(type,index);
799  double rmax = 0;
800  if(rtmp > 0) {
801  rmax = rtmp * mmcm();
802  } else {
803  string material = PixelServiceMaterial(type,index);
804  rmax = rmin + CalculateThickness(rtmp, material);
805  }
806  return rmax;
807 }

◆ PixelServiceRMax2()

double DBPixelGeoManager::PixelServiceRMax2 ( const std::string &  type,
int  index 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 817 of file DBPixelGeoManager.cxx.

817  {
818  if (!getPixelServiceRecordTestField("ROUT2",type,index)) {
819  return 0;
820  } else {
822  }
823 }

◆ PixelServiceRMin()

double DBPixelGeoManager::PixelServiceRMin ( const std::string &  type,
int  index 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 791 of file DBPixelGeoManager.cxx.

791  {
792  return std::abs(getPixelServiceRecordDouble("RIN",type,index)) * mmcm();
793 }

◆ PixelServiceRMin2()

double DBPixelGeoManager::PixelServiceRMin2 ( const std::string &  type,
int  index 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 809 of file DBPixelGeoManager.cxx.

809  {
811  return 0;
812  } else {
814  }
815 }

◆ PixelServiceShape()

std::string DBPixelGeoManager::PixelServiceShape ( const std::string &  a,
int  _n 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 869 of file DBPixelGeoManager.cxx.

869  {
870  if (type == "simple") return "TUBE";
871  if (!getPixelServiceRecordTestField("SHAPE",type,index)) {
872  return "TUBE";
873  } else {
874  return getPixelServiceRecordString("SHAPE",type,index);
875  }
876 }

◆ PixelServiceShift()

int DBPixelGeoManager::PixelServiceShift ( const std::string &  type,
int  index 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 879 of file DBPixelGeoManager.cxx.

879  {
880  if (!getPixelServiceRecordTestField("SHIFT",type,index)) {
881  return 0;
882  } else {
883  return getPixelServiceRecordInt("SHIFT",type,index);
884  }
885 }

◆ PixelServiceWidth()

double DBPixelGeoManager::PixelServiceWidth ( const std::string &  a,
int  _n 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 852 of file DBPixelGeoManager.cxx.

852  {
853  if (!getPixelServiceRecordTestField("WIDTH",type,index)) {
854  return 0;
855  } else {
856  // Can be in degree or Gaudi::Units::mm. Leave it to GeoPixelServices to interpret.
857  return getPixelServiceRecordDouble("WIDTH",type,index);
858  }
859 }

◆ PixelServiceZMax()

double DBPixelGeoManager::PixelServiceZMax ( const std::string &  type,
int  index 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 829 of file DBPixelGeoManager.cxx.

829  {
830  double zout = getPixelServiceRecordDouble("ZOUT",type,index);
831  double zmin = PixelServiceZMin(type,index);
832  double zmax = 0;
833  // If zin and zout are opposite sign then zout is the thickness of the cyl in % of r.l.
834  if(zmin * zout > -0.000000001) {
835  zmax = zout * mmcm();
836  } else {
837  string material = PixelServiceMaterial(type,index);
838  double sign = (zmin > 0) ? 1: -1;
839  zmax = zmin + sign*CalculateThickness(zout, material);
840  }
841  return zmax;
842 }

◆ PixelServiceZMin()

double DBPixelGeoManager::PixelServiceZMin ( const std::string &  type,
int  index 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 825 of file DBPixelGeoManager.cxx.

825  {
826  return getPixelServiceRecordDouble("ZIN",type,index) * mmcm();
827 }

◆ PixelServiceZsymm()

bool DBPixelGeoManager::PixelServiceZsymm ( const std::string &  type,
int  index 
)
overridevirtual

Implements PixelGeometryManager.

Definition at line 778 of file DBPixelGeoManager.cxx.

778  {
779  if (dbVersion() < 3 || !getPixelServiceRecordTestField("ZSYMM",type,index)) {
780  // If ZSYMM not defined use old logic to determine if volume is
781  // duplicated in both positive and negative halves.
782  double rmin = getPixelServiceRecordDouble("RIN",type,index);
783  double zmin = getPixelServiceRecordDouble("ZIN",type,index);
784  return (rmin>0 && zmin > 0.000001);
785  } else {
786  return getPixelServiceRecordInt("ZSYMM",type,index);
787  }
788 }

◆ PixelSimpleEnvelope()

bool DBPixelGeoManager::PixelSimpleEnvelope ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1277 of file DBPixelGeoManager.cxx.

1278 {
1279  // Return true if the envelope can be built as a simple tube.
1280  // otherwise it will be built as a PCON.
1281  // True if size is 0 or 1.
1282  return (!(db()->getTableSize(m_PixelEnvelope) > 1));
1283 }

◆ PixelStaveAxe()

int DBPixelGeoManager::PixelStaveAxe ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1500 of file DBPixelGeoManager.cxx.

1501 {
1502  if (!ibl()) return 0;
1504 
1505  if (db()->testField(m_PixelStave,"STAVEAXE",index))
1506  return db()->getInt(m_PixelStave,"STAVEAXE",index);
1507  return 0;
1508 }

◆ PixelStaveIndex()

int DBPixelGeoManager::PixelStaveIndex ( int  layer)
overridevirtual

Implements PixelGeometryManager.

Definition at line 1483 of file DBPixelGeoManager.cxx.

1484 {
1485  if (!ibl()) return 0;
1486  if (!db()->testField(m_PixelLayer,"STAVEINDEX",layer)) return 0;
1487  return db()->getInt(m_PixelLayer,"STAVEINDEX",layer);
1488 }

◆ PixelStaveLayout()

int DBPixelGeoManager::PixelStaveLayout ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 1490 of file DBPixelGeoManager.cxx.

1491 {
1492  if (!ibl()) return 0;
1493  int defaultLayout = 0;
1495 
1496  if (!db()->testField(m_PixelStave,"LAYOUT",index)) return defaultLayout;
1497  return db()->getInt(m_PixelStave,"LAYOUT",index);
1498 }

◆ PixelTMTBaseX1()

double DBPixelGeoManager::PixelTMTBaseX1 ( int  iPart)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2646 of file DBPixelGeoManager.cxx.

2647 {
2648  if (useLegacy()) return m_legacyManager->PixelTMTBaseX1(iPart);
2649  return db()->getDouble(m_PixelTMT,"BASEX1",iPart) * Gaudi::Units::mm;
2650 }

◆ PixelTMTBaseX2()

double DBPixelGeoManager::PixelTMTBaseX2 ( int  iPart)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2652 of file DBPixelGeoManager.cxx.

2653 {
2654  if (useLegacy()) return m_legacyManager->PixelTMTBaseX2(iPart);
2655  return db()->getDouble(m_PixelTMT,"BASEX2",iPart) * Gaudi::Units::mm;
2656 }

◆ PixelTMTNumParts()

int DBPixelGeoManager::PixelTMTNumParts ( )
overridevirtual

TMT.

Implements PixelGeometryManager.

Definition at line 2622 of file DBPixelGeoManager.cxx.

2623 {
2624  if (useLegacy()) return m_legacyManager->PixelTMTNumParts();
2625  return db()->getTableSize(m_PixelTMT);
2626 }

◆ PixelTMTPerModule()

bool DBPixelGeoManager::PixelTMTPerModule ( int  iPart)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2676 of file DBPixelGeoManager.cxx.

2677 {
2678  if (useLegacy()) return m_legacyManager->PixelTMTPerModule(iPart);
2679  return db()->getInt(m_PixelTMT,"PERMODULE",iPart);
2680 }

◆ PixelTMTPosY()

double DBPixelGeoManager::PixelTMTPosY ( int  iPart)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2658 of file DBPixelGeoManager.cxx.

2659 {
2660  if (useLegacy()) return m_legacyManager->PixelTMTPosY(iPart);
2661  return db()->getDouble(m_PixelTMT,"Y",iPart) * Gaudi::Units::mm;
2662 }

◆ PixelTMTPosZ1()

double DBPixelGeoManager::PixelTMTPosZ1 ( int  iPart)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2664 of file DBPixelGeoManager.cxx.

2665 {
2666  if (useLegacy()) return m_legacyManager->PixelTMTPosZ1(iPart);
2667  return db()->getDouble(m_PixelTMT,"Z1",iPart) * Gaudi::Units::mm;
2668 }

◆ PixelTMTPosZ2()

double DBPixelGeoManager::PixelTMTPosZ2 ( int  iPart)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2670 of file DBPixelGeoManager.cxx.

2671 {
2672  if (useLegacy()) return m_legacyManager->PixelTMTPosZ2(iPart);
2673  return db()->getDouble(m_PixelTMT,"Z2",iPart) * Gaudi::Units::mm;
2674 }

◆ PixelTMTWidthX1()

double DBPixelGeoManager::PixelTMTWidthX1 ( int  iPart)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2628 of file DBPixelGeoManager.cxx.

2629 {
2630  if (useLegacy()) return m_legacyManager->PixelTMTWidthX1(iPart);
2631  return db()->getDouble(m_PixelTMT,"WIDTHX1",iPart) * Gaudi::Units::mm;
2632 }

◆ PixelTMTWidthX2()

double DBPixelGeoManager::PixelTMTWidthX2 ( int  iPart)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2634 of file DBPixelGeoManager.cxx.

2635 {
2636  if (useLegacy()) return m_legacyManager->PixelTMTWidthX2(iPart);
2637  return db()->getDouble(m_PixelTMT,"WIDTHX2",iPart) * Gaudi::Units::mm;
2638 }

◆ PixelTMTWidthY()

double DBPixelGeoManager::PixelTMTWidthY ( int  iPart)
overridevirtual

Implements PixelGeometryManager.

Definition at line 2640 of file DBPixelGeoManager.cxx.

2641 {
2642  if (useLegacy()) return m_legacyManager->PixelTMTWidthY(iPart);
2643  return db()->getDouble(m_PixelTMT,"WIDTHY",iPart) * Gaudi::Units::mm;
2644 }

◆ SetAlignable()

virtual void DBPixelGeoManager::SetAlignable ( bool  flag)
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 225 of file DBPixelGeoManager.h.

225 {m_alignable = flag;}

◆ SetBarrel()

void DBPixelGeoManager::SetBarrel ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 334 of file DBPixelGeoManager.cxx.

334  {
335  //msg(MSG::DEBUG) << "Setting Barrel" << endmsg;
336  m_BarrelEndcap = 0;
337 }

◆ setCommonItems()

void DBPixelGeoManager::setCommonItems ( InDetDD::SiCommonItems commonItems)
overridevirtual

Implements PixelGeometryManager.

Definition at line 261 of file DBPixelGeoManager.cxx.

262 {
264 }

◆ SetCurrentLD()

void DBPixelGeoManager::SetCurrentLD ( int  i)
overridevirtual

Implements PixelGeometryManager.

Definition at line 303 of file DBPixelGeoManager.cxx.

304 {
305  if(isBarrel() ) {
306  if(i <= PixelBarrelNLayer()) {
307  m_currentLD=i;
308  } else {
309  msg(MSG::ERROR) << "Layer set out of bounds: " << i << ", Setting it to 0" << endmsg;
310  m_currentLD = 0;
311  }
312  if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) <<" Current layer set to " << m_currentLD << endmsg;
313  }
314  if(isEndcap() ) {
315  if (i<= PixelEndcapNDisk() ) {
316  m_currentLD=i;
317  } else {
318  msg(MSG::ERROR) << "Disk set out of bounds: " << i << ", Setting it to 0" << endmsg;
319  m_currentLD = 0;
320  }
321  if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) <<" Current disk set to " << m_currentLD << endmsg;
322  }
323  if(isDBM() ) {
324  if (i<= 2 ) {
325  m_currentLD=i;
326  } else {
327  msg(MSG::ERROR) << "DBM: Disk set out of bounds: " << i << ", Setting it to 0" << endmsg;
328  m_currentLD = 0;
329  }
330  if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) <<" Current disk set to " << m_currentLD << endmsg;
331  }
332 }

◆ SetDBMFlag()

virtual void DBPixelGeoManager::SetDBMFlag ( bool  flag)
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 233 of file DBPixelGeoManager.h.

233 {m_dbm = flag;}

◆ SetDC1Geometry()

void DBPixelGeoManager::SetDC1Geometry ( bool  flag)
overridevirtual

Implements PixelGeometryManager.

Definition at line 397 of file DBPixelGeoManager.cxx.

397  {
398  m_dc1Geometry = flag;
400 }

◆ setDiskBack()

virtual void DBPixelGeoManager::setDiskBack ( )
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 273 of file DBPixelGeoManager.h.

273 { m_diskFrontBack &= 0x3; m_diskFrontBack |= 0x8; }

◆ setDiskFront()

virtual void DBPixelGeoManager::setDiskFront ( )
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 272 of file DBPixelGeoManager.h.

272 { m_diskFrontBack &= 0x3; m_diskFrontBack |= 0x4; }

◆ SetEndcap()

void DBPixelGeoManager::SetEndcap ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 338 of file DBPixelGeoManager.cxx.

338  {
339  m_BarrelEndcap = 1;
340  //msg(MSG::DEBUG) << "Setting Endcap" << endmsg;
341 }

◆ SetEta()

virtual void DBPixelGeoManager::SetEta ( int  eta)
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 243 of file DBPixelGeoManager.h.

243 {m_eta = eta;}

◆ SetIBL()

virtual void DBPixelGeoManager::SetIBL ( bool  flag)
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 229 of file DBPixelGeoManager.h.

229 {m_ibl = flag;}

◆ SetIBL3DModuleNumber()

virtual void DBPixelGeoManager::SetIBL3DModuleNumber ( int  nb3DModule)
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 237 of file DBPixelGeoManager.h.

237 { m_3DModuleNumber=nb3DModule; };

◆ SetIBLPlanarModuleNumber()

virtual void DBPixelGeoManager::SetIBLPlanarModuleNumber ( int  nbPlanarModule)
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 236 of file DBPixelGeoManager.h.

236 { m_PlanarModuleNumber=nbPlanarModule; };

◆ SetInitialLayout()

virtual void DBPixelGeoManager::SetInitialLayout ( bool  flag)
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 217 of file DBPixelGeoManager.h.

◆ SetNeg()

virtual void DBPixelGeoManager::SetNeg ( )
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 268 of file DBPixelGeoManager.h.

268 {m_side = -1;}

◆ SetPartsDBM()

void DBPixelGeoManager::SetPartsDBM ( )
overridevirtual

Implements PixelGeometryManager.

Definition at line 342 of file DBPixelGeoManager.cxx.

342  {
343  m_BarrelEndcap = 2;
344  //msg(MSG::DEBUG) << "Setting DBM" << endmsg;
345 }

◆ SetPhi()

virtual void DBPixelGeoManager::SetPhi ( int  phi)
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 244 of file DBPixelGeoManager.h.

244 {m_phi = phi;}

◆ SetPos()

virtual void DBPixelGeoManager::SetPos ( )
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 267 of file DBPixelGeoManager.h.

267 {m_side = 1;}

◆ SetServices()

virtual void DBPixelGeoManager::SetServices ( bool  isservice)
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 209 of file DBPixelGeoManager.h.

209 {m_services = isservice;}

◆ SetServicesOnLadder()

virtual void DBPixelGeoManager::SetServicesOnLadder ( bool  isservice)
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 213 of file DBPixelGeoManager.h.

213 {m_servicesOnLadder = isservice;}

◆ useLegacy()

bool DBPixelGeoManager::useLegacy ( )
inline

Definition at line 292 of file DBPixelGeoManager.h.

292 {return m_dbVersion < 4;}

◆ versionDescription()

std::string DBPixelGeoManager::versionDescription ( ) const
overridevirtual

Implements PixelGeometryManager.

Definition at line 1212 of file DBPixelGeoManager.cxx.

1213 {
1214  std::string description;
1215  if (db()->testField(m_PixelSwitches,"DESCRIPTION")) {
1216  description = db()->getString(m_PixelSwitches,"DESCRIPTION");
1217  }
1218  return description;
1219 }

◆ versionLayout()

std::string DBPixelGeoManager::versionLayout ( ) const
overridevirtual

Implements PixelGeometryManager.

Definition at line 1230 of file DBPixelGeoManager.cxx.

1231 {
1232  std::string layout;
1233  if (db()->testField(m_PixelSwitches,"LAYOUT")) {
1234  layout = db()->getString(m_PixelSwitches,"LAYOUT");
1235  }
1236  return layout;
1237 }

◆ versionName()

std::string DBPixelGeoManager::versionName ( ) const
overridevirtual

Implements PixelGeometryManager.

Definition at line 1221 of file DBPixelGeoManager.cxx.

1222 {
1223  std::string name;
1224  if (db()->testField(m_PixelSwitches,"VERSIONNAME")) {
1225  name = db()->getString(m_PixelSwitches,"VERSIONNAME");
1226  }
1227  return name;
1228 }

◆ versionTag()

virtual std::string DBPixelGeoManager::versionTag ( ) const
inlineoverridevirtual

Implements PixelGeometryManager.

Definition at line 199 of file DBPixelGeoManager.h.

199 {return m_versionTag;}

Member Data Documentation

◆ m_3DModuleNumber

int DBPixelGeoManager::m_3DModuleNumber
private

Definition at line 117 of file DBPixelGeoManager.h.

◆ m_alignable

bool DBPixelGeoManager::m_alignable
private

Definition at line 113 of file DBPixelGeoManager.h.

◆ m_allPartsPresent

bool DBPixelGeoManager::m_allPartsPresent = false
private

Definition at line 123 of file DBPixelGeoManager.h.

◆ m_athenaComps

PixelGeoModelAthenaComps* PixelGeometryManager::m_athenaComps
privateinherited

Definition at line 640 of file PixelGeometryManager.h.

◆ m_BarrelEndcap

int DBPixelGeoManager::m_BarrelEndcap
private

Definition at line 95 of file DBPixelGeoManager.h.

◆ m_barrelInFrames

int DBPixelGeoManager::m_barrelInFrames = 0
private

Definition at line 100 of file DBPixelGeoManager.h.

◆ m_commonItems

InDetDD::SiCommonItems* DBPixelGeoManager::m_commonItems
private

Definition at line 126 of file DBPixelGeoManager.h.

◆ m_currentLD

int DBPixelGeoManager::m_currentLD
private

Definition at line 94 of file DBPixelGeoManager.h.

◆ m_dbm

bool DBPixelGeoManager::m_dbm
private

Definition at line 120 of file DBPixelGeoManager.h.

◆ m_DBMBracket

IRDBRecordset_ptr DBPixelGeoManager::m_DBMBracket
private

Definition at line 82 of file DBPixelGeoManager.h.

◆ m_DBMCage

IRDBRecordset_ptr DBPixelGeoManager::m_DBMCage
private

Definition at line 83 of file DBPixelGeoManager.h.

◆ m_DBMModule

IRDBRecordset_ptr DBPixelGeoManager::m_DBMModule
private

Definition at line 87 of file DBPixelGeoManager.h.

◆ m_DBMTelescope

IRDBRecordset_ptr DBPixelGeoManager::m_DBMTelescope
private

Definition at line 80 of file DBPixelGeoManager.h.

◆ m_dbmWeightTable

IRDBRecordset_ptr DBPixelGeoManager::m_dbmWeightTable
private

Definition at line 90 of file DBPixelGeoManager.h.

◆ m_dbVersion

int DBPixelGeoManager::m_dbVersion
private

Definition at line 167 of file DBPixelGeoManager.h.

◆ m_dc1Geometry

bool DBPixelGeoManager::m_dc1Geometry
private

Definition at line 110 of file DBPixelGeoManager.h.

◆ m_defaultLengthUnit

double DBPixelGeoManager::m_defaultLengthUnit
private

Definition at line 170 of file DBPixelGeoManager.h.

◆ m_diskFrontBack

int DBPixelGeoManager::m_diskFrontBack
private

Definition at line 97 of file DBPixelGeoManager.h.

◆ m_diskRingIndexMap

InDetDD::PairIndexMap* DBPixelGeoManager::m_diskRingIndexMap
private

Definition at line 161 of file DBPixelGeoManager.h.

◆ m_distortedMatManager

InDetDD::DistortedMaterialManager* DBPixelGeoManager::m_distortedMatManager = nullptr
private

Definition at line 136 of file DBPixelGeoManager.h.

◆ m_endcapInFrames

int DBPixelGeoManager::m_endcapInFrames = 0
private

Definition at line 100 of file DBPixelGeoManager.h.

◆ m_eta

int DBPixelGeoManager::m_eta
private

Definition at line 93 of file DBPixelGeoManager.h.

◆ m_frameElementMap

std::map<int,std::vector<int> >* DBPixelGeoManager::m_frameElementMap
private

Definition at line 157 of file DBPixelGeoManager.h.

◆ m_gangedIndexMap

std::map<int,std::vector<int> >* DBPixelGeoManager::m_gangedIndexMap
private

Definition at line 154 of file DBPixelGeoManager.h.

◆ m_ibl

bool DBPixelGeoManager::m_ibl
private

Definition at line 116 of file DBPixelGeoManager.h.

◆ m_initialLayout

bool DBPixelGeoManager::m_initialLayout
private

Definition at line 107 of file DBPixelGeoManager.h.

◆ m_legacyManager

PixelLegacyManager* DBPixelGeoManager::m_legacyManager
private

Definition at line 139 of file DBPixelGeoManager.h.

◆ m_materialMap

PixelMaterialMap* DBPixelGeoManager::m_materialMap = nullptr
private

Definition at line 148 of file DBPixelGeoManager.h.

◆ m_materialTable

IRDBRecordset_ptr DBPixelGeoManager::m_materialTable
private

Definition at line 76 of file DBPixelGeoManager.h.

◆ m_pDDmgr

InDetDD::PixelDetectorManager* DBPixelGeoManager::m_pDDmgr
private

Definition at line 129 of file DBPixelGeoManager.h.

◆ m_phi

int DBPixelGeoManager::m_phi
private

Definition at line 93 of file DBPixelGeoManager.h.

◆ m_PixelAlTube

IRDBRecordset_ptr DBPixelGeoManager::m_PixelAlTube
private

Definition at line 62 of file DBPixelGeoManager.h.

◆ m_PixelBarrelCable

IRDBRecordset_ptr DBPixelGeoManager::m_PixelBarrelCable
private

Definition at line 58 of file DBPixelGeoManager.h.

◆ m_PixelBarrelGeneral

IRDBRecordset_ptr DBPixelGeoManager::m_PixelBarrelGeneral
private

Definition at line 39 of file DBPixelGeoManager.h.

◆ m_PixelBarrelService

IRDBRecordset_ptr DBPixelGeoManager::m_PixelBarrelService
private

Definition at line 40 of file DBPixelGeoManager.h.

◆ m_PixelCommon

IRDBRecordset_ptr DBPixelGeoManager::m_PixelCommon
private

Definition at line 42 of file DBPixelGeoManager.h.

◆ m_PixelConicalStave

IRDBRecordset_ptr DBPixelGeoManager::m_PixelConicalStave
private

Definition at line 73 of file DBPixelGeoManager.h.

◆ m_PixelConnector

IRDBRecordset_ptr DBPixelGeoManager::m_PixelConnector
private

Definition at line 64 of file DBPixelGeoManager.h.

◆ m_PixelDisk

IRDBRecordset_ptr DBPixelGeoManager::m_PixelDisk
private

Definition at line 44 of file DBPixelGeoManager.h.

◆ m_PixelDiskRing

IRDBRecordset_ptr DBPixelGeoManager::m_PixelDiskRing
private

Definition at line 45 of file DBPixelGeoManager.h.

◆ m_PixelEndcapGeneral

IRDBRecordset_ptr DBPixelGeoManager::m_PixelEndcapGeneral
private

Definition at line 47 of file DBPixelGeoManager.h.

◆ m_PixelEndcapService

IRDBRecordset_ptr DBPixelGeoManager::m_PixelEndcapService
private

Definition at line 48 of file DBPixelGeoManager.h.

◆ m_PixelEnvelope

IRDBRecordset_ptr DBPixelGeoManager::m_PixelEnvelope
private

Definition at line 43 of file DBPixelGeoManager.h.

◆ m_PixelEnvelopeService

IRDBRecordset_ptr DBPixelGeoManager::m_PixelEnvelopeService
private

Definition at line 49 of file DBPixelGeoManager.h.

◆ m_PixelFluid

IRDBRecordset_ptr DBPixelGeoManager::m_PixelFluid
private

Definition at line 63 of file DBPixelGeoManager.h.

◆ m_PixelFrame

IRDBRecordset_ptr DBPixelGeoManager::m_PixelFrame
private

Definition at line 66 of file DBPixelGeoManager.h.

◆ m_PixelFrameSect

IRDBRecordset_ptr DBPixelGeoManager::m_PixelFrameSect
private

Definition at line 67 of file DBPixelGeoManager.h.

◆ m_PixelGangedPixels

IRDBRecordset_ptr DBPixelGeoManager::m_PixelGangedPixels
private

Definition at line 57 of file DBPixelGeoManager.h.

◆ m_PixelIBLFlex

IRDBRecordset_ptr DBPixelGeoManager::m_PixelIBLFlex
private

Definition at line 70 of file DBPixelGeoManager.h.

◆ m_PixelIBLFlexMaterial

IRDBRecordset_ptr DBPixelGeoManager::m_PixelIBLFlexMaterial
private

Definition at line 71 of file DBPixelGeoManager.h.

◆ m_PixelIBLGlueGrease

IRDBRecordset_ptr DBPixelGeoManager::m_PixelIBLGlueGrease
private

Definition at line 72 of file DBPixelGeoManager.h.

◆ m_PixelIBLStave

IRDBRecordset_ptr DBPixelGeoManager::m_PixelIBLStave
private

Definition at line 68 of file DBPixelGeoManager.h.

◆ m_PixelIBLSupport

IRDBRecordset_ptr DBPixelGeoManager::m_PixelIBLSupport
private

Definition at line 69 of file DBPixelGeoManager.h.

◆ m_PixelLayer

IRDBRecordset_ptr DBPixelGeoManager::m_PixelLayer
private

Definition at line 50 of file DBPixelGeoManager.h.

◆ m_PixelModule

IRDBRecordset_ptr DBPixelGeoManager::m_PixelModule
private

Definition at line 51 of file DBPixelGeoManager.h.

◆ m_PixelModuleSvc

IRDBRecordset_ptr DBPixelGeoManager::m_PixelModuleSvc
private

Definition at line 52 of file DBPixelGeoManager.h.

◆ m_PixelOmega

IRDBRecordset_ptr DBPixelGeoManager::m_PixelOmega
private

Definition at line 60 of file DBPixelGeoManager.h.

◆ m_PixelOmegaGlue

IRDBRecordset_ptr DBPixelGeoManager::m_PixelOmegaGlue
private

Definition at line 61 of file DBPixelGeoManager.h.

◆ m_PixelPigtail

IRDBRecordset_ptr DBPixelGeoManager::m_PixelPigtail
private

Definition at line 65 of file DBPixelGeoManager.h.

◆ m_PixelReadout

IRDBRecordset_ptr DBPixelGeoManager::m_PixelReadout
private

Definition at line 56 of file DBPixelGeoManager.h.

◆ m_PixelRing

IRDBRecordset_ptr DBPixelGeoManager::m_PixelRing
private

Definition at line 46 of file DBPixelGeoManager.h.

◆ m_PixelSimpleService

IRDBRecordset_ptr DBPixelGeoManager::m_PixelSimpleService
private

Definition at line 41 of file DBPixelGeoManager.h.

◆ m_PixelStave

IRDBRecordset_ptr DBPixelGeoManager::m_PixelStave
private

Definition at line 53 of file DBPixelGeoManager.h.

◆ m_pixelStaveTypes

PixelStaveTypes* DBPixelGeoManager::m_pixelStaveTypes = nullptr
private

Definition at line 151 of file DBPixelGeoManager.h.

◆ m_PixelStaveZ

IRDBRecordset_ptr DBPixelGeoManager::m_PixelStaveZ
private

Definition at line 54 of file DBPixelGeoManager.h.

◆ m_PixelSwitches

IRDBRecordset_ptr DBPixelGeoManager::m_PixelSwitches
private

Definition at line 38 of file DBPixelGeoManager.h.

◆ m_PixelTMT

IRDBRecordset_ptr DBPixelGeoManager::m_PixelTMT
private

Definition at line 59 of file DBPixelGeoManager.h.

◆ m_PixelTopLevel

IRDBRecordset_ptr DBPixelGeoManager::m_PixelTopLevel
private

Definition at line 55 of file DBPixelGeoManager.h.

◆ m_placements

TopLevelPlacements* DBPixelGeoManager::m_placements = nullptr
private

Definition at line 145 of file DBPixelGeoManager.h.

◆ m_PlanarModuleNumber

int DBPixelGeoManager::m_PlanarModuleNumber
private

Definition at line 117 of file DBPixelGeoManager.h.

◆ m_pMatMgr

InDetMaterialManager* DBPixelGeoManager::m_pMatMgr = nullptr
private

Definition at line 132 of file DBPixelGeoManager.h.

◆ m_scalingTable

IRDBRecordset_ptr DBPixelGeoManager::m_scalingTable
private

Definition at line 75 of file DBPixelGeoManager.h.

◆ m_services

bool DBPixelGeoManager::m_services
private

Definition at line 104 of file DBPixelGeoManager.h.

◆ m_servicesOnLadder

bool DBPixelGeoManager::m_servicesOnLadder
private

Definition at line 103 of file DBPixelGeoManager.h.

◆ m_side

int DBPixelGeoManager::m_side
private

Definition at line 96 of file DBPixelGeoManager.h.

◆ m_staveTypeTable

IRDBRecordset_ptr DBPixelGeoManager::m_staveTypeTable
private

Definition at line 77 of file DBPixelGeoManager.h.

◆ m_versionTag

std::string DBPixelGeoManager::m_versionTag {}
private

Definition at line 142 of file DBPixelGeoManager.h.

◆ m_weightTable

IRDBRecordset_ptr DBPixelGeoManager::m_weightTable
private

Definition at line 74 of file DBPixelGeoManager.h.

◆ m_zPositionMap

InDetDD::PairIndexMap* DBPixelGeoManager::m_zPositionMap
private

Definition at line 164 of file DBPixelGeoManager.h.


The documentation for this class was generated from the following files:
PixelLegacyManager::DesignDiodesPhiTotal
int DesignDiodesPhiTotal(bool isBLayer)
Definition: PixelLegacyManager.cxx:866
PixelLegacyManager::PixelTMTWidthY
double PixelTMTWidthY(int iPart)
Definition: PixelLegacyManager.cxx:447
PixelStaveTypes::getBiStaveType
int getBiStaveType(int layer, int phiModule) const
Definition: PixelStaveTypes.cxx:57
DBPixelGeoManager::PixelStaveLayout
virtual int PixelStaveLayout() override
Definition: DBPixelGeoManager.cxx:1490
PixelLegacyManager::PixelPigtailPosX
double PixelPigtailPosX()
Definition: PixelLegacyManager.cxx:744
InDetMaterialManager::addWeightTable
void addWeightTable(const IRDBRecordset_ptr &weightTable, const std::string &space="")
Definition: InDetMaterialManager.cxx:321
beamspotman.r
def r
Definition: beamspotman.py:676
DBPixelGeoManager::designType
int designType(bool isModule3D=false)
Definition: DBPixelGeoManager.cxx:3072
DBPixelGeoManager::PixelModuleZPositionTabulated
double PixelModuleZPositionTabulated(int etaModule, int type)
Definition: DBPixelGeoManager.cxx:2456
PixelLegacyManager::PixelOmegaLength
double PixelOmegaLength()
Definition: PixelLegacyManager.cxx:532
DBPixelGeoManager::m_barrelInFrames
int m_barrelInFrames
Definition: DBPixelGeoManager.h:100
DBPixelGeoManager::PixelFluidType
virtual int PixelFluidType(int index) override
Definition: DBPixelGeoManager.cxx:2897
DBPixelGeoManager::centerModule
virtual bool centerModule(int etaModule) override
Definition: DBPixelGeoManager.cxx:2509
DBPixelGeoManager::PixelEndcapNDisk
virtual int PixelEndcapNDisk() override
Definition: DBPixelGeoManager.cxx:2544
DBPixelGeoManager::IBLStaveTubeMiddlePos
virtual double IBLStaveTubeMiddlePos() override
Definition: DBPixelGeoManager.cxx:1819
DBPixelGeoManager::makeFrameIndexMap
void makeFrameIndexMap()
Definition: DBPixelGeoManager.cxx:1403
DBPixelGeoManager::m_diskRingIndexMap
InDetDD::PairIndexMap * m_diskRingIndexMap
Definition: DBPixelGeoManager.h:161
PixelMaterialMap::addMaterial
void addMaterial(int layerdisk, int typenum, const std::string &volumeName, const std::string &materialName)
Definition: PixelMaterialMap.cxx:63
PixelLegacyManager::DesignGapRP
double DesignGapRP()
Definition: PixelLegacyManager.cxx:944
DBPixelGeoManager::m_PixelConnector
IRDBRecordset_ptr m_PixelConnector
Definition: DBPixelGeoManager.h:64
PixelLegacyManager::PixelOmegaStartY
double PixelOmegaStartY()
Definition: PixelLegacyManager.cxx:537
DBPixelGeoManager::m_PixelTMT
IRDBRecordset_ptr m_PixelTMT
Definition: DBPixelGeoManager.h:59
PixelLegacyManager::PixelAlTubeLowerBendRadius
double PixelAlTubeLowerBendRadius()
Definition: PixelLegacyManager.cxx:576
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
DBPixelGeoManager::PixelServiceMaterial
virtual std::string PixelServiceMaterial(const std::string &, int) override
Definition: DBPixelGeoManager.cxx:892
IRDBAccessSvc::getRecordsetPtr
virtual IRDBRecordset_ptr getRecordsetPtr(const std::string &node, const std::string &tag, const std::string &tag2node="", const std::string &connName="ATLASDD")=0
Provides access to the Recordset object containing HVS-tagged data.
PixelLegacyManager::DesignNumChipsEta
int DesignNumChipsEta()
Definition: PixelLegacyManager.cxx:845
PixelLegacyManager::PixelFluidThick2
double PixelFluidThick2(int index)
Definition: PixelLegacyManager.cxx:663
DBPixelGeoManager::m_PixelEnvelope
IRDBRecordset_ptr m_PixelEnvelope
Definition: DBPixelGeoManager.h:43
PixelLegacyManager::PixelLadderThickness
double PixelLadderThickness()
Definition: PixelLegacyManager.cxx:299
DBPixelGeoManager::DesignDiodesPhiTotal
virtual int DesignDiodesPhiTotal(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:3168
PixelGeometryManager::msg
MsgStream & msg(MSG::Level lvl) const
Definition: PixelGeometryManager.h:611
DBPixelGeoManager::m_PixelFrame
IRDBRecordset_ptr m_PixelFrame
Definition: DBPixelGeoManager.h:66
TopLevelPlacements
Definition: TopLevelPlacements.h:18
DBPixelGeoManager::determineDbVersion
int determineDbVersion()
Definition: DBPixelGeoManager.cxx:1133
PixelLegacyManager::PixelLadderLength
double PixelLadderLength()
Definition: PixelLegacyManager.cxx:304
PixelGeometryManager::m_athenaComps
PixelGeoModelAthenaComps * m_athenaComps
Definition: PixelGeometryManager.h:640
PixelLegacyManager::PixelAlTubeWallThickness
double PixelAlTubeWallThickness()
Definition: PixelLegacyManager.cxx:581
DBPixelGeoManager::m_PixelBarrelService
IRDBRecordset_ptr m_PixelBarrelService
Definition: DBPixelGeoManager.h:40
PixelLegacyManager::PixelTMTPosZ1
double PixelTMTPosZ1(int iPart)
Definition: PixelLegacyManager.cxx:477
DBPixelGeoManager::NPixelSectors
virtual int NPixelSectors() override
Definition: DBPixelGeoManager.cxx:2398
TopLevelPlacements::transform
const GeoTrf::Transform3D & transform(const std::string &partName) const
Definition: TopLevelPlacements.cxx:26
DBPixelGeoManager::m_pixelStaveTypes
PixelStaveTypes * m_pixelStaveTypes
Definition: DBPixelGeoManager.h:151
PixelLegacyManager::PixelLadderCableOffsetY
double PixelLadderCableOffsetY()
Definition: PixelLegacyManager.cxx:325
DBPixelGeoManager::commonItems
virtual InDetDD::SiCommonItems * commonItems() override
Definition: DBPixelGeoManager.cxx:247
PixelLegacyManager::PixelAlTubeLowerBendX
double PixelAlTubeLowerBendX()
Definition: PixelLegacyManager.cxx:566
DBPixelGeoManager::m_PixelIBLGlueGrease
IRDBRecordset_ptr m_PixelIBLGlueGrease
Definition: DBPixelGeoManager.h:72
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
PixelAthClusterMonAlgCfg.zmin
zmin
Definition: PixelAthClusterMonAlgCfg.py:169
index
Definition: index.py:1
PixelLegacyManager::PixelCableStackOffset
double PixelCableStackOffset(int index)
Definition: PixelLegacyManager.cxx:379
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
PixelLegacyManager::PixelLadderServicesY
double PixelLadderServicesY()
Definition: PixelLegacyManager.cxx:314
DBPixelGeoManager::GangedTableIndex
int GangedTableIndex(int index, int type)
Definition: DBPixelGeoManager.cxx:3236
PixelLegacyManager::PixelCableZStart
double PixelCableZStart(int index)
Definition: PixelLegacyManager.cxx:351
mat
GeoMaterial * mat
Definition: LArDetectorConstructionTBEC.cxx:55
DBPixelGeoManager::m_staveTypeTable
IRDBRecordset_ptr m_staveTypeTable
Definition: DBPixelGeoManager.h:77
min
constexpr double min()
Definition: ap_fixedTest.cxx:26
PixelLegacyManager::PixelOmegaEndY
double PixelOmegaEndY()
Definition: PixelLegacyManager.cxx:542
DBPixelGeoManager::m_PixelSwitches
IRDBRecordset_ptr m_PixelSwitches
Definition: DBPixelGeoManager.h:38
InDetDD::DistortedMaterialManager
Definition: DistortedMaterialManager.h:15
PixelLegacyManager::PixelTMTWidthX1
double PixelTMTWidthX1(int iPart)
Definition: PixelLegacyManager.cxx:442
PixelLegacyManager::PixelCableThickness
double PixelCableThickness(int index)
Definition: PixelLegacyManager.cxx:373
DBPixelGeoManager::DesignZActiveArea
virtual double DesignZActiveArea(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:3312
PixelLegacyManager::PixelTMTNumParts
int PixelTMTNumParts()
TMT.
Definition: PixelLegacyManager.cxx:398
DBPixelGeoManager::m_PixelModule
IRDBRecordset_ptr m_PixelModule
Definition: DBPixelGeoManager.h:51
PixelLegacyManager::PixelPigtailEndY
double PixelPigtailEndY()
Definition: PixelLegacyManager.cxx:725
DBPixelGeoManager::PixelServiceZMin
virtual double PixelServiceZMin(const std::string &, int) override
Definition: DBPixelGeoManager.cxx:825
DBPixelGeoManager::PixelServiceRMin
virtual double PixelServiceRMin(const std::string &, int) override
Definition: DBPixelGeoManager.cxx:791
DBPixelGeoManager::m_PixelConicalStave
IRDBRecordset_ptr m_PixelConicalStave
Definition: DBPixelGeoManager.h:73
PixelModuleFeMask_create_db.nModules
nModules
Definition: PixelModuleFeMask_create_db.py:47
deg
#define deg
Definition: SbPolyhedron.cxx:17
PixelMaterialMap::getMaterial
std::string getMaterial(int layerdisk, int typenum, const std::string &volumeName) const
Definition: PixelMaterialMap.cxx:39
DBPixelGeoManager::PixelDiskSupportThickness
virtual double PixelDiskSupportThickness(int isup) override
Definition: DBPixelGeoManager.cxx:3436
DBPixelGeoManager::PixelDiskSupportRMax
virtual double PixelDiskSupportRMax(int isup) override
Definition: DBPixelGeoManager.cxx:3428
PixelLegacyManager::PixelPigtailBendY
double PixelPigtailBendY()
Definition: PixelLegacyManager.cxx:759
DBPixelGeoManager::m_PixelEndcapService
IRDBRecordset_ptr m_PixelEndcapService
Definition: DBPixelGeoManager.h:48
PixelGeometryManager::msgLvl
bool msgLvl(MSG::Level lvl) const
Definition: PixelGeometryManager.h:614
DBPixelGeoManager::m_weightTable
IRDBRecordset_ptr m_weightTable
Definition: DBPixelGeoManager.h:74
PixelLegacyManager::PixelOmegaLowerBendRadius
double PixelOmegaLowerBendRadius()
Definition: PixelLegacyManager.cxx:522
DBPixelGeoManager::DesignNumColsPerChip
virtual int DesignNumColsPerChip(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:3156
athena.value
value
Definition: athena.py:124
DBPixelGeoManager::PixelServiceZMax
virtual double PixelServiceZMax(const std::string &, int) override
Definition: DBPixelGeoManager.cxx:829
DBPixelGeoManager::m_DBMBracket
IRDBRecordset_ptr m_DBMBracket
Definition: DBPixelGeoManager.h:82
PixelLegacyManager::PixelTMTPerModule
bool PixelTMTPerModule(int iPart)
Definition: PixelLegacyManager.cxx:487
DBPixelGeoManager::m_PixelLayer
IRDBRecordset_ptr m_PixelLayer
Definition: DBPixelGeoManager.h:50
DBPixelGeoManager::getPixelServiceRecordString
std::string getPixelServiceRecordString(const std::string &name, const std::string &type, int index)
Definition: DBPixelGeoManager.cxx:999
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
DBPixelGeoManager::allowSkipEtaZero
virtual bool allowSkipEtaZero() override
Definition: DBPixelGeoManager.cxx:2497
DBPixelGeoManager::m_PixelEnvelopeService
IRDBRecordset_ptr m_PixelEnvelopeService
Definition: DBPixelGeoManager.h:49
DBPixelGeoManager::init
void init()
Definition: DBPixelGeoManager.cxx:76
ReadOfcFromCool.field
field
Definition: ReadOfcFromCool.py:48
DBPixelGeoManager::isEndcap
virtual bool isEndcap() override
Definition: DBPixelGeoManager.cxx:378
PixelLegacyManager::PixelOmegaGlueStartY
double PixelOmegaGlueStartY(int index)
Definition: PixelLegacyManager.cxx:610
DBPixelGeoManager::PixelServiceName
virtual std::string PixelServiceName(const std::string &, int) override
Definition: DBPixelGeoManager.cxx:766
DBPixelGeoManager::m_PixelStaveZ
IRDBRecordset_ptr m_PixelStaveZ
Definition: DBPixelGeoManager.h:54
IGeometryDBSvc::getTableSize
virtual unsigned int getTableSize(IRDBRecordset_ptr recordSet) const =0
DBPixelGeoManager::m_ibl
bool m_ibl
Definition: DBPixelGeoManager.h:116
PixelLegacyManager::PixelConnectorPosX
double PixelConnectorPosX(int index)
Definition: PixelLegacyManager.cxx:813
DBPixelGeoManager::PixelECNSectors1
virtual int PixelECNSectors1() override
Definition: DBPixelGeoManager.cxx:2592
PixelLegacyManager::PixelOmegaWallThickness
double PixelOmegaWallThickness()
Definition: PixelLegacyManager.cxx:527
DBPixelGeoManager::dbVersion
virtual int dbVersion() override
Definition: DBPixelGeoManager.h:291
PixelLegacyManager::PixelOmegaGlueThickness
double PixelOmegaGlueThickness(int index)
Definition: PixelLegacyManager.cxx:605
TopLevelPlacements::present
bool present(const std::string &partName) const
Definition: TopLevelPlacements.cxx:35
DBPixelGeoManager::mmcm
double mmcm()
Definition: DBPixelGeoManager.h:810
DBPixelGeoManager::m_legacyManager
PixelLegacyManager * m_legacyManager
Definition: DBPixelGeoManager.h:139
DBPixelGeoManager::moduleType
virtual int moduleType() override
Definition: DBPixelGeoManager.cxx:443
DBPixelGeoManager::IBLStaveModuleNumber
virtual int IBLStaveModuleNumber() override
Definition: DBPixelGeoManager.cxx:1970
DBPixelGeoManager::moduleType3D
virtual int moduleType3D() override
Definition: DBPixelGeoManager.cxx:457
DBPixelGeoManager::m_PixelTopLevel
IRDBRecordset_ptr m_PixelTopLevel
Definition: DBPixelGeoManager.h:55
DBPixelGeoManager::PixelServiceElements
virtual int PixelServiceElements(const std::string &) override
Definition: DBPixelGeoManager.cxx:741
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
DBPixelGeoManager::DesignNumChipsEta
virtual int DesignNumChipsEta(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:3134
DBPixelGeoManager::m_PixelStave
IRDBRecordset_ptr m_PixelStave
Definition: DBPixelGeoManager.h:53
PixelLegacyManager::PixelOmegaUpperBendX
double PixelOmegaUpperBendX()
Definition: PixelLegacyManager.cxx:497
PixelLegacyManager::PixelFluidZ1
double PixelFluidZ1(int index)
Definition: PixelLegacyManager.cxx:639
DBPixelGeoManager::isInnermostPixelLayer
bool isInnermostPixelLayer()
Definition: DBPixelGeoManager.h:277
DBPixelGeoManager::addDefaultMaterials
void addDefaultMaterials()
Definition: DBPixelGeoManager.cxx:1152
DBPixelGeoManager::DesignNumRowsPerChip
virtual int DesignNumRowsPerChip(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:3145
DBPixelGeoManager::db
const IGeometryDBSvc * db() const
Definition: DBPixelGeoManager.h:790
DBPixelGeoManager::m_PixelGangedPixels
IRDBRecordset_ptr m_PixelGangedPixels
Definition: DBPixelGeoManager.h:57
dqt_zlumi_alleff_HIST.A
A
Definition: dqt_zlumi_alleff_HIST.py:110
PixelLegacyManager::PixelTMTBaseX2
double PixelTMTBaseX2(int iPart)
Definition: PixelLegacyManager.cxx:462
IGeometryDBSvc::testField
virtual bool testField(IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const =0
PixelLegacyManager::PixelFluidNumTypes
int PixelFluidNumTypes()
Definition: PixelLegacyManager.cxx:693
DBPixelGeoManager::DesignNumChipsPhi
virtual int DesignNumChipsPhi(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:3122
DBPixelGeoManager::PixelServiceZsymm
virtual bool PixelServiceZsymm(const std::string &, int) override
Definition: DBPixelGeoManager.cxx:778
cm
const double cm
Definition: Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/FCAL_ChannelMap.cxx:25
DBPixelGeoManager::m_PlanarModuleNumber
int m_PlanarModuleNumber
Definition: DBPixelGeoManager.h:117
PixelLegacyManager::PixelFluidX
double PixelFluidX(int index)
Definition: PixelLegacyManager.cxx:678
DBPixelGeoManager::m_PixelRing
IRDBRecordset_ptr m_PixelRing
Definition: DBPixelGeoManager.h:46
PixelLegacyManager::PixelConnectorWidthX
double PixelConnectorWidthX(int index)
Definition: PixelLegacyManager.cxx:798
DBPixelGeoManager::PixelLayerRadius
virtual double PixelLayerRadius() override
Definition: DBPixelGeoManager.cxx:1510
PixelGeometryManager::athenaComps
PixelGeoModelAthenaComps * athenaComps()
Definition: PixelGeometryManager.h:616
DBPixelGeoManager::designType3D
int designType3D()
Definition: DBPixelGeoManager.cxx:3092
DBPixelGeoManager::getPixelServiceRecordTestField
bool getPixelServiceRecordTestField(const std::string &name, const std::string &type, int index)
Definition: DBPixelGeoManager.cxx:1015
PixelLegacyManager::PixelAlTubeLowerBendY
double PixelAlTubeLowerBendY()
Definition: PixelLegacyManager.cxx:571
DBPixelGeoManager::getPixelServiceRecordDouble
double getPixelServiceRecordDouble(const std::string &name, const std::string &type, int index)
Definition: DBPixelGeoManager.cxx:1010
A
DBPixelGeoManager::m_3DModuleNumber
int m_3DModuleNumber
Definition: DBPixelGeoManager.h:117
DBPixelGeoManager::PixelLadderLength
virtual double PixelLadderLength() override
Definition: DBPixelGeoManager.cxx:1526
PixelLegacyManager::PixelCableLabel
std::string PixelCableLabel(int index)
Definition: PixelLegacyManager.cxx:386
AthMessaging::msgLvl
bool msgLvl(const MSG::Level lvl) const
Test the output level.
Definition: AthMessaging.h:151
IRDBAccessSvc::getChildTag
virtual std::string getChildTag(const std::string &childNode, const std::string &parentTag, const std::string &parentNode, const std::string &connName="ATLASDD")=0
Gets the tag name for the node by giving its parent node tag.
PixelLegacyManager::PixelAlTubeUpperBendX
double PixelAlTubeUpperBendX()
Definition: PixelLegacyManager.cxx:551
DBPixelGeoManager::m_zPositionMap
InDetDD::PairIndexMap * m_zPositionMap
Definition: DBPixelGeoManager.h:164
lumiFormat.i
int i
Definition: lumiFormat.py:85
DBPixelGeoManager::m_PixelPigtail
IRDBRecordset_ptr m_PixelPigtail
Definition: DBPixelGeoManager.h:65
DBPixelGeoManager::PixelLadderTilt
virtual double PixelLadderTilt() override
Definition: DBPixelGeoManager.cxx:1558
PixelLegacyManager::PixelFluidZ2
double PixelFluidZ2(int index)
Definition: PixelLegacyManager.cxx:646
DBPixelGeoManager::useLegacy
bool useLegacy()
Definition: DBPixelGeoManager.h:292
PixelMaterialMap
Definition: PixelMaterialMap.h:17
DBPixelGeoManager::m_PixelCommon
IRDBRecordset_ptr m_PixelCommon
Definition: DBPixelGeoManager.h:42
DBPixelGeoManager::PixelFrameSectionFromIndex
int PixelFrameSectionFromIndex(int sectionIndex)
Definition: DBPixelGeoManager.cxx:1397
PixelGeoModelAthenaComps::getIdHelper
const PixelID * getIdHelper() const
Definition: PixelGeoModelAthenaComps.cxx:59
python.CaloCondTools.g
g
Definition: CaloCondTools.py:15
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
DBPixelGeoManager::getFrameElementIndex
int getFrameElementIndex(int sectionIndex, int element)
Definition: DBPixelGeoManager.cxx:1414
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PixelGeometryManager::PixelGeometryManager
PixelGeometryManager(PixelGeoModelAthenaComps *athenaComps)
Definition: PixelGeometryManager.cxx:9
DBPixelGeoManager::m_services
bool m_services
Definition: DBPixelGeoManager.h:104
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
PixelLegacyManager::PixelTMTWidthX2
double PixelTMTWidthX2(int iPart)
Definition: PixelLegacyManager.cxx:437
DecodeVersionKey
This is a helper class to query the version tags from GeoModelSvc and determine the appropriate tag a...
Definition: DecodeVersionKey.h:18
master.flag
bool flag
Definition: master.py:29
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
DBPixelGeoManager::m_PixelFrameSect
IRDBRecordset_ptr m_PixelFrameSect
Definition: DBPixelGeoManager.h:67
PixelLegacyManager::PixelConnectorPosY
double PixelConnectorPosY(int index)
Definition: PixelLegacyManager.cxx:818
DBPixelGeoManager::DesignPitchZ
virtual double DesignPitchZ(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:3332
PixelLegacyManager::DesignPitchRP
double DesignPitchRP(bool isBLayer)
Definition: PixelLegacyManager.cxx:918
checkCorrelInHIST.prefix
dictionary prefix
Definition: checkCorrelInHIST.py:391
DBPixelGeoManager::m_materialMap
PixelMaterialMap * m_materialMap
Definition: DBPixelGeoManager.h:148
PixelAthClusterMonAlgCfg.zmax
zmax
Definition: PixelAthClusterMonAlgCfg.py:169
sign
int sign(int a)
Definition: TRT_StrawNeighbourSvc.h:107
PixelLegacyManager::PixelPigtailPosZ
double PixelPigtailPosZ()
Definition: PixelLegacyManager.cxx:749
DBPixelGeoManager::PixelModuleIndexFromEta
virtual int PixelModuleIndexFromEta(int etaModule) override
Definition: DBPixelGeoManager.cxx:2526
DBPixelGeoManager::m_defaultLengthUnit
double m_defaultLengthUnit
Definition: DBPixelGeoManager.h:170
PixelLegacyManager::PixelOmegaGlueStartX
double PixelOmegaGlueStartX(int index)
Definition: PixelLegacyManager.cxx:600
DBPixelGeoManager::m_gangedIndexMap
std::map< int, std::vector< int > > * m_gangedIndexMap
Definition: DBPixelGeoManager.h:154
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
DBPixelGeoManager::IBLStaveMechanicalStaveOffset
virtual double IBLStaveMechanicalStaveOffset(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:1771
DBPixelGeoManager::PixelBoardThickness
virtual double PixelBoardThickness(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:500
DBPixelGeoManager::m_PixelIBLSupport
IRDBRecordset_ptr m_PixelIBLSupport
Definition: DBPixelGeoManager.h:69
IGeoDbTagSvc
Definition: IGeoDbTagSvc.h:26
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
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
DBPixelGeoManager::m_frameElementMap
std::map< int, std::vector< int > > * m_frameElementMap
Definition: DBPixelGeoManager.h:157
DBPixelGeoManager::m_currentLD
int m_currentLD
Definition: DBPixelGeoManager.h:94
PixelLegacyManager::EmptyRowConnections
int EmptyRowConnections(int index)
Definition: PixelLegacyManager.cxx:900
InDetDD::AthenaComps::geoDbTagSvc
const IGeoDbTagSvc * geoDbTagSvc() const
Definition: InDetDDAthenaComps.h:58
DBPixelGeoManager::m_diskFrontBack
int m_diskFrontBack
Definition: DBPixelGeoManager.h:97
IRDBRecordset_ptr
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition: IRDBAccessSvc.h:25
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition: AthMessaging.h:164
DBPixelGeoManager::PixelPigtailWidthZ
virtual double PixelPigtailWidthZ() override
Definition: DBPixelGeoManager.cxx:2955
DBPixelGeoManager::m_dbmWeightTable
IRDBRecordset_ptr m_dbmWeightTable
Definition: DBPixelGeoManager.h:90
DBPixelGeoManager::isDBM
virtual bool isDBM() override
Definition: DBPixelGeoManager.cxx:382
DBPixelGeoManager::getPixelServiceRecordInt
int getPixelServiceRecordInt(const std::string &name, const std::string &type, int index)
Definition: DBPixelGeoManager.cxx:1004
DBPixelGeoManager::IBLStaveFacePlateThickness
virtual double IBLStaveFacePlateThickness() override
Definition: DBPixelGeoManager.cxx:1692
IGeometryDBSvc::getDouble
virtual double getDouble(IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const =0
The following methods will first look in the text file if provided and then look in the database.
DBPixelGeoManager::PixelPigtailThickness
virtual double PixelPigtailThickness() override
Definition: DBPixelGeoManager.cxx:2937
PixelLegacyManager::PixelPigtailBendRMin
double PixelPigtailBendRMin()
Definition: PixelLegacyManager.cxx:764
DBPixelGeoManager::IBLStaveRotationAxis
virtual GeoTrf::Vector3D IBLStaveRotationAxis() override
Definition: DBPixelGeoManager.cxx:1645
DBPixelGeoManager::m_PixelBarrelCable
IRDBRecordset_ptr m_PixelBarrelCable
Definition: DBPixelGeoManager.h:58
DBPixelGeoManager::m_PixelDisk
IRDBRecordset_ptr m_PixelDisk
Definition: DBPixelGeoManager.h:44
PixelLegacyManager::PixelOmegaGluePosZ
double PixelOmegaGluePosZ(int index)
Definition: PixelLegacyManager.cxx:625
InDetMaterialManager
InDetMaterialManager.
Definition: InDetMaterialManager.h:34
DBPixelGeoManager::isBarrel
virtual bool isBarrel() override
Definition: DBPixelGeoManager.cxx:375
RCU::Check::typeNum
const int typeNum
Definition: Assert.h:75
DBPixelGeoManager::m_allPartsPresent
bool m_allPartsPresent
Definition: DBPixelGeoManager.h:123
DBPixelGeoManager::m_side
int m_side
Definition: DBPixelGeoManager.h:96
PixelLegacyManager::DesignNumRowsPerChip
int DesignNumRowsPerChip(bool isBLayer)
Definition: PixelLegacyManager.cxx:849
PixelLegacyManager::PixelPigtailBendX
double PixelPigtailBendX()
Definition: PixelLegacyManager.cxx:754
DBPixelGeoManager::PixelBarrelNLayer
virtual int PixelBarrelNLayer() override
Definition: DBPixelGeoManager.cxx:1308
DBPixelGeoManager::m_scalingTable
IRDBRecordset_ptr m_scalingTable
Definition: DBPixelGeoManager.h:75
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
IGeoDbTagSvc::getParamSvcName
virtual const std::string & getParamSvcName() const =0
DBPixelGeoManager::m_PixelIBLStave
IRDBRecordset_ptr m_PixelIBLStave
Definition: DBPixelGeoManager.h:68
PixelLegacyManager::PixelTMTPosY
double PixelTMTPosY(int iPart)
Definition: PixelLegacyManager.cxx:472
PixelLegacyManager::PixelFluidThick1
double PixelFluidThick1(int index)
Definition: PixelLegacyManager.cxx:653
PixelLegacyManager
Definition: PixelLegacyManager.h:19
DBPixelGeoManager::ibl
virtual bool ibl() const override
Definition: DBPixelGeoManager.h:230
DBPixelGeoManager::m_servicesOnLadder
bool m_servicesOnLadder
Definition: DBPixelGeoManager.h:103
DBPixelGeoManager::m_phi
int m_phi
Definition: DBPixelGeoManager.h:93
DBPixelGeoManager::m_PixelOmegaGlue
IRDBRecordset_ptr m_PixelOmegaGlue
Definition: DBPixelGeoManager.h:61
InDetDD::PairIndexMap::find
int find(int first, int second) const
Definition: PairIndexMap.cxx:14
PixelLegacyManager::PixelConnectorPosZ
double PixelConnectorPosZ(int index)
Definition: PixelLegacyManager.cxx:823
DBPixelGeoManager::m_PixelReadout
IRDBRecordset_ptr m_PixelReadout
Definition: DBPixelGeoManager.h:56
DBPixelGeoManager::m_PixelIBLFlexMaterial
IRDBRecordset_ptr m_PixelIBLFlexMaterial
Definition: DBPixelGeoManager.h:71
DBPixelGeoManager::PixelEnvelopeRMax
virtual double PixelEnvelopeRMax(int i) override
Definition: DBPixelGeoManager.cxx:1302
PixelLegacyManager::PixelPigtailBendPhiMax
double PixelPigtailBendPhiMax()
Definition: PixelLegacyManager.cxx:779
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
InDetMaterialManager::addScalingTable
void addScalingTable(const IRDBRecordset_ptr &scalingTable)
Definition: InDetMaterialManager.cxx:431
PixelStaveTypes::getFluidType
int getFluidType(int layer, int phiModule) const
Definition: PixelStaveTypes.cxx:51
ParticleGun_SamplingFraction.radius
radius
Definition: ParticleGun_SamplingFraction.py:96
DBPixelGeoManager::m_versionTag
std::string m_versionTag
Definition: DBPixelGeoManager.h:142
DBPixelGeoManager::PixelECSiDz1
virtual double PixelECSiDz1() override
Definition: DBPixelGeoManager.cxx:2582
DBPixelGeoManager::PixelChipGap
virtual double PixelChipGap(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:568
DBPixelGeoManager::m_distortedMatManager
InDetDD::DistortedMaterialManager * m_distortedMatManager
Definition: DBPixelGeoManager.h:136
PixelLegacyManager::PixelPigtailBendPhiMin
double PixelPigtailBendPhiMin()
Definition: PixelLegacyManager.cxx:774
PlotCalibFromCool.rl
rl
Definition: PlotCalibFromCool.py:529
PixelLegacyManager::DesignPitchZLong
double DesignPitchZLong(bool isBLayer)
Definition: PixelLegacyManager.cxx:938
DBPixelGeoManager::PixelChipThickness
virtual double PixelChipThickness(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:588
PixelLegacyManager::PixelOmegaLowerBendX
double PixelOmegaLowerBendX()
Definition: PixelLegacyManager.cxx:512
PixelLegacyManager::PixelOmegaUpperBendRadius
double PixelOmegaUpperBendRadius()
Definition: PixelLegacyManager.cxx:507
DBPixelGeoManager::m_dc1Geometry
bool m_dc1Geometry
Definition: DBPixelGeoManager.h:110
python.SystemOfUnits.mm
int mm
Definition: SystemOfUnits.py:83
DBPixelGeoManager::m_dbVersion
int m_dbVersion
Definition: DBPixelGeoManager.h:167
PixelLegacyManager::PixelPigtailFlatWidthZ
double PixelPigtailFlatWidthZ()
Definition: PixelLegacyManager.cxx:730
PixelLegacyManager::PixelOmegaLowerBendY
double PixelOmegaLowerBendY()
Definition: PixelLegacyManager.cxx:517
get_generator_info.version
version
Definition: get_generator_info.py:33
PixelLegacyManager::SetDC1Geometry
void SetDC1Geometry(bool flag)
Definition: PixelLegacyManager.h:70
DBPixelGeoManager::m_PixelIBLFlex
IRDBRecordset_ptr m_PixelIBLFlex
Definition: DBPixelGeoManager.h:70
PixelLegacyManager::PixelCableElements
int PixelCableElements()
Definition: PixelLegacyManager.cxx:345
DBPixelGeoManager::m_PixelOmega
IRDBRecordset_ptr m_PixelOmega
Definition: DBPixelGeoManager.h:60
PixelLegacyManager::PixelLadderCableOffsetX
double PixelLadderCableOffsetX()
Definition: PixelLegacyManager.cxx:320
DBPixelGeoManager::PixelEnvelopeZ
virtual double PixelEnvelopeZ(int i) override
Definition: DBPixelGeoManager.cxx:1290
DeMoScan.index
string index
Definition: DeMoScan.py:364
DBPixelGeoManager::PixelDiskSupportRMin
virtual double PixelDiskSupportRMin(int isup) override
Definition: DBPixelGeoManager.cxx:3422
PixelLegacyManager::PixelConnectorWidthY
double PixelConnectorWidthY(int index)
Definition: PixelLegacyManager.cxx:803
DBPixelGeoManager::m_pDDmgr
InDetDD::PixelDetectorManager * m_pDDmgr
Definition: DBPixelGeoManager.h:129
PixelLegacyManager::PixelPigtailThickness
double PixelPigtailThickness()
Definition: PixelLegacyManager.cxx:715
a
TList * a
Definition: liststreamerinfos.cxx:10
PixelLegacyManager::PixelFluidWidth
double PixelFluidWidth(int index)
Definition: PixelLegacyManager.cxx:672
PixelLegacyManager::PixelNumOmegaGlueElements
int PixelNumOmegaGlueElements()
Definition: PixelLegacyManager.cxx:595
InDetDD::AthenaComps::geomDB
const IGeometryDBSvc * geomDB() const
Definition: InDetDDAthenaComps.h:63
PixelLegacyManager::PixelConnectorWidthZ
double PixelConnectorWidthZ(int index)
Definition: PixelLegacyManager.cxx:808
CondAlgsOpts.found
int found
Definition: CondAlgsOpts.py:101
DBPixelGeoManager::PixelDiskSupportMaterialTypeNum
virtual int PixelDiskSupportMaterialTypeNum(int isup) override
Definition: DBPixelGeoManager.cxx:3469
DBPixelGeoManager::m_PixelAlTube
IRDBRecordset_ptr m_PixelAlTube
Definition: DBPixelGeoManager.h:62
DBPixelGeoManager::m_eta
int m_eta
Definition: DBPixelGeoManager.h:93
DBPixelGeoManager::IBLStaveFacePlateGreaseThickness
virtual double IBLStaveFacePlateGreaseThickness() override
Definition: DBPixelGeoManager.cxx:1998
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::PixelTMTBaseX1
double PixelTMTBaseX1(int iPart)
Definition: PixelLegacyManager.cxx:452
DEBUG
#define DEBUG
Definition: page_access.h:11
InDetDD::PairIndexMap
Class to store map between pair of two ints and an int.
Definition: PairIndexMap.h:16
DBPixelGeoManager::PixelNModule
virtual int PixelNModule() override
Definition: DBPixelGeoManager.cxx:2415
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
IGeometryDBSvc::getInt
virtual int getInt(IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const =0
PixelLegacyManager::PixelOmegaGlueTypeNum
int PixelOmegaGlueTypeNum(int index)
Definition: PixelLegacyManager.cxx:630
DBPixelGeoManager::PixelFluidNumTypes
virtual int PixelFluidNumTypes() override
Definition: DBPixelGeoManager.cxx:2903
DBPixelGeoManager::m_pMatMgr
InDetMaterialManager * m_pMatMgr
Definition: DBPixelGeoManager.h:132
DBPixelGeoManager::m_initialLayout
bool m_initialLayout
Definition: DBPixelGeoManager.h:107
PixelLegacyManager::DesignDiodesEtaTotal
int DesignDiodesEtaTotal(bool isBLayer)
Definition: PixelLegacyManager.cxx:873
DBPixelGeoManager::PixelEndcapMajorVersion
virtual int PixelEndcapMajorVersion() override
Definition: DBPixelGeoManager.cxx:1201
DBPixelGeoManager::m_PixelEndcapGeneral
IRDBRecordset_ptr m_PixelEndcapGeneral
Definition: DBPixelGeoManager.h:47
PixelLegacyManager::PixelPigtailWidthZ
double PixelPigtailWidthZ()
Definition: PixelLegacyManager.cxx:738
DBPixelGeoManager::m_DBMCage
IRDBRecordset_ptr m_DBMCage
Definition: DBPixelGeoManager.h:83
DBPixelGeoManager::m_PixelModuleSvc
IRDBRecordset_ptr m_PixelModuleSvc
Definition: DBPixelGeoManager.h:52
DBPixelGeoManager::DesignPitchZLongEnd
virtual double DesignPitchZLongEnd(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:3355
PixelLegacyManager::PixelFluidType
int PixelFluidType(int index)
Definition: PixelLegacyManager.cxx:688
IGeometryDBSvc::getString
virtual std::string getString(IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const =0
DBPixelGeoManager::PixelBarrelMajorVersion
virtual int PixelBarrelMajorVersion() override
Definition: DBPixelGeoManager.cxx:1191
PixelLegacyManager::PixelAlTubeUpperBendRadius
double PixelAlTubeUpperBendRadius()
Definition: PixelLegacyManager.cxx:561
DBPixelGeoManager::PixelEnvelopeRMin
virtual double PixelEnvelopeRMin(int i) override
Definition: DBPixelGeoManager.cxx:1297
PixelLegacyManager::DesignNumChipsPhi
int DesignNumChipsPhi()
Definition: PixelLegacyManager.cxx:839
PixelLegacyManager::DesignRPActiveArea
double DesignRPActiveArea()
Definition: PixelLegacyManager.cxx:907
DBPixelGeoManager::m_materialTable
IRDBRecordset_ptr m_materialTable
Definition: DBPixelGeoManager.h:76
PixelLegacyManager::PixelAlTubeLength
double PixelAlTubeLength()
Definition: PixelLegacyManager.cxx:586
PixelLegacyManager::oldFrame
bool oldFrame()
Definition: PixelLegacyManager.cxx:62
DBPixelGeoManager::m_PixelSimpleService
IRDBRecordset_ptr m_PixelSimpleService
Definition: DBPixelGeoManager.h:41
DBPixelGeoManager::m_alignable
bool m_alignable
Definition: DBPixelGeoManager.h:113
DBPixelGeoManager::PixelPigtailBendRMin
virtual double PixelPigtailBendRMin() override
Definition: DBPixelGeoManager.cxx:2992
InDetDD::AthenaComps::detStore
const StoreGateSvc * detStore() const
Definition: InDetDDAthenaComps.h:53
PixelLegacyManager::PixelPigtailBendRMax
double PixelPigtailBendRMax()
Definition: PixelLegacyManager.cxx:769
PixelLegacyManager::PixelTMTPosZ2
double PixelTMTPosZ2(int iPart)
Definition: PixelLegacyManager.cxx:482
section
void section(const std::string &sec)
Definition: TestTriggerMenuAccess.cxx:22
DBPixelGeoManager::getPixelServiceRecordset
virtual IRDBRecordset_ptr getPixelServiceRecordset(const std::string &type) override
Definition: DBPixelGeoManager.cxx:1026
PixelStaveTypes
Definition: PixelStaveTypes.h:14
InDetMaterialManager::getMaterial
const GeoMaterial * getMaterial(const std::string &materialName)
Get material. First looks for locally defined material and if not found looks in GeoModel material ma...
Definition: InDetMaterialManager.cxx:96
DBPixelGeoManager::DesignNumEmptyRowsInGap
virtual int DesignNumEmptyRowsInGap(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:3207
DBPixelGeoManager::m_PixelBarrelGeneral
IRDBRecordset_ptr m_PixelBarrelGeneral
Definition: DBPixelGeoManager.h:39
InDetDD::AthenaComps::rdbAccessSvc
IRDBAccessSvc * rdbAccessSvc()
Definition: InDetDDAthenaComps.h:74
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
DBPixelGeoManager::m_endcapInFrames
int m_endcapInFrames
Definition: DBPixelGeoManager.h:100
DBPixelGeoManager::m_BarrelEndcap
int m_BarrelEndcap
Definition: DBPixelGeoManager.h:95
DBPixelGeoManager::CalculateThickness
double CalculateThickness(double, const std::string &)
Definition: DBPixelGeoManager.cxx:437
DBPixelGeoManager::DesignPitchRP
virtual double DesignPitchRP(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:3322
PixelLegacyManager::DesignPitchZ
double DesignPitchZ(bool isBLayer)
Definition: PixelLegacyManager.cxx:925
DBPixelGeoManager::PixelStaveIndex
virtual int PixelStaveIndex(int layer) override
Definition: DBPixelGeoManager.cxx:1483
PixelLegacyManager::PixelAlTubeUpperBendY
double PixelAlTubeUpperBendY()
Definition: PixelLegacyManager.cxx:556
python.SystemOfUnits.degree
tuple degree
Definition: SystemOfUnits.py:106
InDetDD::PairIndexMap::add
void add(int first, int second, int value)
Definition: PairIndexMap.cxx:9
PixelLegacyManager::PixelPigtailStartY
double PixelPigtailStartY()
Definition: PixelLegacyManager.cxx:720
DBPixelGeoManager::m_PixelFluid
IRDBRecordset_ptr m_PixelFluid
Definition: DBPixelGeoManager.h:63
DBPixelGeoManager::PixelServiceRMax
virtual double PixelServiceRMax(const std::string &, int) override
Definition: DBPixelGeoManager.cxx:795
DBPixelGeoManager::GetLD
virtual int GetLD() override
Definition: DBPixelGeoManager.h:260
DBPixelGeoManager::getMaterialName
virtual std::string getMaterialName(const std::string &volumeName, int layerdisk=0, int typenum=0) override
Definition: DBPixelGeoManager.cxx:1147
DBPixelGeoManager::m_DBMModule
IRDBRecordset_ptr m_DBMModule
Definition: DBPixelGeoManager.h:87
DBPixelGeoManager::m_PixelDiskRing
IRDBRecordset_ptr m_PixelDiskRing
Definition: DBPixelGeoManager.h:45
PixelLegacyManager::DesignNumEmptyRowsInGap
int DesignNumEmptyRowsInGap()
Definition: PixelLegacyManager.cxx:881
description
std::string description
glabal timer - how long have I taken so far?
Definition: hcg.cxx:88
DBPixelGeoManager::DesignPitchZLong
virtual double DesignPitchZLong(bool isModule3D=false) override
Definition: DBPixelGeoManager.cxx:3342
DBPixelGeoManager::m_DBMTelescope
IRDBRecordset_ptr m_DBMTelescope
Definition: DBPixelGeoManager.h:80
DBPixelGeoManager::m_commonItems
InDetDD::SiCommonItems * m_commonItems
Definition: DBPixelGeoManager.h:126
DBPixelGeoManager::m_dbm
bool m_dbm
Definition: DBPixelGeoManager.h:120
DBPixelGeoManager::m_placements
TopLevelPlacements * m_placements
Definition: DBPixelGeoManager.h:145
DBPixelGeoManager::GangedType
int GangedType()
Definition: DBPixelGeoManager.cxx:3220