CMS 3D CMS Logo

HGCalWaferMask.h
Go to the documentation of this file.
1 #ifndef HGCalCommonData_HGCalWaferMask_h
2 #define HGCalCommonData_HGCalWaferMask_h
3 
13 #include <cmath>
14 #include <vector>
15 
17 public:
18  HGCalWaferMask() = default;
19 
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);
22  static std::pair<int, int> getTypeMode(const double& xpos,
23  const double& ypos,
24  const double& delX,
25  const double& delY,
26  const double& rin,
27  const double& rout,
28  const int& waferType,
29  const int& mode,
30  bool deug = false);
31  static const int k_OffsetRotation = 10;
32 };
33 
34 #endif
HGCalWaferMask::goodCell
static bool goodCell(int u, int v, int N, int type, int rotn)
Definition: HGCalWaferMask.cc:107
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition: ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
findQualityFiles.v
v
Definition: findQualityFiles.py:179
HGCalWaferMask
Definition: HGCalWaferMask.h:16
N
#define N
Definition: blowfish.cc:9
HGCalWaferMask::HGCalWaferMask
HGCalWaferMask()=default
HGCalWaferMask::getTypeMode
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)
Definition: HGCalWaferMask.cc:336
HGCalWaferMask::k_OffsetRotation
static const int k_OffsetRotation
Definition: HGCalWaferMask.h:31
type
type
Definition: HCALResponse.h:21
HGCalWaferMask::maskCell
static bool maskCell(int u, int v, int N, int ncor, int fcor, int corners)
Definition: HGCalWaferMask.cc:10