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 int getRotation(int zside, int type, int rotn);
23  static std::pair<int, int> getTypeMode(const double& xpos,
24  const double& ypos,
25  const double& delX,
26  const double& delY,
27  const double& rin,
28  const double& rout,
29  const int& waferType,
30  const int& mode,
31  bool deug = false);
32  static bool goodTypeMode(
33  double xpos, double ypos, double delX, double delY, double rin, double rout, int part, int rotn, bool debug);
34 
35  static const int k_OffsetRotation = 10;
36 };
37 
38 #endif
HGCalWaferMask::goodCell
static bool goodCell(int u, int v, int N, int type, int rotn)
Definition: HGCalWaferMask.cc:106
ecaldqm::zside
int zside(DetId const &)
Definition: EcalDQMCommonUtils.cc:189
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition: ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
findQualityFiles.v
v
Definition: findQualityFiles.py:179
HGCalWaferMask::getRotation
static int getRotation(int zside, int type, int rotn)
Definition: HGCalWaferMask.cc:337
debug
#define debug
Definition: HDRShower.cc:19
part
part
Definition: HCALResponse.h:20
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:375
HGCalWaferMask::goodTypeMode
static bool goodTypeMode(double xpos, double ypos, double delX, double delY, double rin, double rout, int part, int rotn, bool debug)
Definition: HGCalWaferMask.cc:538
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
HGCalWaferMask::k_OffsetRotation
static const int k_OffsetRotation
Definition: HGCalWaferMask.h:35
HGCalWaferMask::maskCell
static bool maskCell(int u, int v, int N, int ncor, int fcor, int corners)
Definition: HGCalWaferMask.cc:9