1 #ifndef HGCalCommonData_HGCalWaferMask_h
2 #define HGCalCommonData_HGCalWaferMask_h
20 static bool maskCell(
int u,
int v,
int N,
int ncor,
int fcor,
int corners);
21 static bool goodCell(
int u,
int v,
int N,
int type,
int rotn);
23 static std::pair<int, int>
getTypeMode(
const double& xpos,
33 double xpos,
double ypos,
double delX,
double delY,
double rin,
double rout,
int part,
int rotn,
bool debug);
34 static std::vector<std::pair<double, double> >
waferXY(
35 int part,
int orient,
int zside,
double delX,
double delY,
double xpos,
double ypos);
static std::vector< std::pair< double, double > > waferXY(int part, int orient, int zside, double delX, double delY, double xpos, double ypos)
static bool goodCell(int u, int v, int N, int type, int rotn)
static bool goodTypeMode(double xpos, double ypos, double delX, double delY, double rin, double rout, int part, int rotn, bool debug)
static int getRotation(int zside, int type, int rotn)
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 deug=false)
static constexpr int k_OffsetRotation
static bool maskCell(int u, int v, int N, int ncor, int fcor, int corners)