ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
PixelGeoDC2::OraclePixGeoManager Class Reference

#include <PixelDetectorDC1DC2.h>

Inheritance diagram for PixelGeoDC2::OraclePixGeoManager:
Collaboration diagram for PixelGeoDC2::OraclePixGeoManager:

Public Member Functions

 OraclePixGeoManager ()
 
virtual StoredMaterialManagergetMaterialManager () override
 
virtual InDetDD::PixelDetectorManagerGetPixelDDManager () override
 
virtual std::string versionTag () const override
 
virtual void SetDetElementName (std::string) override
 
virtual std::string GetDetElementName () override
 
virtual void SetDesignName (std::string) override
 
virtual std::string GetDesignName () override
 
virtual void SetBarrelModuleName (std::string) override
 
virtual std::string GetBarrelModuleName () override
 
virtual void SetEndcapModuleName (std::string) override
 
virtual std::string GetEndcapModuleName () override
 
virtual void SetLayer0ModuleName (std::string) override
 
virtual std::string GetLayer0ModuleName () override
 
virtual void SetServices (bool isservice) override
 
virtual bool DoServices () override
 
virtual void SetG3CompatibleDigits (bool flag) override
 
virtual bool G3CompatibleDigits () const 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 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 void SetCurrentLD (int i) override
 
virtual int GetLD () override
 
virtual bool isLDPresent () override
 
virtual void SetPos () override
 
virtual void SetNeg () override
 
virtual int GetSide () override
 
virtual int PixelBarrelMajorVersion () override
 
virtual int PixelBarrelMinorVersion () override
 
virtual int PixelEndcapMajorVersion () override
 
virtual int PixelEndcapMinorVersion () override
 
virtual double PixelBoardWidth () override
 
virtual double PixelBoardLength () override
 
virtual double PixelBoardThickness () override
 
virtual double PixelBoardActiveLen () override
 
virtual double PixelHybridWidth () override
 
virtual double PixelHybridLength () override
 
virtual double PixelHybridThickness () override
 
virtual double PixelChipWidth () override
 
virtual double PixelChipLength () override
 
virtual double PixelChipGap () override
 
virtual double PixelChipThickness () override
 
virtual double PixelECCarbonRMin (std::string) override
 
virtual double PixelECCarbonRMax (std::string) override
 
virtual double PixelECCarbonThickness (std::string) override
 
virtual std::string PixelECCarbonMaterial (std::string) override
 
virtual double * PixelServiceR (std::string, int) override
 
virtual double * PixelServiceZ (std::string, int) override
 
virtual std::string PixelServiceMaterial (std::string, int) override
 
virtual int PixelServiceLD (std::string, int) override
 
virtual int PixelServiceNFrame (std::string) override
 
virtual double GetATLSRadius () override
 
virtual double GetATLSRmin () override
 
virtual double GetATLSLength () override
 
virtual double PixelRMin () override
 
virtual double PixelRMax () override
 
virtual double PixelHalfLength () override
 
virtual int PixelBarrelNLayer () override
 
virtual double PixelBarrelRMin () override
 
virtual double PixelBarrelRMax () override
 
virtual double PixelBarrelHalfLength () override
 
virtual double PixelLayerRadius () override
 
virtual double PixelLadderHalfLength () override
 
virtual double PixelLadderWidth () override
 
virtual double PixelLadderThickness () override
 
virtual double PixelLadderTilt () override
 
virtual int NPixelSectors () override
 
virtual double PixelBalcony () override
 
virtual int PixelNModule () override
 
virtual double PixelModuleDrDistance () override
 
virtual double PixelModuleAngle () override
 
virtual double PixelModulePosition (int) override
 
virtual double PixelModuleShiftFlag (int) override
 
virtual double PixelModuleAngleSign (int) override
 
virtual double PixelCableWidth () override
 
virtual double PixelCableThickness () override
 
virtual double PixelCableZMax () override
 
virtual double PixelCableZMin () override
 
virtual double PixelCableDeltaZ () override
 
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 PixelDiskPosition () override
 
virtual double PixelECSiDz1 () override
 
virtual double PixelECSiDz2 () override
 
virtual double PixelDiskRMin () 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 double DesignRPActiveArea () override
 
virtual double DesignZActiveArea () override
 
virtual int DesignCircuitsPerColumn () override
 
virtual int DesignCircuitsPerRow () override
 
virtual int DesignCellColumnsPerCircuit (bool isBLayer) override
 
virtual int DesignCellRowsPerCircuit (bool isBLayer) override
 
virtual int DesignDiodeColumnsPerCircuit (bool isBLayer) override
 
virtual int DesignDiodeRowsPerCircuit (bool isBLayer) override
 
virtual double DesignPitchRP (bool isBLayer) override
 
virtual double DesignGapRP () override
 
virtual double DesignPitchZ (bool isBLayer) override
 
virtual double DesignGapZ () override
 
virtual int NumberOfEmptyRows () override
 
virtual int EmptyRows (int index) override
 
virtual int EmptyRowConnections (int index) override
 
virtual double Voltage (bool isBLayer) override
 
virtual double Temperature (bool isBLayer) override
 
virtual InDetDD::SiCommonItemscommonItems () override
 
virtual const InDetDD::SiCommonItemscommonItems () const override
 
virtual void setCommonItems (InDetDD::SiCommonItems *commonItems) override
 
const PixelIDgetIdHelper () override
 
bool msgLvl (const MSG::Level lvl) const
 Test the output level. More...
 
MsgStream & msg () const
 The standard message stream. More...
 
MsgStream & msg (const MSG::Level lvl) const
 The standard message stream. More...
 
void setLevel (MSG::Level lvl)
 Change the current logging level. More...
 

Private Member Functions

double CalculateThickness (double, const std::string &)
 
void initMessaging () const
 Initialize our message level and MessageSvc. More...
 

Private Attributes

IRDBRecordset_ptr m_atls
 
IRDBRecordset_ptr m_PixelBarrelGeneral
 
IRDBRecordset_ptr m_PixelBarrelService
 
IRDBRecordset_ptr m_PixelCommon
 
IRDBRecordset_ptr m_PixelDisk
 
IRDBRecordset_ptr m_PixelEndcapGeneral
 
IRDBRecordset_ptr m_PixelEndcapService
 
IRDBRecordset_ptr m_PixelLayer
 
IRDBRecordset_ptr m_PixelModule
 
IRDBRecordset_ptr m_PixelStave
 
IRDBRecordset_ptr m_pxbo
 
IRDBRecordset_ptr m_pxbi
 
IRDBRecordset_ptr m_pxei
 
IRDBRecordset_ptr m_pefi
 
IRDBRecordset_ptr m_peoi
 
IRDBRecordset_ptr m_pdch
 
IRDBRecordset_ptr m_pxbd
 
IRDBRecordset_ptr m_plor
 
IRDBRecordset_ptr m_plrn
 
int m_eta
 
int m_phi
 
int m_currentLD
 
int m_BarrelEndcap
 
int m_side
 
int m_barrelInFrames
 
int m_endcapInFrames
 
bool m_services
 
bool m_g3CompatibleDigits
 
bool m_initialLayout
 
bool m_dc1Geometry
 
bool m_alignable
 
InDetDD::SiCommonItemsm_commonItems
 
InDetDD::PixelDetectorManagerm_pDDmgr
 
StoredMaterialManagerm_pMatMgr
 
StoreGateSvcm_pDetStore = nullptr
 
std::string m_elementsObjectName
 
std::string m_designsObjectName
 
std::string m_barrelDesignName
 
std::string m_endcapDesignName
 
std::string m_blayerDesignName
 
std::string m_versionTag
 
std::string m_nm
 Message source name. More...
 
boost::thread_specific_ptr< MsgStream > m_msg_tls
 MsgStream instance (a std::cout like with print-out levels) More...
 
std::atomic< IMessageSvc * > m_imsg { nullptr }
 MessageSvc pointer. More...
 
std::atomic< MSG::Level > m_lvl { MSG::NIL }
 Current logging level. More...
 
std::atomic_flag m_initialized ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
 Messaging initialized (initMessaging) More...
 

Detailed Description

Definition at line 611 of file PixelDetectorDC1DC2.h.

Constructor & Destructor Documentation

◆ OraclePixGeoManager()

OraclePixGeoManager::OraclePixGeoManager ( )

Definition at line 1561 of file PixelDetectorDC1DC2.cxx.

1562  : m_eta(0),
1563  m_phi(0),
1564  m_currentLD(0),
1565  m_BarrelEndcap(0),
1566  m_side(0),
1567  m_services(true),
1568  m_g3CompatibleDigits(false),
1569  m_initialLayout(false),
1570  m_dc1Geometry(false),
1571  m_alignable(true),
1572  m_commonItems(nullptr),
1573  m_pDDmgr(nullptr),
1574  m_pMatMgr(nullptr)
1575 {
1576 
1577 
1578  // Get service locator from Bootstrap
1579  ISvcLocator* svcLocator = Gaudi::svcLocator(); // from Bootstrap
1580 
1581  ATH_MSG_DEBUG("Using ORACLE PIXEL GEOMETRY MANAGER");
1582 
1583  // Get the DetStore
1584  SmartIF<StoreGateSvc> detStore{svcLocator->service("DetectorStore")};
1585  if (!detStore.isValid()) ATH_MSG_FATAL("Could not locate DetectorStore");
1586  m_pDetStore = detStore.get();
1587 
1588  SmartIF<IRDBAccessSvc> rdbSvc{svcLocator->service("RDBAccessSvc")};
1589  if (!rdbSvc.isValid()) ATH_MSG_FATAL("Could not locate RDBAccessSvc");
1590 
1591 
1592  // Get version tag and node for Pixel.
1593  DecodeVersionKey versionKey("Pixel");
1594  const std::string& detectorKey = versionKey.tag();
1595  const std::string& detectorNode = versionKey.node();
1596 
1597  m_versionTag = rdbSvc->getChildTag("Pixel", versionKey.tag(), versionKey.node());
1598 
1599 
1601 //
1602 // Gets the structures from the det store
1603 //
1605 
1606  ATH_MSG_INFO("Retrieving Record Sets from database ...");
1607 
1608  DecodeVersionKey versionKeyAtlas("Pixel");
1609  m_atls = rdbSvc->getRecordsetPtr("AtlasMother",versionKeyAtlas.tag(), versionKeyAtlas.node());
1610  m_PixelBarrelGeneral = rdbSvc->getRecordsetPtr("PixelBarrelGeneral", detectorKey, detectorNode);
1611  m_PixelBarrelService = rdbSvc->getRecordsetPtr("PixelBarrelService", detectorKey, detectorNode);
1612  m_PixelCommon = rdbSvc->getRecordsetPtr("PixelCommon", detectorKey, detectorNode);
1613  m_PixelDisk = rdbSvc->getRecordsetPtr("PixelDisk", detectorKey, detectorNode);
1614  m_PixelEndcapGeneral = rdbSvc->getRecordsetPtr("PixelEndcapGeneral", detectorKey, detectorNode);
1615  m_PixelEndcapService = rdbSvc->getRecordsetPtr("PixelEndcapService", detectorKey, detectorNode);
1616  m_PixelLayer = rdbSvc->getRecordsetPtr("PixelLayer", detectorKey, detectorNode);
1617  m_PixelModule = rdbSvc->getRecordsetPtr("PixelModule", detectorKey, detectorNode);
1618  m_PixelStave = rdbSvc->getRecordsetPtr("PixelStave", detectorKey, detectorNode);
1619 
1620 
1621  // These are for the design
1622  m_pxbi = rdbSvc->getRecordsetPtr("PXBI", detectorKey, detectorNode);
1623  m_pxei = rdbSvc->getRecordsetPtr("PXEI", detectorKey, detectorNode);
1624  m_pdch = rdbSvc->getRecordsetPtr("PDCH", detectorKey, detectorNode);
1625  m_pxbd = rdbSvc->getRecordsetPtr("PXBD", detectorKey, detectorNode);
1626  m_plor = rdbSvc->getRecordsetPtr("PLOR", detectorKey, detectorNode);
1627  m_plrn = rdbSvc->getRecordsetPtr("PLRN", detectorKey, detectorNode);
1628 
1629  ATH_MSG_INFO("... Record Sets retrieved.");
1630 
1631  // cache the number of inner frames
1632 
1633  m_barrelInFrames = (*m_PixelBarrelGeneral)[0]->getInt("NFRAMEIN");
1634  m_endcapInFrames = (*m_PixelEndcapGeneral)[0]->getInt("NFRAMEIN");
1635  //
1636  // Get the mat manager from the store:
1637  //
1638  StoredMaterialManager* materialManager = nullptr;
1639  if (StatusCode::SUCCESS == m_pDetStore->retrieve(materialManager, std::string("MATERIALS"))) {
1640  m_pMatMgr = materialManager;
1641  }
1642  //
1643  // Print the version number for the barrel and endcap geometry (from NOVA)
1644  //
1645  //cout << "Instantiating Pixel Detector" << endl;
1646  //cout << "Barrel Version " << this->PixelBarrelMajorVersion() << "." << this->PixelBarrelMinorVersion() << endl;
1647  //cout << "Endcap Version " << this->PixelEndcapMajorVersion() << "." << this->PixelEndcapMinorVersion() << endl;
1648 }

Member Function Documentation

◆ Alignable()

bool OraclePixGeoManager::Alignable ( ) const
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2062 of file PixelDetectorDC1DC2.cxx.

2062  {
2063  return m_alignable;
2064 }

◆ CalculateThickness()

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

Definition at line 1730 of file PixelDetectorDC1DC2.cxx.

1730  {
1731  GeoIntrusivePtr<const GeoMaterial> material{m_pMatMgr->getMaterial(mat)};
1732  double rl = material->getRadLength();
1733  return -1.*rl*tck/100.;
1734 }

◆ commonItems() [1/2]

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

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2215 of file PixelDetectorDC1DC2.cxx.

2216 {
2217  return m_commonItems;
2218 }

◆ commonItems() [2/2]

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

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2208 of file PixelDetectorDC1DC2.cxx.

2209 {
2210  return m_commonItems;
2211 }

◆ DC1Geometry()

bool OraclePixGeoManager::DC1Geometry ( ) const
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2058 of file PixelDetectorDC1DC2.cxx.

2058  {
2059  return m_dc1Geometry;
2060 }

◆ DesignCellColumnsPerCircuit()

int OraclePixGeoManager::DesignCellColumnsPerCircuit ( bool  isBLayer)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2150 of file PixelDetectorDC1DC2.cxx.

2151 {
2152  double ActiveArea = DesignZActiveArea();
2153  double GapZ = DesignGapZ();
2154  double pitchZ = DesignPitchZ(isBLayer);
2155  int CPR = DesignCircuitsPerRow();
2156  return static_cast<int>((ActiveArea - GapZ*CPR)/(CPR*pitchZ) + 0.5);
2157 }

◆ DesignCellRowsPerCircuit()

int OraclePixGeoManager::DesignCellRowsPerCircuit ( bool  isBLayer)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2142 of file PixelDetectorDC1DC2.cxx.

2143 {
2144  double ActiveArea = DesignRPActiveArea();
2145  double GapRP = DesignGapRP();
2146  double pitchRP = DesignPitchRP(isBLayer);
2147  return static_cast<int>((ActiveArea - GapRP)/pitchRP + 0.5);
2148 }

◆ DesignCircuitsPerColumn()

int PixelGeoDC2::OraclePixGeoManager::DesignCircuitsPerColumn ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1130 of file PixelDetectorDC1DC2.h.

1130  {
1131  //
1132  // This should be (*m_pdch)[0]->getDouble("NRPCHIP"), but in the current
1133  // design we prefer to have one chip in the rphi direction
1134  // and define the connections for the pixels in the gap
1135  return 1;
1136 }

◆ DesignCircuitsPerRow()

int PixelGeoDC2::OraclePixGeoManager::DesignCircuitsPerRow ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1137 of file PixelDetectorDC1DC2.h.

1137  {
1138  return (*m_pdch)[0]->getInt("NZCHIP");
1139 }

◆ DesignDiodeColumnsPerCircuit()

int OraclePixGeoManager::DesignDiodeColumnsPerCircuit ( bool  isBLayer)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2166 of file PixelDetectorDC1DC2.cxx.

2167 {
2168  double ActiveArea = DesignZActiveArea();
2169  double GapZ = DesignGapZ();
2170  double pitchZ = DesignPitchZ(isBLayer) ;
2171  int CPR = DesignCircuitsPerRow();
2172  return static_cast<int>((ActiveArea - GapZ*CPR)/(CPR*pitchZ) + 0.5);
2173 }

◆ DesignDiodeRowsPerCircuit()

int OraclePixGeoManager::DesignDiodeRowsPerCircuit ( bool  isBLayer)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2159 of file PixelDetectorDC1DC2.cxx.

2160 {
2161  double ActiveArea = DesignRPActiveArea();
2162  double pitchRP = DesignPitchRP(isBLayer);
2163  return static_cast<int>((ActiveArea)/pitchRP + 0.5);
2164 }

◆ DesignGapRP()

double PixelGeoDC2::OraclePixGeoManager::DesignGapRP ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1121 of file PixelDetectorDC1DC2.h.

1121  {
1122  return (*m_pdch)[0]->getDouble("GAPRP")*Gaudi::Units::cm;
1123 }

◆ DesignGapZ()

double PixelGeoDC2::OraclePixGeoManager::DesignGapZ ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1125 of file PixelDetectorDC1DC2.h.

1125  {
1126  return (*m_pdch)[0]->getDouble("GAPZ")*Gaudi::Units::cm;
1127 }

◆ DesignPitchRP()

double PixelGeoDC2::OraclePixGeoManager::DesignPitchRP ( bool  isBLayer)
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1102 of file PixelDetectorDC1DC2.h.

1102  {
1103  if(isBLayer) return (*m_pxbd)[0]->getDouble("PITCHRP")*Gaudi::Units::cm;
1104  else return (*m_pxbd)[1]->getDouble("PITCHRP")*Gaudi::Units::cm;
1105 }

◆ DesignPitchZ()

double PixelGeoDC2::OraclePixGeoManager::DesignPitchZ ( bool  isBLayer)
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1107 of file PixelDetectorDC1DC2.h.

1107  {
1108  double pitchZ;
1109  if(isBLayer) {
1110  if (m_dc1Geometry) { // Override NOVA
1111  pitchZ = 300 * Gaudi::Units::micrometer;
1112  } else {
1113  pitchZ = (*m_pxbd)[0]->getDouble("PITCHZ") * Gaudi::Units::cm;
1114  }
1115  } else {
1116  pitchZ = (*m_pxbd)[1]->getDouble("PITCHZ") * Gaudi::Units::cm;
1117  }
1118  return pitchZ;
1119 }

◆ DesignRPActiveArea()

double PixelGeoDC2::OraclePixGeoManager::DesignRPActiveArea ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1095 of file PixelDetectorDC1DC2.h.

1095  {
1096  return (*m_pxbi)[0]->getDouble("DYACTIVE")*Gaudi::Units::cm;
1097 }

◆ DesignZActiveArea()

double PixelGeoDC2::OraclePixGeoManager::DesignZActiveArea ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1098 of file PixelDetectorDC1DC2.h.

1098  {
1099  return (*m_pxbi)[0]->getDouble("DZELEB")*Gaudi::Units::cm;
1100 }

◆ DoServices()

bool OraclePixGeoManager::DoServices ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2046 of file PixelDetectorDC1DC2.cxx.

2046  {
2047  return m_services;
2048 }

◆ EmptyRowConnections()

int OraclePixGeoManager::EmptyRowConnections ( int  index)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2187 of file PixelDetectorDC1DC2.cxx.

2188 {
2189  const std::string a=std::string("_")+std::to_string(index);
2190  return static_cast<int>((*m_pdch)[0]->getInt("JYCONNEC"+a)) - 1;
2191 }

◆ EmptyRows()

int OraclePixGeoManager::EmptyRows ( int  index)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2181 of file PixelDetectorDC1DC2.cxx.

2182 {
2183  const std::string a=std::string("_")+std::to_string(index);
2184  return static_cast<int>((*m_pdch)[0]->getInt("JYEMPTY"+a)) - 1;
2185 }

◆ Eta()

virtual int PixelGeoDC2::OraclePixGeoManager::Eta ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 759 of file PixelDetectorDC1DC2.h.

759 {return m_eta;}

◆ G3CompatibleDigits()

bool OraclePixGeoManager::G3CompatibleDigits ( ) const
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2050 of file PixelDetectorDC1DC2.cxx.

2050  {
2051  return m_g3CompatibleDigits;
2052 }

◆ GetATLSLength()

double PixelGeoDC2::OraclePixGeoManager::GetATLSLength ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 935 of file PixelDetectorDC1DC2.h.

936 {
937  return (*m_atls)[0]->getDouble("ZMAX")*Gaudi::Units::cm;
938 }

◆ GetATLSRadius()

double PixelGeoDC2::OraclePixGeoManager::GetATLSRadius ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 926 of file PixelDetectorDC1DC2.h.

927 {
928  return (*m_atls)[0]->getDouble("RMAX")*Gaudi::Units::cm;
929  }

◆ GetATLSRmin()

double PixelGeoDC2::OraclePixGeoManager::GetATLSRmin ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 931 of file PixelDetectorDC1DC2.h.

932 {
933  return (*m_atls)[0]->getDouble("RMIN")*Gaudi::Units::cm;
934 }

◆ GetBarrelModuleName()

std::string OraclePixGeoManager::GetBarrelModuleName ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2101 of file PixelDetectorDC1DC2.cxx.

2101  {
2102  return m_barrelDesignName;
2103 }

◆ GetDesignName()

std::string OraclePixGeoManager::GetDesignName ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2093 of file PixelDetectorDC1DC2.cxx.

2093  {
2094  return m_designsObjectName;
2095 }

◆ GetDetElementName()

std::string OraclePixGeoManager::GetDetElementName ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2085 of file PixelDetectorDC1DC2.cxx.

2085  {
2086  return m_elementsObjectName;
2087 }

◆ GetEndcapModuleName()

std::string OraclePixGeoManager::GetEndcapModuleName ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2109 of file PixelDetectorDC1DC2.cxx.

2109  {
2110  return m_endcapDesignName;
2111 }

◆ getIdHelper()

const PixelID * OraclePixGeoManager::getIdHelper ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2228 of file PixelDetectorDC1DC2.cxx.

2229 {
2230  return dynamic_cast<const PixelID *>(m_commonItems->getIdHelper());
2231 }

◆ GetLayer0ModuleName()

std::string OraclePixGeoManager::GetLayer0ModuleName ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2117 of file PixelDetectorDC1DC2.cxx.

2117  {
2118  return m_blayerDesignName;
2119 }

◆ GetLD()

virtual int PixelGeoDC2::OraclePixGeoManager::GetLD ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 770 of file PixelDetectorDC1DC2.h.

770 {return m_currentLD;}

◆ getMaterialManager()

StoredMaterialManager * OraclePixGeoManager::getMaterialManager ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1650 of file PixelDetectorDC1DC2.cxx.

1651 {
1652  return m_pMatMgr;
1653 }

◆ GetPixelDDManager()

PixelDetectorManager * OraclePixGeoManager::GetPixelDDManager ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2067 of file PixelDetectorDC1DC2.cxx.

2067  {
2068  if(m_pDDmgr == nullptr) {
2069  //
2070  // retrieve the pointer to the DD manager
2071  //
2072  StatusCode sc = m_pDetStore->retrieve(m_pDDmgr);
2073  if (sc.isFailure()) {
2074  std::cout << "Cannot retrieve PixelDetectorManager" << std::endl;
2075  }
2076  }
2077  return m_pDDmgr;
2078 }

◆ GetSide()

virtual int PixelGeoDC2::OraclePixGeoManager::GetSide ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 778 of file PixelDetectorDC1DC2.h.

778 {return m_side;}

◆ InitialLayout()

bool OraclePixGeoManager::InitialLayout ( ) const
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2054 of file PixelDetectorDC1DC2.cxx.

2054  {
2055  return m_initialLayout;
2056 }

◆ initMessaging()

void AthMessaging::initMessaging ( ) const
privateinherited

Initialize our message level and MessageSvc.

This method should only be called once.

Definition at line 39 of file AthMessaging.cxx.

40 {
42  m_lvl = m_imsg ?
43  static_cast<MSG::Level>( m_imsg.load()->outputLevel(m_nm) ) :
44  MSG::INFO;
45 }

◆ isBarrel()

bool OraclePixGeoManager::isBarrel ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1717 of file PixelDetectorDC1DC2.cxx.

1717  {
1718  return m_BarrelEndcap == 0;
1719 }

◆ isEndcap()

bool OraclePixGeoManager::isEndcap ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1720 of file PixelDetectorDC1DC2.cxx.

1720  {
1721  return m_BarrelEndcap == 1;
1722  return false;
1723 }

◆ isLDPresent()

bool OraclePixGeoManager::isLDPresent ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1701 of file PixelDetectorDC1DC2.cxx.

1701  {
1702  const std::string uscore("_");
1703  if(isBarrel()) {
1704  if (m_initialLayout && m_currentLD == 1) return false;
1705  std::string a=uscore+std::to_string(m_currentLD);
1706  return (*m_PixelBarrelGeneral)[0]->getInt("USELAYER"+a) == 1;
1707  }
1708  if(isEndcap() ) {
1709  if (m_initialLayout && m_currentLD == 1) return false;
1710  std::string a=uscore+std::to_string(m_currentLD);
1711  return (*m_PixelEndcapGeneral)[0]->getInt("USEDISK"+a) == 1;
1712  }
1713  return false;
1714 }

◆ msg() [1/2]

MsgStream & AthMessaging::msg ( ) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 164 of file AthMessaging.h.

165 {
166  MsgStream* ms = m_msg_tls.get();
167  if (!ms) {
168  if (!m_initialized.test_and_set()) initMessaging();
169  ms = new MsgStream(m_imsg,m_nm);
170  m_msg_tls.reset( ms );
171  }
172 
173  ms->setLevel (m_lvl);
174  return *ms;
175 }

◆ msg() [2/2]

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

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 179 of file AthMessaging.h.

180 { return msg() << lvl; }

◆ msgLvl()

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

Test the output level.

Parameters
lvlThe message level to test against
Returns
boolean Indicating if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 151 of file AthMessaging.h.

152 {
153  if (!m_initialized.test_and_set()) initMessaging();
154  if (m_lvl <= lvl) {
155  msg() << lvl;
156  return true;
157  } else {
158  return false;
159  }
160 }

◆ NPixelSectors()

int PixelGeoDC2::OraclePixGeoManager::NPixelSectors ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 983 of file PixelDetectorDC1DC2.h.

984 {
985  return (*m_PixelLayer)[m_currentLD]->getInt("NSECTORS");
986 }

◆ NumberOfEmptyRows()

int OraclePixGeoManager::NumberOfEmptyRows ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2176 of file PixelDetectorDC1DC2.cxx.

2177 {
2178  return static_cast<int>((*m_pdch)[0]->getInt("NYCONNEC"));
2179 }

◆ Phi()

virtual int PixelGeoDC2::OraclePixGeoManager::Phi ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 760 of file PixelDetectorDC1DC2.h.

760 {return m_phi;}

◆ PixelBalcony()

double PixelGeoDC2::OraclePixGeoManager::PixelBalcony ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 988 of file PixelDetectorDC1DC2.h.

989 {
990  return (*m_pxbi)[m_currentLD]->getDouble("DXELEB")*Gaudi::Units::cm;
991 }

◆ PixelBarrelHalfLength()

double PixelGeoDC2::OraclePixGeoManager::PixelBarrelHalfLength ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 961 of file PixelDetectorDC1DC2.h.

961 {return (*m_PixelBarrelGeneral)[0]->getDouble("HALFLENGTH")*Gaudi::Units::cm;}

◆ PixelBarrelMajorVersion()

int PixelGeoDC2::OraclePixGeoManager::PixelBarrelMajorVersion ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 945 of file PixelDetectorDC1DC2.h.

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

◆ PixelBarrelMinorVersion()

int PixelGeoDC2::OraclePixGeoManager::PixelBarrelMinorVersion ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 946 of file PixelDetectorDC1DC2.h.

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

◆ PixelBarrelNLayer()

int PixelGeoDC2::OraclePixGeoManager::PixelBarrelNLayer ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 956 of file PixelDetectorDC1DC2.h.

956 {return (*m_PixelBarrelGeneral)[0]->getInt("NLAYER");}

◆ PixelBarrelRMax()

double PixelGeoDC2::OraclePixGeoManager::PixelBarrelRMax ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 960 of file PixelDetectorDC1DC2.h.

960 {return (*m_PixelBarrelGeneral)[0]->getDouble("RMAX")*Gaudi::Units::cm;}

◆ PixelBarrelRMin()

double PixelGeoDC2::OraclePixGeoManager::PixelBarrelRMin ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 959 of file PixelDetectorDC1DC2.h.

959 {return (*m_PixelBarrelGeneral)[0]->getDouble("RMIN")*Gaudi::Units::cm;}

◆ PixelBoardActiveLen()

double OraclePixGeoManager::PixelBoardActiveLen ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1761 of file PixelDetectorDC1DC2.cxx.

1762 {
1763  if(isEndcap()) return (*m_pxei)[m_currentLD]->getDouble("DRACTIVE")*Gaudi::Units::cm;
1764  if(isBarrel()) return (*m_pxbi)[m_currentLD]->getDouble("DZELEB")*Gaudi::Units::cm;
1765  return 0.;
1766 }

◆ PixelBoardLength()

double OraclePixGeoManager::PixelBoardLength ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1746 of file PixelDetectorDC1DC2.cxx.

1747 {
1748  if(isBarrel()) return (*m_PixelModule)[m_currentLD]->getDouble("BOARDLENGTH")*Gaudi::Units::cm;
1749  if(isEndcap()) return (*m_PixelModule)[m_currentLD+3]->getDouble("BOARDLENGTH")*Gaudi::Units::cm;
1750  return 0.;
1751 }

◆ PixelBoardThickness()

double OraclePixGeoManager::PixelBoardThickness ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1752 of file PixelDetectorDC1DC2.cxx.

1753 {
1754  if (m_dc1Geometry && isBarrel() && (m_currentLD == 0)) {
1755  return 200*Gaudi::Units::micrometer;
1756  }
1757  if(isBarrel()) return (*m_PixelModule)[m_currentLD]->getDouble("BOARDTHICK")*Gaudi::Units::cm;
1758  if(isEndcap()) return (*m_PixelModule)[m_currentLD+3]->getDouble("BOARDTHICK")*Gaudi::Units::cm;
1759  return 0.;
1760 }

◆ PixelBoardWidth()

double OraclePixGeoManager::PixelBoardWidth ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1740 of file PixelDetectorDC1DC2.cxx.

1741 {
1742  if(isBarrel()) return (*m_PixelModule)[m_currentLD]->getDouble("BOARDWIDTH")*Gaudi::Units::cm;
1743  if(isEndcap()) return (*m_PixelModule)[m_currentLD+3]->getDouble("BOARDWIDTH")*Gaudi::Units::cm;
1744  return 0.;
1745 }

◆ PixelCableDeltaZ()

double PixelGeoDC2::OraclePixGeoManager::PixelCableDeltaZ ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1046 of file PixelDetectorDC1DC2.h.

1046  {
1047  return (*m_PixelStave)[0]->getDouble("MODULEDZ")*Gaudi::Units::cm;
1048 }

◆ PixelCableThickness()

double PixelGeoDC2::OraclePixGeoManager::PixelCableThickness ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1034 of file PixelDetectorDC1DC2.h.

1034  {
1035  return (*m_PixelStave)[0]->getDouble("CABLETHICK")*Gaudi::Units::cm;
1036 }

◆ PixelCableWidth()

double PixelGeoDC2::OraclePixGeoManager::PixelCableWidth ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1030 of file PixelDetectorDC1DC2.h.

1030  {
1031  return (*m_PixelStave)[0]->getDouble("CABLEWIDTH")*Gaudi::Units::cm;
1032 }

◆ PixelCableZMax()

double PixelGeoDC2::OraclePixGeoManager::PixelCableZMax ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1038 of file PixelDetectorDC1DC2.h.

1038  {
1039  return (*m_PixelStave)[0]->getDouble("SUPPORTHLENGTH")*Gaudi::Units::cm;
1040 }

◆ PixelCableZMin()

double PixelGeoDC2::OraclePixGeoManager::PixelCableZMin ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1042 of file PixelDetectorDC1DC2.h.

1042  {
1043  return (*m_PixelStave)[0]->getDouble("CABLEZMIN")*Gaudi::Units::cm;
1044 }

◆ PixelChipGap()

double OraclePixGeoManager::PixelChipGap ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1822 of file PixelDetectorDC1DC2.cxx.

1823 {
1824  if(isBarrel()) return (*m_PixelModule)[m_currentLD]->getDouble("CHIPGAP")*Gaudi::Units::cm;
1825  if(isEndcap()) return (*m_PixelModule)[m_currentLD+3]->getDouble("CHIPGAP")*Gaudi::Units::cm;
1826  return 0.;
1827 }

◆ PixelChipLength()

double OraclePixGeoManager::PixelChipLength ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1816 of file PixelDetectorDC1DC2.cxx.

1817 {
1818  if(isBarrel())return (*m_PixelModule)[m_currentLD]->getDouble("CHIPLENGTH")*Gaudi::Units::cm;
1819  if(isEndcap())return (*m_PixelModule)[m_currentLD+3]->getDouble("CHIPLENGTH")*Gaudi::Units::cm;
1820  return 0.;
1821 }

◆ PixelChipThickness()

double OraclePixGeoManager::PixelChipThickness ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1828 of file PixelDetectorDC1DC2.cxx.

1828  {
1829  double thick=0.;
1830  string mat;
1831  if(isBarrel()){
1832  thick =(*m_PixelModule)[m_currentLD]->getDouble("CHIPTHICK");
1833  mat = "pix::Chip";
1834  }
1835  if(isEndcap()){
1836  thick =(*m_PixelModule)[m_currentLD+3]->getDouble("CHIPTHICK");
1837  mat = "std::Silicon";
1838  }
1839  // if it is negative is given in % of r.l.
1840  if(thick > 0.) {
1841  return thick*Gaudi::Units::cm;
1842  }
1843  return CalculateThickness(thick,mat);
1844 
1845 }

◆ PixelChipWidth()

double OraclePixGeoManager::PixelChipWidth ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1810 of file PixelDetectorDC1DC2.cxx.

1811 {
1812  if(isBarrel()) return (*m_PixelModule)[m_currentLD]->getDouble("CHIPWIDTH")*Gaudi::Units::cm;
1813  if(isEndcap()) return (*m_PixelModule)[m_currentLD+3]->getDouble("CHIPWIDTH")*Gaudi::Units::cm;
1814  return 0.;
1815 }

◆ PixelDiskPosition()

double PixelGeoDC2::OraclePixGeoManager::PixelDiskPosition ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1066 of file PixelDetectorDC1DC2.h.

1066 {return (*m_PixelDisk)[m_currentLD]->getDouble("ZDISK")*Gaudi::Units::cm;}

◆ PixelDiskRMin()

double PixelGeoDC2::OraclePixGeoManager::PixelDiskRMin ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1068 of file PixelDetectorDC1DC2.h.

1068 {return (*m_PixelDisk)[m_currentLD]->getDouble("RIDISK")*Gaudi::Units::cm;}

◆ PixelECCablesDistance()

double PixelGeoDC2::OraclePixGeoManager::PixelECCablesDistance ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1088 of file PixelDetectorDC1DC2.h.

1088  {
1089  return (*m_PixelDisk)[m_currentLD]->getDouble("ZCABLE")*Gaudi::Units::cm;
1090 }

◆ PixelECCablesRMax()

double PixelGeoDC2::OraclePixGeoManager::PixelECCablesRMax ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1083 of file PixelDetectorDC1DC2.h.

1083  {
1084  return (*m_PixelDisk)[m_currentLD]->getDouble("RMAXCABLE")*Gaudi::Units::cm;
1085 }

◆ PixelECCablesRMin()

double PixelGeoDC2::OraclePixGeoManager::PixelECCablesRMin ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1079 of file PixelDetectorDC1DC2.h.

1079  {
1080  return (*m_PixelDisk)[m_currentLD]->getDouble("RMINCABLE")*Gaudi::Units::cm;
1081 }

◆ PixelECCablesThickness()

double OraclePixGeoManager::PixelECCablesThickness ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2132 of file PixelDetectorDC1DC2.cxx.

2133 {
2134  double tck = (*m_PixelDisk)[m_currentLD]->getDouble("CABLETHICK");
2135  if( tck > 0.) {
2136  return tck*Gaudi::Units::cm;
2137  } else {
2138  return CalculateThickness(tck,"pix::ECCables");
2139  }
2140 }

◆ PixelECCarbonMaterial()

string OraclePixGeoManager::PixelECCarbonMaterial ( std::string  a)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1890 of file PixelDetectorDC1DC2.cxx.

1890  {
1891  string mat[4] = {"std::Berillia","std::Carbon","pix::ECSevices","pix::Disk"} ;
1892  int imat;
1893  if(a == "Inner") {
1894  imat = (*m_PixelDisk)[m_currentLD]->getInt("SUP1MAT")-1;
1895  } else if (a == "Central") {
1896  imat = (*m_PixelDisk)[m_currentLD]->getInt("SUP2MAT")-1;
1897  } else {
1898  imat = (*m_PixelDisk)[m_currentLD]->getInt("SUP3MAT")-1;
1899  }
1900  return mat[imat];
1901 }

◆ PixelECCarbonRMax()

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

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1861 of file PixelDetectorDC1DC2.cxx.

1861  {
1862  if(a == "Inner") {
1863  return (*m_PixelDisk)[m_currentLD]->getDouble("SUP1RMAX")*Gaudi::Units::cm;
1864  } else if (a == "Central") {
1865  return (*m_PixelDisk)[m_currentLD]->getDouble("SUP2RMAX")*Gaudi::Units::cm;
1866  } else {
1867  return (*m_PixelDisk)[m_currentLD]->getDouble("SUP3RMAX")*Gaudi::Units::cm;
1868  }
1869 }

◆ PixelECCarbonRMin()

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

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1852 of file PixelDetectorDC1DC2.cxx.

1852  {
1853  if(a == "Inner") {
1854  return (*m_PixelDisk)[m_currentLD]->getDouble("SUP1RMIN")*Gaudi::Units::cm;
1855  } else if (a == "Central") {
1856  return (*m_PixelDisk)[m_currentLD]->getDouble("SUP2RMIN")*Gaudi::Units::cm;
1857  }
1858  return (*m_PixelDisk)[m_currentLD]->getDouble("SUP3RMIN")*Gaudi::Units::cm;
1859 }

◆ PixelECCarbonThickness()

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

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1871 of file PixelDetectorDC1DC2.cxx.

1871  {
1872  double tck;
1873  int imat;
1874  string mat[4] = {"std::Berillia","std::Carbon","pix::ECSevices","pix::Disk"} ;
1875  if(a == "Inner") {
1876  tck = (*m_PixelDisk)[m_currentLD]->getDouble("SUP1THICK");
1877  imat =(*m_PixelDisk)[m_currentLD]->getInt("SUP1MAT")-1;
1878  } else if (a == "Central") {
1879  tck = (*m_PixelDisk)[m_currentLD]->getDouble("SUP2THICK");
1880  imat =(*m_PixelDisk)[m_currentLD]->getInt("SUP2MAT")-1;
1881  } else {
1882  tck = (*m_PixelDisk)[m_currentLD]->getDouble("SUP3THICK");
1883  imat =(*m_PixelDisk)[m_currentLD]->getInt("SUP3MAT")-1;
1884  }
1885  if(tck>0.) {
1886  return tck*Gaudi::Units::cm;
1887  }
1888  return CalculateThickness(tck,mat[imat]);
1889 }

◆ PixelECNSectors1()

int PixelGeoDC2::OraclePixGeoManager::PixelECNSectors1 ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1074 of file PixelDetectorDC1DC2.h.

1074 {return (*m_PixelDisk)[m_currentLD]->getInt("NMODULE");}

◆ PixelECNSectors2()

int PixelGeoDC2::OraclePixGeoManager::PixelECNSectors2 ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1076 of file PixelDetectorDC1DC2.h.

1076 {return (*m_PixelDisk)[m_currentLD]->getInt("NMODULE");}

◆ PixelECSiDz1()

double PixelGeoDC2::OraclePixGeoManager::PixelECSiDz1 ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1070 of file PixelDetectorDC1DC2.h.

1070 {return (*m_PixelDisk)[m_currentLD]->getDouble("DZCOUNTER")*Gaudi::Units::cm;}

◆ PixelECSiDz2()

double PixelGeoDC2::OraclePixGeoManager::PixelECSiDz2 ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1072 of file PixelDetectorDC1DC2.h.

1072 {return (*m_PixelDisk)[m_currentLD]->getDouble("DZCOUNTER")*Gaudi::Units::cm;}

◆ PixelEndcapMajorVersion()

int PixelGeoDC2::OraclePixGeoManager::PixelEndcapMajorVersion ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 948 of file PixelDetectorDC1DC2.h.

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

◆ PixelEndcapMinorVersion()

int PixelGeoDC2::OraclePixGeoManager::PixelEndcapMinorVersion ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 949 of file PixelDetectorDC1DC2.h.

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

◆ PixelEndcapNDisk()

int PixelGeoDC2::OraclePixGeoManager::PixelEndcapNDisk ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1052 of file PixelDetectorDC1DC2.h.

1052 {return (*m_PixelEndcapGeneral)[0]->getInt("NDISK");}

◆ PixelEndcapNSupportFrames()

int PixelGeoDC2::OraclePixGeoManager::PixelEndcapNSupportFrames ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1063 of file PixelDetectorDC1DC2.h.

1063 {return (int) (*m_PixelEndcapGeneral)[0]->getDouble("NFRAME");}

◆ PixelEndcapRMax()

double PixelGeoDC2::OraclePixGeoManager::PixelEndcapRMax ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1057 of file PixelDetectorDC1DC2.h.

1057 {return (*m_PixelEndcapGeneral)[0]->getDouble("RMAX")*Gaudi::Units::cm;}

◆ PixelEndcapRMin()

double PixelGeoDC2::OraclePixGeoManager::PixelEndcapRMin ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1055 of file PixelDetectorDC1DC2.h.

1055 {return (*m_PixelEndcapGeneral)[0]->getDouble("RMIN")*Gaudi::Units::cm;}

◆ PixelEndcapZMax()

double PixelGeoDC2::OraclePixGeoManager::PixelEndcapZMax ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1061 of file PixelDetectorDC1DC2.h.

1061 {return (*m_PixelEndcapGeneral)[0]->getDouble("ZMAX")*Gaudi::Units::cm;}

◆ PixelEndcapZMin()

double PixelGeoDC2::OraclePixGeoManager::PixelEndcapZMin ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1059 of file PixelDetectorDC1DC2.h.

1059 {return (*m_PixelEndcapGeneral)[0]->getDouble("ZMIN")*Gaudi::Units::cm;}

◆ PixelHalfLength()

double PixelGeoDC2::OraclePixGeoManager::PixelHalfLength ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 955 of file PixelDetectorDC1DC2.h.

955 {return (*m_PixelCommon)[0]->getDouble("HALFLENGTH")*Gaudi::Units::cm;}

◆ PixelHybridLength()

double OraclePixGeoManager::PixelHybridLength ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1778 of file PixelDetectorDC1DC2.cxx.

1779 {
1780  if(isBarrel()) return (*m_PixelModule)[m_currentLD]->getDouble("HYBRIDLENGTH")*Gaudi::Units::cm;
1781  if(isEndcap()) return (*m_PixelModule)[m_currentLD+3]->getDouble("HYBRIDLENGTH")*Gaudi::Units::cm;
1782  return 0.;
1783 }

◆ PixelHybridThickness()

double OraclePixGeoManager::PixelHybridThickness ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1784 of file PixelDetectorDC1DC2.cxx.

1785 {
1786  double thick=0.;
1787  string mat;
1788  if(isBarrel()){
1789  // bad data name in db; here is worked around. Should be DXHYBR
1790  thick =(*m_PixelModule)[m_currentLD]->getDouble("HYBRIDTHICK");
1791  mat = "pix::Hybrid";
1792  }
1793  if(isEndcap()){
1794  thick =(*m_PixelModule)[m_currentLD+3]->getDouble("HYBRIDTHICK");
1795  mat = "std::Silicon";
1796  }
1797  // if it is negative is given in % of r.l.
1798  if(thick > 0.) {
1799  return thick*Gaudi::Units::cm;
1800  }
1801  return CalculateThickness(thick,mat);
1802 
1803 }

◆ PixelHybridWidth()

double OraclePixGeoManager::PixelHybridWidth ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1772 of file PixelDetectorDC1DC2.cxx.

1773 {
1774  if(isBarrel()) return (*m_PixelModule)[m_currentLD]->getDouble("HYBRIDWIDTH")*Gaudi::Units::cm;
1775  if(isEndcap()) return (*m_PixelModule)[m_currentLD+3]->getDouble("HYBRIDWIDTH")*Gaudi::Units::cm;
1776  return 0.;
1777 }

◆ PixelLadderHalfLength()

double PixelGeoDC2::OraclePixGeoManager::PixelLadderHalfLength ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 969 of file PixelDetectorDC1DC2.h.

970 {
971  return (*m_PixelStave)[0]->getDouble("SUPPORTHLENGTH")*Gaudi::Units::cm;
972 }

◆ PixelLadderThickness()

double OraclePixGeoManager::PixelLadderThickness ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2122 of file PixelDetectorDC1DC2.cxx.

2123 {
2124  double tck = (*m_PixelStave)[0]->getDouble("SUPPORTTHICK");
2125  if( tck > 0.) {
2126  return tck*Gaudi::Units::cm;
2127  } else {
2128  return CalculateThickness(tck,"pix::Ladder");
2129  }
2130 }

◆ PixelLadderTilt()

double PixelGeoDC2::OraclePixGeoManager::PixelLadderTilt ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 979 of file PixelDetectorDC1DC2.h.

980 {
981  return (*m_PixelLayer)[m_currentLD]->getDouble("STAVETILT")*Gaudi::Units::deg;
982 }

◆ PixelLadderWidth()

double PixelGeoDC2::OraclePixGeoManager::PixelLadderWidth ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 974 of file PixelDetectorDC1DC2.h.

975 {
976  return (*m_PixelStave)[0]->getDouble("SUPPORTWIDTH")*Gaudi::Units::cm;
977 }

◆ PixelLayerRadius()

double PixelGeoDC2::OraclePixGeoManager::PixelLayerRadius ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 964 of file PixelDetectorDC1DC2.h.

965 {
966  return (*m_PixelLayer)[m_currentLD]->getDouble("RLAYER")*Gaudi::Units::cm;
967 }

◆ PixelModuleAngle()

double PixelGeoDC2::OraclePixGeoManager::PixelModuleAngle ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 998 of file PixelDetectorDC1DC2.h.

999 {
1000  return (*m_PixelStave)[0]->getDouble("MODULETILT")*Gaudi::Units::deg;
1001 }

◆ PixelModuleAngleSign()

double PixelGeoDC2::OraclePixGeoManager::PixelModuleAngleSign ( int  im)
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1021 of file PixelDetectorDC1DC2.h.

1022 {
1023  if(im < 6) return 1.;
1024  if(im > 6) return -1.;
1025  return 0.;
1026 }

◆ PixelModuleDrDistance()

double PixelGeoDC2::OraclePixGeoManager::PixelModuleDrDistance ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1003 of file PixelDetectorDC1DC2.h.

1004 {
1005  return (*m_PixelStave)[0]->getDouble("CENTRMODULESHIFT")*Gaudi::Units::cm;
1006 }

◆ PixelModulePosition()

double PixelGeoDC2::OraclePixGeoManager::PixelModulePosition ( int  im)
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1008 of file PixelDetectorDC1DC2.h.

1009 {
1010  return (*m_PixelStave)[0]->getDouble("MODULEDZ")*Gaudi::Units::cm*im;
1011 }

◆ PixelModuleShiftFlag()

double PixelGeoDC2::OraclePixGeoManager::PixelModuleShiftFlag ( int  im)
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1014 of file PixelDetectorDC1DC2.h.

1015 {
1016  if(im == 0) return 1.;
1017  return 0.;
1018 }

◆ PixelNModule()

int PixelGeoDC2::OraclePixGeoManager::PixelNModule ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 993 of file PixelDetectorDC1DC2.h.

994 {
995  return (*m_PixelStave)[0]->getInt("NMODULE");
996 }

◆ PixelRMax()

double PixelGeoDC2::OraclePixGeoManager::PixelRMax ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 954 of file PixelDetectorDC1DC2.h.

954 {return (*m_PixelCommon)[0]->getDouble("RMAX")*Gaudi::Units::cm;}

◆ PixelRMin()

double PixelGeoDC2::OraclePixGeoManager::PixelRMin ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 953 of file PixelDetectorDC1DC2.h.

953 {return (*m_PixelCommon)[0]->getDouble("RMIN")*Gaudi::Units::cm;}

◆ PixelServiceLD()

int OraclePixGeoManager::PixelServiceLD ( std::string  a,
int  n 
)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2007 of file PixelDetectorDC1DC2.cxx.

2007  {
2008  if(isBarrel()) {
2009  if(a == "Inside") {return (*m_PixelBarrelService)[n]->getInt("LAYERNUM")-1;}
2010  else {return (*m_PixelBarrelService)[n+m_barrelInFrames]->getInt("LAYERNUM")-1;}
2011  }
2012  if(isEndcap()) {
2013  if(a == "Inside") {return (*m_PixelEndcapService)[n]->getInt("LAYERNUM")-1;}
2014  else {return (*m_PixelEndcapService)[n+m_endcapInFrames]->getInt("LAYERNUM")-1;}
2015  }
2016  return 0;
2017 }

◆ PixelServiceMaterial()

string OraclePixGeoManager::PixelServiceMaterial ( std::string  a,
int  n 
)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2019 of file PixelDetectorDC1DC2.cxx.

2019  {
2020  int imat;
2021  if(isBarrel()) {
2022  string mat[11] = {
2023  "std::Berillia",
2024  "std::Carbon",
2025  "pix::Services",
2026  "pix::Titanium",
2027  "pix::MatPP11",
2028  "pix::MatPP12",
2029  "pix::MatPP13",
2030  "pix::MatPP14",
2031  "pix::MatPP15",
2032  "pix::MatPP16",
2033  "pix::MatPP17"};
2034  if(a == "Inside") {imat = (*m_PixelBarrelService)[n]->getInt("MATERIAL")-1;}
2035  else {imat = (*m_PixelBarrelService)[n+m_barrelInFrames]->getInt("MATERIAL")-1;}
2036  return mat[imat];
2037  }
2038  if(isEndcap()) {
2039  string mat[4] = {"std::Berillia","std::Carbon","pix::ECServices","pix::Disk"};
2040  if(a == "Inside") {imat = (*m_PixelEndcapService)[n]->getInt("MATERIAL")-1;}
2041  else {imat =(*m_PixelEndcapService)[n+m_endcapInFrames]->getInt("MATERIAL")-1;}
2042  return mat[imat];
2043  }
2044  return "None";
2045 }

◆ PixelServiceNFrame()

int OraclePixGeoManager::PixelServiceNFrame ( std::string  a)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1921 of file PixelDetectorDC1DC2.cxx.

1921  {
1922  if(isBarrel() ) {
1923  if(a == "Inside") return (*m_PixelBarrelGeneral)[0]->getInt("NFRAMEIN");
1924  if(a == "Outside") return (*m_PixelBarrelGeneral)[0]->getInt("NFRAMEOUT");
1925  }
1926  if(isEndcap() ) {
1927  if(a == "Inside") return (*m_PixelEndcapGeneral)[0]->getInt("NFRAMEIN");
1928  if(a == "Outside") return (*m_PixelEndcapGeneral)[0]->getInt("NFRAMEOUT");
1929  }
1930  return 0;
1931 }

◆ PixelServiceR()

double * OraclePixGeoManager::PixelServiceR ( std::string  a,
int  n 
)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1933 of file PixelDetectorDC1DC2.cxx.

1933  {
1934  double rmin=0.;
1935  double rmax=0.;
1936  double *r = new double[2];
1937  if(isBarrel()) {
1938  if(a == "Inside") {
1939  rmin = (*m_PixelBarrelService)[n]->getDouble("RIN");
1940  rmax = (*m_PixelBarrelService)[n]->getDouble("ROUT");
1941  }
1942  else {
1943  rmin = (*m_PixelBarrelService)[n+m_barrelInFrames]->getDouble("RIN");
1944  rmax = (*m_PixelBarrelService)[n+m_barrelInFrames]->getDouble("ROUT");
1945  }
1946  }
1947  if(isEndcap()) {
1948  if(a == "Inside") {
1949  rmin = (*m_PixelEndcapService)[n]->getDouble("RIN");
1950  rmax = (*m_PixelEndcapService)[n]->getDouble("ROUT");
1951  }
1952  else {
1953  rmin = (*m_PixelEndcapService)[n+m_endcapInFrames]->getDouble("RIN");
1954  rmax = (*m_PixelEndcapService)[n+m_endcapInFrames]->getDouble("ROUT");
1955  }
1956  }
1957  // If this is negative this is the thickness of the cyl in % of r.l.
1958  r[0] = rmin*Gaudi::Units::cm;
1959  if(rmax > 0) {
1960  r[1] = rmax*Gaudi::Units::cm;
1961  } else {
1962  string material = PixelServiceMaterial(a,n);
1963  r[1] = fabs(rmin*Gaudi::Units::cm)+CalculateThickness(rmax,material);
1964  }
1965  return r;
1966 }

◆ PixelServiceZ()

double * OraclePixGeoManager::PixelServiceZ ( std::string  a,
int  n 
)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1969 of file PixelDetectorDC1DC2.cxx.

1969  {
1970  double* z = new double[2];
1971  if(isBarrel()) {
1972  if(a == "Inside") {
1973  z[0] = (*m_PixelBarrelService)[n]->getDouble("ZIN");
1974  z[1] = (*m_PixelBarrelService)[n]->getDouble("ZOUT");
1975  }
1976  else {
1977  z[0] = (*m_PixelBarrelService)[n+m_barrelInFrames]->getDouble("ZIN");
1978  z[1] = (*m_PixelBarrelService)[n+m_barrelInFrames]->getDouble("ZOUT");
1979  }
1980  }
1981  if(isEndcap()) {
1982  if(a == "Inside") {
1983  z[0] = (*m_PixelEndcapService)[n]->getDouble("ZIN");
1984  z[1] = (*m_PixelEndcapService)[n]->getDouble("ZOUT");
1985  }
1986  else {
1987  z[0] = (*m_PixelEndcapService)[n+m_endcapInFrames]->getDouble("ZIN");
1988  z[1] = (*m_PixelEndcapService)[n+m_endcapInFrames]->getDouble("ZOUT");
1989  }
1990  }
1991  z[0] = z[0] *Gaudi::Units::cm;
1992  if(z[0]*(z[1]) > -0.000000001) { // same sign and z[0] > 0.
1993  z[1] = z[1] *Gaudi::Units::cm;
1994  } else {
1995  string material = PixelServiceMaterial(a,n);
1996  z[1] = z[0] * (1 + CalculateThickness(z[1],material)/fabs(z[0]));
1997  }
1998  if(isEndcap() && a == "Inside" ) { // Translate to the ecnter of EndCap
1999  double center = ((*m_PixelEndcapGeneral)[0]->getDouble("ZMAX")+(*m_PixelEndcapGeneral)[0]->getDouble("ZMIN"))/2.*Gaudi::Units::cm;
2000  z[0] = z[0]-center;
2001  z[1] = z[1]-center;
2002  }
2003  return z;
2004 }

◆ SetAlignable()

virtual void PixelGeoDC2::OraclePixGeoManager::SetAlignable ( bool  flag)
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 750 of file PixelDetectorDC1DC2.h.

750 {m_alignable = flag;}

◆ SetBarrel()

void OraclePixGeoManager::SetBarrel ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1685 of file PixelDetectorDC1DC2.cxx.

1685  {
1686  //cout << "Setting Barrel" << endl;
1687  m_BarrelEndcap = 0;
1688 }

◆ SetBarrelModuleName()

void OraclePixGeoManager::SetBarrelModuleName ( std::string  name)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2097 of file PixelDetectorDC1DC2.cxx.

2097  {
2099 }

◆ setCommonItems()

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

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2222 of file PixelDetectorDC1DC2.cxx.

2223 {
2225 }

◆ SetCurrentLD()

void OraclePixGeoManager::SetCurrentLD ( int  i)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1661 of file PixelDetectorDC1DC2.cxx.

1662 {
1663  if(isBarrel() ) {
1664  if(i <= PixelBarrelNLayer()) {
1665  m_currentLD=i;
1666  } else {
1667  cout << "Layer set out of bounds, defaulting it to 0" << endl;
1668  m_currentLD = 0;
1669  std::cout<<" Current layer set to "<<i<<std::endl;
1670  }
1671  }
1672  if(isEndcap() ) {
1673  if (i<= PixelEndcapNDisk() ) {
1674  m_currentLD=i;
1675  } else {
1676  cout << "Disk set out of bounds, defaulting it to 0" << endl;
1677  m_currentLD = 0;
1678  std::cout<<" Current disk set to "<<i<<std::endl;
1679  }
1680  }
1681 }

◆ SetDC1Geometry()

virtual void PixelGeoDC2::OraclePixGeoManager::SetDC1Geometry ( bool  flag)
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 746 of file PixelDetectorDC1DC2.h.

746 {m_dc1Geometry = flag;}

◆ SetDesignName()

void OraclePixGeoManager::SetDesignName ( std::string  name)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2089 of file PixelDetectorDC1DC2.cxx.

2089  {
2091 }

◆ SetDetElementName()

void OraclePixGeoManager::SetDetElementName ( std::string  name)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2081 of file PixelDetectorDC1DC2.cxx.

2081  {
2083 }

◆ SetEndcap()

void OraclePixGeoManager::SetEndcap ( )
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 1689 of file PixelDetectorDC1DC2.cxx.

1689  {
1690  m_BarrelEndcap = 1;
1691  //cout << "Setting Endcap" << endl;
1692 }

◆ SetEndcapModuleName()

void OraclePixGeoManager::SetEndcapModuleName ( std::string  name)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2105 of file PixelDetectorDC1DC2.cxx.

2105  {
2107 }

◆ SetEta()

virtual void PixelGeoDC2::OraclePixGeoManager::SetEta ( int  eta)
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 757 of file PixelDetectorDC1DC2.h.

757 {m_eta = eta;}

◆ SetG3CompatibleDigits()

virtual void PixelGeoDC2::OraclePixGeoManager::SetG3CompatibleDigits ( bool  flag)
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 738 of file PixelDetectorDC1DC2.h.

◆ SetInitialLayout()

virtual void PixelGeoDC2::OraclePixGeoManager::SetInitialLayout ( bool  flag)
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 742 of file PixelDetectorDC1DC2.h.

◆ SetLayer0ModuleName()

void OraclePixGeoManager::SetLayer0ModuleName ( std::string  name)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2113 of file PixelDetectorDC1DC2.cxx.

2113  {
2115 }

◆ setLevel()

void AthMessaging::setLevel ( MSG::Level  lvl)
inherited

Change the current logging level.

Use this rather than msg().setLevel() for proper operation with MT.

Definition at line 28 of file AthMessaging.cxx.

29 {
30  m_lvl = lvl;
31 }

◆ SetNeg()

virtual void PixelGeoDC2::OraclePixGeoManager::SetNeg ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 777 of file PixelDetectorDC1DC2.h.

777 {m_side = -1;}

◆ SetPhi()

virtual void PixelGeoDC2::OraclePixGeoManager::SetPhi ( int  phi)
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 758 of file PixelDetectorDC1DC2.h.

758 {m_phi = phi;}

◆ SetPos()

virtual void PixelGeoDC2::OraclePixGeoManager::SetPos ( )
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 776 of file PixelDetectorDC1DC2.h.

776 {m_side = 1;}

◆ SetServices()

virtual void PixelGeoDC2::OraclePixGeoManager::SetServices ( bool  isservice)
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 734 of file PixelDetectorDC1DC2.h.

734 {m_services = isservice;}

◆ Temperature()

double OraclePixGeoManager::Temperature ( bool  isBLayer)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2202 of file PixelDetectorDC1DC2.cxx.

2202  {
2203  if(isBLayer) { return (*m_plor)[0]->getDouble("TEMPC")*Gaudi::Units::kelvin+Gaudi::Units::STP_Temperature;}
2204  return (*m_plor)[1]->getDouble("TEMPC")*Gaudi::Units::kelvin+Gaudi::Units::STP_Temperature;
2205 }

◆ versionTag()

virtual std::string PixelGeoDC2::OraclePixGeoManager::versionTag ( ) const
inlineoverridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 712 of file PixelDetectorDC1DC2.h.

712 {return m_versionTag;}

◆ Voltage()

double OraclePixGeoManager::Voltage ( bool  isBLayer)
overridevirtual

Implements PixelGeoDC2::PixelGeometryManager.

Definition at line 2193 of file PixelDetectorDC1DC2.cxx.

2193  {
2194  // override B-layer voltage for DC1 geometry by
2195  // value in old DB (approx ratio of thicknesses (200/250 = 0.8)
2196  // 97.1*0.8 = 77.68. In Nova its 77.7.
2197  if (isBLayer && m_dc1Geometry) return 77.7*Gaudi::Units::volt;
2198  if(isBLayer) { return (*m_plor)[0]->getDouble("VOLTAGE")*Gaudi::Units::volt;}
2199  return (*m_plor)[1]->getDouble("VOLTAGE")*Gaudi::Units::volt;
2200 }

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
mutableprivateinherited

Messaging initialized (initMessaging)

Definition at line 141 of file AthMessaging.h.

◆ m_alignable

bool PixelGeoDC2::OraclePixGeoManager::m_alignable
private

Definition at line 664 of file PixelDetectorDC1DC2.h.

◆ m_atls

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_atls
private

Definition at line 616 of file PixelDetectorDC1DC2.h.

◆ m_barrelDesignName

std::string PixelGeoDC2::OraclePixGeoManager::m_barrelDesignName
private

Definition at line 683 of file PixelDetectorDC1DC2.h.

◆ m_BarrelEndcap

int PixelGeoDC2::OraclePixGeoManager::m_BarrelEndcap
private

Definition at line 646 of file PixelDetectorDC1DC2.h.

◆ m_barrelInFrames

int PixelGeoDC2::OraclePixGeoManager::m_barrelInFrames
private

Definition at line 649 of file PixelDetectorDC1DC2.h.

◆ m_blayerDesignName

std::string PixelGeoDC2::OraclePixGeoManager::m_blayerDesignName
private

Definition at line 685 of file PixelDetectorDC1DC2.h.

◆ m_commonItems

InDetDD::SiCommonItems* PixelGeoDC2::OraclePixGeoManager::m_commonItems
private

Definition at line 667 of file PixelDetectorDC1DC2.h.

◆ m_currentLD

int PixelGeoDC2::OraclePixGeoManager::m_currentLD
private

Definition at line 645 of file PixelDetectorDC1DC2.h.

◆ m_dc1Geometry

bool PixelGeoDC2::OraclePixGeoManager::m_dc1Geometry
private

Definition at line 661 of file PixelDetectorDC1DC2.h.

◆ m_designsObjectName

std::string PixelGeoDC2::OraclePixGeoManager::m_designsObjectName
private

Definition at line 680 of file PixelDetectorDC1DC2.h.

◆ m_elementsObjectName

std::string PixelGeoDC2::OraclePixGeoManager::m_elementsObjectName
private

Definition at line 679 of file PixelDetectorDC1DC2.h.

◆ m_endcapDesignName

std::string PixelGeoDC2::OraclePixGeoManager::m_endcapDesignName
private

Definition at line 684 of file PixelDetectorDC1DC2.h.

◆ m_endcapInFrames

int PixelGeoDC2::OraclePixGeoManager::m_endcapInFrames
private

Definition at line 649 of file PixelDetectorDC1DC2.h.

◆ m_eta

int PixelGeoDC2::OraclePixGeoManager::m_eta
private

Definition at line 644 of file PixelDetectorDC1DC2.h.

◆ m_g3CompatibleDigits

bool PixelGeoDC2::OraclePixGeoManager::m_g3CompatibleDigits
private

Definition at line 655 of file PixelDetectorDC1DC2.h.

◆ m_imsg

std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr }
mutableprivateinherited

MessageSvc pointer.

Definition at line 135 of file AthMessaging.h.

◆ m_initialLayout

bool PixelGeoDC2::OraclePixGeoManager::m_initialLayout
private

Definition at line 658 of file PixelDetectorDC1DC2.h.

◆ m_lvl

std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL }
mutableprivateinherited

Current logging level.

Definition at line 138 of file AthMessaging.h.

◆ m_msg_tls

boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls
mutableprivateinherited

MsgStream instance (a std::cout like with print-out levels)

Definition at line 132 of file AthMessaging.h.

◆ m_nm

std::string AthMessaging::m_nm
privateinherited

Message source name.

Definition at line 129 of file AthMessaging.h.

◆ m_pdch

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_pdch
private

Definition at line 638 of file PixelDetectorDC1DC2.h.

◆ m_pDDmgr

InDetDD::PixelDetectorManager* PixelGeoDC2::OraclePixGeoManager::m_pDDmgr
private

Definition at line 670 of file PixelDetectorDC1DC2.h.

◆ m_pDetStore

StoreGateSvc* PixelGeoDC2::OraclePixGeoManager::m_pDetStore = nullptr
private

Definition at line 676 of file PixelDetectorDC1DC2.h.

◆ m_pefi

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_pefi
private

Definition at line 633 of file PixelDetectorDC1DC2.h.

◆ m_peoi

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_peoi
private

Definition at line 634 of file PixelDetectorDC1DC2.h.

◆ m_phi

int PixelGeoDC2::OraclePixGeoManager::m_phi
private

Definition at line 644 of file PixelDetectorDC1DC2.h.

◆ m_PixelBarrelGeneral

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_PixelBarrelGeneral
private

Definition at line 617 of file PixelDetectorDC1DC2.h.

◆ m_PixelBarrelService

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_PixelBarrelService
private

Definition at line 618 of file PixelDetectorDC1DC2.h.

◆ m_PixelCommon

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_PixelCommon
private

Definition at line 619 of file PixelDetectorDC1DC2.h.

◆ m_PixelDisk

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_PixelDisk
private

Definition at line 620 of file PixelDetectorDC1DC2.h.

◆ m_PixelEndcapGeneral

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_PixelEndcapGeneral
private

Definition at line 621 of file PixelDetectorDC1DC2.h.

◆ m_PixelEndcapService

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_PixelEndcapService
private

Definition at line 622 of file PixelDetectorDC1DC2.h.

◆ m_PixelLayer

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_PixelLayer
private

Definition at line 623 of file PixelDetectorDC1DC2.h.

◆ m_PixelModule

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_PixelModule
private

Definition at line 624 of file PixelDetectorDC1DC2.h.

◆ m_PixelStave

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_PixelStave
private

Definition at line 625 of file PixelDetectorDC1DC2.h.

◆ m_plor

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_plor
private

Definition at line 640 of file PixelDetectorDC1DC2.h.

◆ m_plrn

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_plrn
private

Definition at line 641 of file PixelDetectorDC1DC2.h.

◆ m_pMatMgr

StoredMaterialManager* PixelGeoDC2::OraclePixGeoManager::m_pMatMgr
private

Definition at line 673 of file PixelDetectorDC1DC2.h.

◆ m_pxbd

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_pxbd
private

Definition at line 639 of file PixelDetectorDC1DC2.h.

◆ m_pxbi

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_pxbi
private

Definition at line 627 of file PixelDetectorDC1DC2.h.

◆ m_pxbo

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_pxbo
private

Definition at line 626 of file PixelDetectorDC1DC2.h.

◆ m_pxei

IRDBRecordset_ptr PixelGeoDC2::OraclePixGeoManager::m_pxei
private

Definition at line 632 of file PixelDetectorDC1DC2.h.

◆ m_services

bool PixelGeoDC2::OraclePixGeoManager::m_services
private

Definition at line 652 of file PixelDetectorDC1DC2.h.

◆ m_side

int PixelGeoDC2::OraclePixGeoManager::m_side
private

Definition at line 647 of file PixelDetectorDC1DC2.h.

◆ m_versionTag

std::string PixelGeoDC2::OraclePixGeoManager::m_versionTag
private

Definition at line 688 of file PixelDetectorDC1DC2.h.


The documentation for this class was generated from the following files:
AthMessaging::m_lvl
std::atomic< MSG::Level > m_lvl
Current logging level.
Definition: AthMessaging.h:138
beamspotman.r
def r
Definition: beamspotman.py:676
PixelGeoDC2::OraclePixGeoManager::PixelEndcapMajorVersion
virtual int PixelEndcapMajorVersion() override
Definition: PixelDetectorDC1DC2.h:948
PixelGeoDC2::OraclePixGeoManager::DesignGapRP
virtual double DesignGapRP() override
Definition: PixelDetectorDC1DC2.h:1121
PixelGeoDC2::OraclePixGeoManager::m_initialLayout
bool m_initialLayout
Definition: PixelDetectorDC1DC2.h:658
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
PixelGeoDC2::OraclePixGeoManager::isEndcap
virtual bool isEndcap() override
Definition: PixelDetectorDC1DC2.cxx:1720
PixelGeoDC2::OraclePixGeoManager::m_PixelEndcapGeneral
IRDBRecordset_ptr m_PixelEndcapGeneral
Definition: PixelDetectorDC1DC2.h:621
PixelGeoDC2::OraclePixGeoManager::m_plrn
IRDBRecordset_ptr m_plrn
Definition: PixelDetectorDC1DC2.h:641
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
PixelGeoDC2::OraclePixGeoManager::m_eta
int m_eta
Definition: PixelDetectorDC1DC2.h:644
python.PhysicalConstants.STP_Temperature
float STP_Temperature
Definition: PhysicalConstants.py:119
PixelGeoDC2::OraclePixGeoManager::m_endcapDesignName
std::string m_endcapDesignName
Definition: PixelDetectorDC1DC2.h:684
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
InDetDD::SiCommonItems::getIdHelper
const AtlasDetectorID * getIdHelper() const
Definition: SiCommonItems.h:83
index
Definition: index.py:1
mat
GeoMaterial * mat
Definition: LArDetectorConstructionTBEC.cxx:55
PixelGeoDC2::OraclePixGeoManager::PixelEndcapNDisk
int PixelEndcapNDisk() override
Definition: PixelDetectorDC1DC2.h:1052
PixelGeoDC2::OraclePixGeoManager::m_currentLD
int m_currentLD
Definition: PixelDetectorDC1DC2.h:645
PixelGeoDC2::OraclePixGeoManager::m_endcapInFrames
int m_endcapInFrames
Definition: PixelDetectorDC1DC2.h:649
PixelGeoDC2::OraclePixGeoManager::m_services
bool m_services
Definition: PixelDetectorDC1DC2.h:652
PixelGeoDC2::OraclePixGeoManager::m_phi
int m_phi
Definition: PixelDetectorDC1DC2.h:644
python.atlas_oh.im
im
Definition: atlas_oh.py:167
deg
#define deg
Definition: SbPolyhedron.cxx:17
PixelGeoDC2::OraclePixGeoManager::PixelBarrelNLayer
virtual int PixelBarrelNLayer() override
Definition: PixelDetectorDC1DC2.h:956
PixelGeoDC2::OraclePixGeoManager::DesignPitchRP
virtual double DesignPitchRP(bool isBLayer) override
Definition: PixelDetectorDC1DC2.h:1102
PixelGeoDC2::OraclePixGeoManager::m_pdch
IRDBRecordset_ptr m_pdch
Definition: PixelDetectorDC1DC2.h:638
PixelGeoDC2::OraclePixGeoManager::m_PixelEndcapService
IRDBRecordset_ptr m_PixelEndcapService
Definition: PixelDetectorDC1DC2.h:622
PixelGeoDC2::OraclePixGeoManager::isBarrel
virtual bool isBarrel() override
Definition: PixelDetectorDC1DC2.cxx:1717
PixelGeoDC2::OraclePixGeoManager::m_versionTag
std::string m_versionTag
Definition: PixelDetectorDC1DC2.h:688
PixelGeoDC2::OraclePixGeoManager::m_pxbi
IRDBRecordset_ptr m_pxbi
Definition: PixelDetectorDC1DC2.h:627
AthMessaging::m_imsg
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
Definition: AthMessaging.h:135
python.SystemOfUnits.ms
int ms
Definition: SystemOfUnits.py:132
PixelGeoDC2::OraclePixGeoManager::m_PixelBarrelService
IRDBRecordset_ptr m_PixelBarrelService
Definition: PixelDetectorDC1DC2.h:618
Athena::getMessageSvc
IMessageSvc * getMessageSvc(bool quiet=false)
Definition: getMessageSvc.cxx:20
PixelGeoDC2::OraclePixGeoManager::m_g3CompatibleDigits
bool m_g3CompatibleDigits
Definition: PixelDetectorDC1DC2.h:655
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
python.SystemOfUnits.kelvin
int kelvin
Definition: SystemOfUnits.py:241
PixelGeoDC2::OraclePixGeoManager::m_alignable
bool m_alignable
Definition: PixelDetectorDC1DC2.h:664
PixelGeoDC2::OraclePixGeoManager::m_pxei
IRDBRecordset_ptr m_pxei
Definition: PixelDetectorDC1DC2.h:632
cm
const double cm
Definition: Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/FCAL_ChannelMap.cxx:25
PixelGeoDC2::OraclePixGeoManager::PixelBarrelMajorVersion
virtual int PixelBarrelMajorVersion() override
Definition: PixelDetectorDC1DC2.h:945
PixelGeoDC2::OraclePixGeoManager::m_PixelStave
IRDBRecordset_ptr m_PixelStave
Definition: PixelDetectorDC1DC2.h:625
PixelGeoDC2::OraclePixGeoManager::m_PixelCommon
IRDBRecordset_ptr m_PixelCommon
Definition: PixelDetectorDC1DC2.h:619
PixelGeoDC2::OraclePixGeoManager::DesignCircuitsPerRow
virtual int DesignCircuitsPerRow() override
Definition: PixelDetectorDC1DC2.h:1137
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
PixelGeoDC2::OraclePixGeoManager::DesignRPActiveArea
virtual double DesignRPActiveArea() override
Definition: PixelDetectorDC1DC2.h:1095
lumiFormat.i
int i
Definition: lumiFormat.py:85
z
#define z
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
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
PixelGeoDC2::OraclePixGeoManager::m_dc1Geometry
bool m_dc1Geometry
Definition: PixelDetectorDC1DC2.h:661
PixelGeoDC2::OraclePixGeoManager::m_designsObjectName
std::string m_designsObjectName
Definition: PixelDetectorDC1DC2.h:680
PixelGeoDC2::OraclePixGeoManager::m_PixelLayer
IRDBRecordset_ptr m_PixelLayer
Definition: PixelDetectorDC1DC2.h:623
PixelGeoDC2::OraclePixGeoManager::m_pMatMgr
StoredMaterialManager * m_pMatMgr
Definition: PixelDetectorDC1DC2.h:673
PixelGeoDC2::OraclePixGeoManager::m_plor
IRDBRecordset_ptr m_plor
Definition: PixelDetectorDC1DC2.h:640
python.SystemOfUnits.micrometer
int micrometer
Definition: SystemOfUnits.py:71
python.SystemOfUnits.volt
int volt
Definition: SystemOfUnits.py:204
PixelGeoDC2::OraclePixGeoManager::m_PixelBarrelGeneral
IRDBRecordset_ptr m_PixelBarrelGeneral
Definition: PixelDetectorDC1DC2.h:617
PixelGeoDC2::OraclePixGeoManager::m_atls
IRDBRecordset_ptr m_atls
Definition: PixelDetectorDC1DC2.h:616
PixelGeoDC2::OraclePixGeoManager::PixelServiceMaterial
virtual std::string PixelServiceMaterial(std::string, int) override
Definition: PixelDetectorDC1DC2.cxx:2019
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition: AthMessaging.h:164
PixelGeoDC2::OraclePixGeoManager::m_PixelDisk
IRDBRecordset_ptr m_PixelDisk
Definition: PixelDetectorDC1DC2.h:620
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
PixelGeoDC2::OraclePixGeoManager::DesignGapZ
virtual double DesignGapZ() override
Definition: PixelDetectorDC1DC2.h:1125
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34
PixelGeoDC2::OraclePixGeoManager::commonItems
virtual InDetDD::SiCommonItems * commonItems() override
Definition: PixelDetectorDC1DC2.cxx:2208
PixelGeoDC2::OraclePixGeoManager::m_BarrelEndcap
int m_BarrelEndcap
Definition: PixelDetectorDC1DC2.h:646
PixelGeoDC2::OraclePixGeoManager::m_barrelDesignName
std::string m_barrelDesignName
Definition: PixelDetectorDC1DC2.h:683
PlotCalibFromCool.rl
rl
Definition: PlotCalibFromCool.py:529
a
TList * a
Definition: liststreamerinfos.cxx:10
PixelGeoDC2::OraclePixGeoManager::m_pxbd
IRDBRecordset_ptr m_pxbd
Definition: PixelDetectorDC1DC2.h:639
PixelGeoDC2::OraclePixGeoManager::m_side
int m_side
Definition: PixelDetectorDC1DC2.h:647
PixelGeoDC2::OraclePixGeoManager::m_elementsObjectName
std::string m_elementsObjectName
Definition: PixelDetectorDC1DC2.h:679
PixelGeoDC2::OraclePixGeoManager::CalculateThickness
double CalculateThickness(double, const std::string &)
Definition: PixelDetectorDC1DC2.cxx:1730
PixelGeoDC2::OraclePixGeoManager::m_pDetStore
StoreGateSvc * m_pDetStore
Definition: PixelDetectorDC1DC2.h:676
AthMessaging::m_nm
std::string m_nm
Message source name.
Definition: AthMessaging.h:129
StoredMaterialManager::getMaterial
virtual const GeoMaterial * getMaterial(const std::string &name)=0
StoredMaterialManager
This class holds one or more material managers and makes them storeable, under StoreGate.
Definition: StoredMaterialManager.h:28
PixelGeoDC2::OraclePixGeoManager::DesignPitchZ
virtual double DesignPitchZ(bool isBLayer) override
Definition: PixelDetectorDC1DC2.h:1107
PixelGeoDC2::OraclePixGeoManager::m_barrelInFrames
int m_barrelInFrames
Definition: PixelDetectorDC1DC2.h:649
PixelGeoDC2::OraclePixGeoManager::DesignZActiveArea
virtual double DesignZActiveArea() override
Definition: PixelDetectorDC1DC2.h:1098
AthMessaging::initMessaging
void initMessaging() const
Initialize our message level and MessageSvc.
Definition: AthMessaging.cxx:39
AthMessaging::m_msg_tls
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
Definition: AthMessaging.h:132
PixelID
Definition: PixelID.h:67
PixelGeoDC2::OraclePixGeoManager::m_PixelModule
IRDBRecordset_ptr m_PixelModule
Definition: PixelDetectorDC1DC2.h:624
PixelGeoDC2::OraclePixGeoManager::m_blayerDesignName
std::string m_blayerDesignName
Definition: PixelDetectorDC1DC2.h:685
PixelGeoDC2::OraclePixGeoManager::m_commonItems
InDetDD::SiCommonItems * m_commonItems
Definition: PixelDetectorDC1DC2.h:667
PixelGeoDC2::OraclePixGeoManager::m_pDDmgr
InDetDD::PixelDetectorManager * m_pDDmgr
Definition: PixelDetectorDC1DC2.h:670