1 #ifndef Geometry_HGCalCommonData_HGCalGeomTools_h 2 #define Geometry_HGCalCommonData_HGCalGeomTools_h 19 static void radius(
double zf,
21 std::vector<double>
const& zFront1,
22 std::vector<double>
const& rFront1,
23 std::vector<double>
const& slope1,
24 std::vector<double>
const& zFront2,
25 std::vector<double>
const& rFront2,
26 std::vector<double>
const& slope2,
28 std::vector<double>&
zz,
29 std::vector<double>& rin,
30 std::vector<double>& rout);
32 std::vector<double>
const& zFront,
33 std::vector<double>
const& rFront,
34 std::vector<double>
const&
slope);
36 double z,
int layer0,
int layerf, std::vector<double>
const& zFront, std::vector<double>
const& rFront);
37 std::pair<double, double>
shiftXY(
int waferPosition,
double waferSize)
const;
38 static double slope(
double z, std::vector<double>
const& zFront, std::vector<double>
const&
slope);
39 static std::pair<double, double>
zradius(
double z1,
41 std::vector<double>
const& zFront,
42 std::vector<double>
const& rFront);
44 double xpos,
double ypos,
double r,
double R,
double rMin,
double rMax,
bool oldBug =
false);