CMS 3D CMS Logo

SiPixelCPEGenericDBErrorParametrization.h
Go to the documentation of this file.
1 #ifndef CalibTracker_SiPixelESProducers_SiPixelDBErrorParametrization_h
2 #define CalibTracker_SiPixelESProducers_SiPixelDBErrorParametrization_h
3 
4 #include <memory>
10 
12 public:
15 
16  void setDBAccess(const edm::EventSetup& es);
17 
18  std::pair<float, float> getError(const SiPixelCPEGenericErrorParm* parmErrors,
19  GeomDetType::SubDetector pixelPart,
20  int sizex,
21  int sizey,
22  float alpha,
23  float beta,
24  bool bigInX = false,
25  bool bigInY = false);
26 
27  std::pair<float, float> getError(GeomDetType::SubDetector pixelPart,
28  int sizex,
29  int sizey,
30  float alpha,
31  float beta,
32  bool bigInX = false,
33  bool bigInY = false);
34 
35  float index(int ind_subpart, int size, float alpha, float beta, bool big);
36 
37 private:
39 
40  static const float bx_a_min[3];
41  static const float bx_a_max[3];
42 
43  static const float fx_a_min[2];
44  static const float fx_a_max[2];
45  static const float fx_b_min[2];
46  static const float fx_b_max[2];
47 
48  static const float by_a_min[6];
49  static const float by_a_max[6];
50  static const float by_b_min[6];
51  static const float by_b_max[6];
52 
53  static const float fy_a_min[2];
54  static const float fy_a_max[2];
55  static const float fy_b_min[2];
56  static const float fy_b_max[2];
57 
58  static const float errors_big_pix[4];
59  static const int size_max[4];
60 
61  static const int part_bin_size[4];
62  static const int size_bin_size[4];
63  static const int alpha_bin_size[4];
64  static const int beta_bin_size[4];
65 
66  static const float* a_min[4];
67  static const float* a_max[4];
68  static const float* b_min[4];
69  static const float* b_max[4];
70 };
71 #endif
size
Write out results.
std::pair< float, float > getError(const SiPixelCPEGenericErrorParm *parmErrors, GeomDetType::SubDetector pixelPart, int sizex, int sizey, float alpha, float beta, bool bigInX=false, bool bigInY=false)
float index(int ind_subpart, int size, float alpha, float beta, bool big)
Definition: big.h:8
alpha
zGenParticlesMatch = cms.InputTag(""),
edm::ESHandle< SiPixelCPEGenericErrorParm > errorsH