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,
51 static std::vector<std::pair<double, double> >
waferXY(
55 static std::vector<std::pair<double, double> >
waferXY(
56 int part,
int placement,
double wafersize,
double offset,
double xpos,
double ypos);
59 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(int part, int orient, int zside, double waferSize, double offset, double xpos, double ypos)
static bool goodTypeMode(double xpos, double ypos, double delX, double delY, double rin, double rout, int part, int rotn, bool debug=false)
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, bool debug=false)
static constexpr double cos_60_
static bool maskCell(int u, int v, int N, int ncor, int fcor, int corners)