20 #include "GeoModelKernel/GeoTubs.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/GeoDefinitions.h"
27 #include "GeoModelKernel/Units.h"
31 inline double sqr(
double x) {
return x*
x;}
36 double xWidth,
double yWidth,
37 double & minRatio,
double & maxRatio);
45 double bracketPhiOffset,
46 double powerTapePhiOffset,
52 m_innerRadius(innerRadius),
53 m_bracketPhiOffset(bracketPhiOffset),
54 m_powerTapePhiOffset(powerTapePhiOffset),
55 m_sectorAngle(divisionAngle),
56 m_ski(ski), m_bracket(bracket), m_harness(harness), m_skiPowerTape(skiPowerTape)
91 double xHarnessPos = 0;
92 double yHarnessPos = 0;
122 double rMaxExtentOfPowerTape =
126 double rMaxExtentOfBracket =
144 halfAnglePowerTape =
std::max(halfAnglePowerTape, halfAngleHarness);
157 double midAngle = 0.5 * (minAngle+maxAngle);
165 const GeoLogVol *skiAuxLog =
167 GeoPhysVol * skiAux =
new GeoPhysVol(skiAuxLog);
209 double xWidth,
double yWidth,
210 double & minRatio,
double & maxRatio)
215 double x = 0.5 * xWidth;
216 double y = 0.5 * yWidth;
218 double r00,r01,r10,r11;
220 r11 = (yCenter +
y) / (xCenter +
x);
221 r00 = (yCenter -
y) / (xCenter -
x);
222 r10 = (yCenter +
y) / (xCenter -
x);
223 r01 = (yCenter -
y) / (xCenter +
x);