20 #include "GeoModelKernel/GeoBox.h"
21 #include "GeoModelKernel/GeoLogVol.h"
22 #include "GeoModelKernel/GeoPhysVol.h"
23 #include "GeoModelKernel/GeoNameTag.h"
24 #include "GeoModelKernel/GeoTransform.h"
25 #include "GeoModelKernel/GeoMaterial.h"
26 #include "GeoModelKernel/Units.h"
27 #include "GeoModelKernel/GeoDefinitions.h"
28 #include "GaudiKernel/SystemOfUnits.h"
41 m_length(
length), m_ski(ski)
78 const GeoLogVol *skiPowerTapeLog =
80 GeoPhysVol * skiPowerTape =
new GeoPhysVol(skiPowerTapeLog);
87 double tapeLength, tapeMid, tapeStart, tapeEnd;
104 nPos = iModule - nHalfModules;
113 nPos = nHalfModules - iModule - 1;
117 tapeLength = std::abs(tapeEnd - tapeStart);
118 tapeMid = 0.5 * (tapeEnd + tapeStart);
124 std::cout <<
"SCT_SkiPowerTape: Module position inconsistent with assumption that\n"
125 <<
" first half has z < 0 and second half has z > 0"
143 skiPowerTape->add(
new GeoTransform(GeoTrf::Translate3D(xTapePos, yTapePos, tapeMid)));
144 skiPowerTape->add(powerTape.
getVolume());