63 msg(MSG::DEBUG) <<
"Starting TRT_DetDescrDB_ParameterInterface" <<
endmsg;
70 const std::string& detectorKey = versionKey.
tag();
71 const std::string& detectorNode = versionKey.
node();
80 if(
m_athenaComps->geoDbTagSvc()->getParamSvcName().starts_with(
"RDB"))
110 const IRDBRecord *RDBVars_DigVersion = (*RDB_DigVersion)[0];
143 const IRDBRecord* RDBVars_CommonPars = (*RDB_CommonPars)[0];
155 const IRDBRecord* RDBVars_BarrelOverallPars = (*RDB_BarrelOverallPars)[0];
165 const IRDBRecord* RDBVars_BarrelServices = (*RDB_BarrelServices)[0];
189 if (!RDBVars_BarrelOverallPars->
isFieldNull(
"BRLVIRTVOLZCLEARANCE")) {
230 const IRDBRecord* ringVars = (*RDB_BarrelRingDepPars)[i];
238 unsigned int cumulLayer = 0;
241 const IRDBRecord* layerVars = (*RDB_BarrelNStrawInLay)[cumulLayer++];
254 msg(MSG::WARNING) <<
"DD Database indicates nCoolingTubes != 2, but the code" <<
" can't cope with that. Putting nCoolingTubes=2" <<
endmsg;
260 msg(MSG::WARNING) <<
"DD Database indicates nShellCorners != 4, but the code" <<
" can't cope with that. Putting nShellCorners=4" <<
endmsg;
264 for (
unsigned int iRing = 0; iRing <
nBarrelRings; iRing++) {
265 const IRDBRecord* row = (*RDB_BarrelRingDepPars)[iRing];
295 unsigned int cumulativeStrawNumber = 0;
300 const IRDBRecord* row = (*RDB_BarrelStrawCoord)[cumulativeStrawNumber++];
301 strawXPosition[i][j]=row->getFloat(
"STRAWXPOSITION")*GeoModelKernelUnits::mm;
302 strawYPosition[i][j]=row->getFloat(
"STRAWYPOSITION")*GeoModelKernelUnits::mm;
312 const IRDBRecord* RDBVars_EndCapOverallPars = (*RDB_EndCapOverallPars)[0];
314 const IRDBRecord* RDBVars_A_Wheel = (*RDB_ECWheelTypDepPars)[0];
315 const IRDBRecord* RDBVars_B_Wheel = (*RDB_ECWheelTypDepPars)[1];
316 const IRDBRecord* RDBVars_C_Wheel = (*RDB_ECWheelTypDepPars)[2];
332 if ( RDBVars_A_Wheel->
getFloat(
"OUTERRADIUSOFINNERSUP") != RDBVars_B_Wheel->
getFloat(
"OUTERRADIUSOFINNERSUP") )
333 msg(MSG::WARNING) <<
"DD Database indicates different outer radii of inner support for A and B wheels." <<
" The code assumes otherwise. Using value of A wheel for both!" <<
endmsg;
334 if ( RDBVars_A_Wheel->
getFloat(
"INNERRADIUSOFOUTERSUP") != RDBVars_B_Wheel->
getFloat(
"INNERRADIUSOFOUTERSUP") )
335 msg(MSG::WARNING) <<
"DD Database indicates different inner radii of outer support for A and B wheels." <<
" The code assumes otherwise. Using value of A wheel for both!" <<
endmsg;
375 if ( RDBVars_A_Wheel->
getFloat(
"MIDDLERADIATORTHICK")*GeoModelKernelUnits::mm != 0 )
376 msg(MSG::WARNING) <<
"DD Database indicates a nonzero middle radiator thickness in the A wheel" <<
" where middle radiators doesn't exist. Ignoring parameter." <<
endmsg;
377 if ( RDBVars_C_Wheel->
getFloat(
"MIDDLERADIATORTHICK")*GeoModelKernelUnits::mm != 0 )
378 msg(MSG::WARNING) <<
"DD Database indicates a nonzero middle radiator thickness in the C wheel" <<
" where middle radiators doesn't exist. Ignoring parameter." <<
endmsg;
404 const IRDBRecord* RDBECEndCapDepPars_EndCap_C = (*RDB_ECEndCapDepPars)[0];
405 const IRDBRecord* RDBECEndCapDepPars_EndCap_A = (*RDB_ECEndCapDepPars)[1];
415 const IRDBRecord* row = (*RDB_ECWheelDepPars)[iiWheel];
420 const IRDBRecord* row = (*RDB_ECWheelDepPars)[iiWheel];
453 const IRDBRecord* row = (*RDB_EndCapStrwLayZPos)[iiPlane];
457 const IRDBRecord* row = (*RDB_EndCapStrwLayZPos)[iiPlane];
461 const IRDBRecord* row = (*RDB_EndCapStrwLayZPos)[iiPlane];
469 const IRDBRecord* RDBVars_ECHeatExchAndFoil = (*RDB_ECHeatExchAndFoil)[0];
481 const IRDBRecord* RDBVars_ECMembranePars = (*RDB_ECMembranePars)[0];