1 #ifndef Geometry_HGCalCommonData_HGCalGeomTools_h 2 #define Geometry_HGCalCommonData_HGCalGeomTools_h 33 static void radius(
double zf,
35 std::vector<double>
const& zFront1,
36 std::vector<double>
const& rFront1,
37 std::vector<double>
const& slope1,
38 std::vector<double>
const& zFront2,
39 std::vector<double>
const& rFront2,
40 std::vector<double>
const& slope2,
42 std::vector<double>&
zz,
43 std::vector<double>& rin,
44 std::vector<double>& rout);
46 std::vector<double>
const& zFront,
47 std::vector<double>
const& rFront,
48 std::vector<double>
const&
slope);
50 double z,
int layer0,
int layerf, std::vector<double>
const& zFront, std::vector<double>
const& rFront);
51 std::pair<double, double>
shiftXY(
int waferPosition,
double waferSize);
52 static double slope(
double z, std::vector<double>
const& zFront, std::vector<double>
const&
slope);
53 static std::pair<double, double>
zradius(
double z1,
55 std::vector<double>
const& zFront,
56 std::vector<double>
const& rFront);
58 double xpos,
double ypos,
double r,
double R,
double rMin,
double rMax,
bool oldBug =
false);