|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #include "GaudiKernel/SystemOfUnits.h"
16 : m_athenaComps(athenaComps),
27 const std::string& pixelDetectorKey = pixelVersionKey.
tag();
28 const std::string& pixelDetectorNode = pixelVersionKey.
node();
32 const std::string& sctDetectorKey = sctVersionKey.
tag();
33 const std::string& sctDetectorNode = sctVersionKey.
node();
37 const std::string& indetDetectorKey = indetVersionKey.
tag();
38 const std::string& indetDetectorNode = indetVersionKey.
node();
48 msg(
MSG::DEBUG) <<
"Pixel: Key = " << pixelDetectorKey <<
" Node = " << pixelDetectorNode <<
endmsg;
49 msg(
MSG::DEBUG) <<
"SCT: Key = " << sctDetectorKey <<
" Node = " << sctDetectorNode <<
endmsg;
50 msg(
MSG::DEBUG) <<
"InDet: Key = " << indetDetectorKey <<
" Node = " << indetDetectorNode <<
endmsg;
99 if (
db()->testField(
"",
"BUILDSERVICES")) {
100 return db()->
getInt(
"",
"BUILDSERVICES");
194 if (!
db()->testFieldTxt(
m_PixelStave,
"BENTSTAVEANGLE"))
return 0;
201 if (!
db()->testFieldTxt(
m_PixelStave,
"BENTSTAVENMODULE"))
return 0;
226 int nModulesDisk = 0;
229 if ( disk ==
layer) {
245 if ( disk ==
layer) {
253 if(sumModules==0)
return 0;
254 if (sumChips % sumModules == 0)
return sumChips/sumModules;
255 else return 1 + sumChips/sumModules;
274 if(route==
"StdRoute")
286 if(route==
"StdRoute")
340 return nChipsEta*nChipsPhi;
void addWeightTable(const IRDBRecordset_ptr &weightTable, const std::string &space="")
double pixelLayerLength(int layer) const
int pixelNumDisks() const
int pixelModulesPerRing(int ring) const
IRDBRecordset_ptr m_SctWeights
InDetMaterialManager * m_matMgr
int sctNumSectorsForLayer(int layer) const
double pixelLadderModuleDeltaZ(int layer) const
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.
double pixelLadderBentStaveAngle(int layer) const
IRDBRecordset_ptr m_SctBrlLadder
IRDBRecordset_ptr m_InDetSimpleServices
int SupportTubeIndex(const std::string &name) const
Class to hold various Athena components.
IRDBRecordset_ptr m_PixelDisk
double SupportTubeRMax(const std::string &name) const
int pixelNumLayers() const
IRDBRecordset_ptr m_PixelEnvelope
InDetServMatGeometryManager(InDetDD::AthenaComps *athenaComps)
IRDBRecordset_ptr m_PixelReadout
int sctModulesPerLadder(int layer) const
const std::string & node() const
Return the version node.
IRDBRecordset_ptr m_PixelStave
double sctLayerRadius(int layer) const
int pixelChipsPerModule(int moduleType) const
MsgStream & msg(MSG::Level lvl) const
virtual unsigned int getTableSize(IRDBRecordset_ptr recordSet) const =0
int SupportTubeExists(const std::string &name) const
InDetDD::AthenaComps * m_athenaComps
int pixelModulesPerEndcapSector(int disk) const
int pixelBarrelModuleType(int layer) const
double pixelEnvelopeRMax() const
int sctLayerType(int layer) const
IRDBRecordset_ptr m_PixelEndcapGeneral
Definition of the abstract IRDBAccessSvc interface.
double sctDiskZ(int disk) const
IRDBRecordset_ptr m_SctBrlServPerLayer
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
double sctLayerLength(int layer) const
This is a helper class to query the version tags from GeoModelSvc and determine the appropriate tag a...
IRDBRecordset_ptr m_scalingTable
IRDBRecordset_ptr m_PixelSvcRoute
double sctInnerSupport() const
IRDBRecordset_ptr m_InDetWeights
const std::string & tag() const
Return version tag.
double pixelDiskRMin(int disk) const
std::string pixelDiskServiceRoute(int disk) const
const IGeoDbTagSvc * geoDbTagSvc() const
IRDBRecordset_ptr m_SctBrlGeneral
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.
~InDetServMatGeometryManager()
IRDBRecordset_ptr m_SctFwdDiscSupport
double pixelDiskEOSZOffset(int disk) const
int pixelDesignType(int moduleType) const
bool buildServices() const
double pixelDiskRMax(int disk) const
double SupportTubeZMax(const std::string &name) const
void addScalingTable(const IRDBRecordset_ptr &scalingTable)
bool msgLvl(MSG::Level lvl) const
IRDBRecordset_ptr m_SctFwdWheel
int pixelEndcapNumSectorsForLayer(int layer) const
IRDBRecordset_ptr m_PixelWeights
double SupportTubeRMin(const std::string &name) const
IRDBRecordset_ptr m_PixelBarrelGeneral
Definition of the abstract IRDBRecord interface.
const IGeometryDBSvc * db() const
double sctDiskRMax(int disk) const
IRDBRecordset_ptr m_PixelDiskRing
virtual int getInt(IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const =0
int pixelNumSectorsForLayer(int layer) const
IRDBRecordset_ptr m_PixelModule
virtual std::string getString(IRDBRecordset_ptr recordSet, const std::string &name, int index=0) const =0
double pixelLayerRadius(int layer) const
double pixelDiskZ(int disk) const
IRDBRecordset_ptr m_PixelRing
IRDBRecordset_ptr m_switches
Definition of the abstract IRDBRecordset interface.
IRDBRecordset_ptr m_SctFwdGeneral
int pixelModulesPerStave(int layer) const
IRDBAccessSvc * rdbAccessSvc()
double SupportTubeZMin(const std::string &name) const
int pixelChipsPerModuleForDisk(int disk) const
IRDBRecordset_ptr m_PixelLayer
int pixelBentStaveNModule(int layer) const
int sctEndcapNumSectorsForLayer(int layer) const
IRDBRecordset_ptr m_SctBrlLayer