1 #ifndef HGCalCommonData_HGCalWaferMask_h 2 #define HGCalCommonData_HGCalWaferMask_h 21 static bool maskCell(
int u,
int v,
int N,
int ncor,
int fcor,
int corners);
25 static bool goodCell(
int u,
int v,
int waferType);
30 static std::pair<int, int>
getTypeMode(
const double& xpos,
39 const bool&
debug =
false);
50 const bool&
debug =
false);
53 static std::vector<std::pair<double, double> >
waferXY(
const int&
part,
56 const double& waferSize,
63 static std::vector<std::pair<double, double> >
waferXY(
const int&
part,
65 const double& wafersize,
72 static constexpr
double sqrt3_ = 1.732050807568877;
static bool goodCell(int u, int v, int N, int type, int rotn)
static constexpr double sqrt3_
static int getRotation(int zside, int type, int rotn)
static constexpr double sin_60_
static std::vector< std::pair< double, double > > waferXY(const int &part, const int &orient, const int &zside, const double &waferSize, const double &offset, const double &xpos, const double &ypos, const bool &v17)
static constexpr double tan_60_
static std::pair< int, int > getTypeMode(const double &xpos, const double &ypos, const double &delX, const double &delY, const double &rin, const double &rout, const int &waferType, const int &mode, const bool &v17, const bool &debug=false)
static bool goodTypeMode(const double &xpos, const double &ypos, const double &delX, const double &delY, const double &rin, const double &rout, const int &part, const int &rotn, const bool &v17, const bool &debug=false)
static constexpr double cos_60_
static bool maskCell(int u, int v, int N, int ncor, int fcor, int corners)