57 {
58
60
62
63 msg(MSG::DEBUG) <<
"Starting TRT_DetDescrDB_ParameterInterface" <<
endmsg;
64
65
67
68
69 DecodeVersionKey versionKey(
m_athenaComps->geoDbTagSvc(),
"TRT");
70 const std::string& detectorKey = versionKey.tag();
71 const std::string& detectorNode = versionKey.node();
72
73
74 DecodeVersionKey indetVersionKey(
m_athenaComps->geoDbTagSvc(),
"InnerDetector");
75
76
78
80 if(
m_athenaComps->geoDbTagSvc()->getParamSvcName().starts_with(
"RDB"))
82
84
86
88 const IRDBRecord *switches = (*switchSet)[0];
89
96 }
97
98
99
103 }
104
105
106
108
110 const IRDBRecord *RDBVars_DigVersion = (*RDB_DigVersion)[0];
113
115
120 }
121 else
123
125
127
128
130
131
133
136
137
139
141
143 const IRDBRecord* RDBVars_CommonPars = (*RDB_CommonPars)[0];
144
149
151
153
155 const IRDBRecord* RDBVars_BarrelOverallPars = (*RDB_BarrelOverallPars)[0];
160
162
164
165 const IRDBRecord* RDBVars_BarrelServices = (*RDB_BarrelServices)[0];
170
175
177
182
187 }
188
189 if (!RDBVars_BarrelOverallPars->
isFieldNull(
"BRLVIRTVOLZCLEARANCE")) {
193 } else {
197 }
198
209
214
219
223
227
230 const IRDBRecord* ringVars = (*RDB_BarrelRingDepPars)[
i];
232 };
233
234
237
238 unsigned int cumulLayer = 0;
241 const IRDBRecord* layerVars = (*RDB_BarrelNStrawInLay)[cumulLayer++];
243 }
244
251
254 msg(MSG::WARNING) <<
"DD Database indicates nCoolingTubes != 2, but the code" <<
" can't cope with that. Putting nCoolingTubes=2" <<
endmsg;
256 };
257
260 msg(MSG::WARNING) <<
"DD Database indicates nShellCorners != 4, but the code" <<
" can't cope with that. Putting nShellCorners=4" <<
endmsg;
262 };
263
264 for (
unsigned int iRing = 0; iRing <
nBarrelRings; iRing++) {
265 const IRDBRecord*
row = (*RDB_BarrelRingDepPars)[iRing];
272
276
280
286
292
293 };
294
295 unsigned int cumulativeStrawNumber = 0;
300 const IRDBRecord*
row = (*RDB_BarrelStrawCoord)[cumulativeStrawNumber++];
303 };
304 };
305
306
308
310
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];
322
331
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;
340
342
344
345
349
353
357
361
365
369
373
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;
379
382
384
388
389
393
394
395
399
401
403
404 const IRDBRecord* RDBECEndCapDepPars_EndCap_C = (*RDB_ECEndCapDepPars)[0];
405 const IRDBRecord* RDBECEndCapDepPars_EndCap_A = (*RDB_ECEndCapDepPars)[1];
406
407
408
413
415 const IRDBRecord*
row = (*RDB_ECWheelDepPars)[iiWheel];
418 };
420 const IRDBRecord*
row = (*RDB_ECWheelDepPars)[iiWheel];
423 };
424 } else {
425
437 };
441 };
442 };
443
446
447
451
453 const IRDBRecord*
row = (*RDB_EndCapStrwLayZPos)[iiPlane];
455 };
457 const IRDBRecord*
row = (*RDB_EndCapStrwLayZPos)[iiPlane];
459 };
461 const IRDBRecord*
row = (*RDB_EndCapStrwLayZPos)[iiPlane];
463 };
464
465
466
468
469 const IRDBRecord* RDBVars_ECHeatExchAndFoil = (*RDB_ECHeatExchAndFoil)[0];
470
471
473
474
479
480
481 const IRDBRecord* RDBVars_ECMembranePars = (*RDB_ECMembranePars)[0];
482
493
495
496 }
497}
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
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.
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.
virtual const std::string & getString(const std::string &fieldName) const =0
Get string field value.
virtual bool isFieldNull(const std::string &fieldName) const =0
Check if the field value is NULL.
virtual int getInt(const std::string &fieldName) const =0
Get int field value.
virtual double getDouble(const std::string &fieldName) const =0
Get double field value.
virtual float getFloat(const std::string &fieldName) const =0
Get float field value.
virtual unsigned int size() const =0
double endCapLengthOfWheelsA
double endCapRadialThicknessOfOuterSupportC
unsigned int endcapNumberOfStrawsInStrawLayer_AWheels
double outerRadiusOfStraw
unsigned int nBarrelModules
double virtualBarrelVolumeLength
double innerRadiusOfStraw
double outerRadiusOfEndCapVolumeC
unsigned int endcapNumberOfCWheels
double endCapOuterRadiusOfSupportB
double endcapInnerRadiusOfOuterSupport_wheelC
unsigned int endCapNumberOfStrawLayersPerWheelB
unsigned int endcapNumberOfStrawsInStrawLayer_CWheels
double endCapThinRadiatorThicknessA
double endCapFaradayFoilThickness
double endCapInnerRadiusOfSupportC
double barrelOuterRadiusOfStrawHole
double endCapZMinOfMbraneWheelA2
double barrelVirtualVolumeRMaxClearance
std::string versionDescription
double endCapHeatExchangerThicknessA
double endCapRadialDistFromRadToOuterSupportC
std::string digversionname
double positionOfEndCapVolumeC
double endCapLengthOfWheelsC
double endCapPositionOfFirstWheelA[2]
double barrelThicknessOfModuleWalls
unsigned int endcapNumberOfStrawsInStrawLayer_BWheels
double endCapRMinOfMbrane
unsigned int nCoolingTubes
unsigned int barrelNumberOfLayersWithLargeDeadRegion
double barrelOuterRadiusOfCoolingTube
unsigned int endCapNumberOfStrawLayersPerWheelA
double barrelLengthOfTwister
double endCapRadialDistFromRadToOuterSupportB
double barrelVirtualVolumeRMinClearance
double endCapRadialThicknessOfOuterSupportB
double thicknessOfBarrelOuterSupport
double positionOfEndCapVolumeAB
double endCapPhiOfFirstStraw
double endCapRadialThicknessOfOuterSupportA
bool includeBarServiceAndFlange
double innerRadiusOfEndCapVolumeAB
double endCapDistanceBetweenWheelCentersA[2][6]
double barrelInnerRadiusOfCoolingTube
double endCapMainRadiatorThicknessB
double endCapOuterRadiusOfSupportC
double endCapDistanceBetweenWheelCentersB[2][14]
unsigned int endcapNumberOfBWheels
double endCapMainRadiatorThicknessA
double endCapRadialThicknessOfInnerSupportA
double endCapZMaxOfMbraneWheelA1
double barrelLengthOfLargeDeadRegion
double endCapInnerRadiusOfSupportA
double endcapOuterRadiusOfInnerSupport_wheelAB
double endCapRMaxOfHeatExchanger
double lengthOfEndCapVolumeC
double endCapThicknessOfMbrane
double endCapZMinOfMbraneWheelA1
double lengthOfEndCapVolumeAB
double endCapRMaxOfMbrane
double endCapDistanceBetweenWheelCentersC
double endcapOuterRadiusOfInnerSupport_wheelC
double endCapZMinOfMbraneWheelB2
double barrelVirtualVolumeZClearance
double virtualBarrelOuterRadius
double endCapLengthOfWheelsB
double endCapMainRadiatorThicknessC
double endCapThinRadiatorThicknessB
double endCapZMaxOfMbraneWheelB2
double endCapShiftForEachRotation
double endCapInnerRadiusOfSupportB
double thicknessOfBarrelInnerSupport
double lengthOfBarrelVolume
double endCapThinRadiatorThicknessC
double outerRadiusOfBarrelVolume
unsigned int nShellCorners
double innerRadiusOfBarrelVolume
unsigned int endCapNumberOfStrawLayersPerWheelC
double endCapZMinOfMbraneWheelB1
bool includeECFoilHeatExchangerAndMembranes
double endCapMiddleRadiatorThicknessB
double lengthOfDeadRegion
double outerRadiusOfEndCapVolumeAB
double endCapRadialThicknessOfInnerSupportC
double endCapOuterRadiusOfSupportA
double innerRadiusOfEndCapVolumeC
double virtualBarrelInnerRadius
double endcapInnerRadiusOfOuterSupport_wheelAB
double endCapZMaxOfMbraneWheelA2
double endCapPositionOfFirstWheelB[2]
double endCapRadialDistFromRadToOuterSupportA
double barrelLengthOfStraw
double endCapRadialThicknessOfInnerSupportB
unsigned int endcapNumberOfAWheels
double endCapPositionOfFirstWheelC
unsigned int nBarrelModulesUsed
double endCapHeatExchangerThicknessB
double endCapRMinOfHeatExchanger
double endCapZMaxOfMbraneWheelB1
row
Appending html table to final .html summary file.