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
SiPixelCPEGenericDBErrorParametrization::a_max
static const float * a_max[4]
Definition: SiPixelCPEGenericDBErrorParametrization.h:67
SiPixelCPEGenericDBErrorParametrization::fy_a_max
static const float fy_a_max[2]
Definition: SiPixelCPEGenericDBErrorParametrization.h:54
SiPixelCPEGenericDBErrorParametrization::fx_a_min
static const float fx_a_min[2]
Definition: SiPixelCPEGenericDBErrorParametrization.h:43
GeomDetEnumerators::SubDetector
SubDetector
Definition: GeomDetEnumerators.h:10
SiPixelCPEGenericErrorParm
Definition: SiPixelCPEGenericErrorParm.h:15
SiPixelCPEGenericDBErrorParametrization
Definition: SiPixelCPEGenericDBErrorParametrization.h:11
ESHandle.h
SiPixelCPEGenericDBErrorParametrization::fx_a_max
static const float fx_a_max[2]
Definition: SiPixelCPEGenericDBErrorParametrization.h:44
SiPixelCPEGenericDBErrorParametrization::fy_b_max
static const float fy_b_max[2]
Definition: SiPixelCPEGenericDBErrorParametrization.h:56
zMuMuMuonUserData.alpha
alpha
zGenParticlesMatch = cms.InputTag(""),
Definition: zMuMuMuonUserData.py:9
zMuMuMuonUserData.beta
beta
Definition: zMuMuMuonUserData.py:10
SiPixelCPEGenericDBErrorParametrization::a_min
static const float * a_min[4]
Definition: SiPixelCPEGenericDBErrorParametrization.h:66
SiPixelCPEGenericDBErrorParametrization::bx_a_max
static const float bx_a_max[3]
Definition: SiPixelCPEGenericDBErrorParametrization.h:41
SiPixelCPEGenericDBErrorParametrization::fy_a_min
static const float fy_a_min[2]
Definition: SiPixelCPEGenericDBErrorParametrization.h:53
GeomDetType.h
SiPixelCPEGenericDBErrorParametrization::~SiPixelCPEGenericDBErrorParametrization
~SiPixelCPEGenericDBErrorParametrization()
Definition: SiPixelCPEGenericDBErrorParametrization.cc:50
SiPixelCPEGenericDBErrorParametrization::SiPixelCPEGenericDBErrorParametrization
SiPixelCPEGenericDBErrorParametrization()
Definition: SiPixelCPEGenericDBErrorParametrization.cc:48
SiPixelCPEGenericDBErrorParametrization::part_bin_size
static const int part_bin_size[4]
Definition: SiPixelCPEGenericDBErrorParametrization.h:61
SiPixelCPEGenericDBErrorParametrization::by_b_min
static const float by_b_min[6]
Definition: SiPixelCPEGenericDBErrorParametrization.h:50
SiPixelCPEGenericDBErrorParametrization::setDBAccess
void setDBAccess(const edm::EventSetup &es)
Definition: SiPixelCPEGenericDBErrorParametrization.cc:52
SiPixelCPEGenericDBErrorParametrization::fy_b_min
static const float fy_b_min[2]
Definition: SiPixelCPEGenericDBErrorParametrization.h:55
SiPixelCPEGenericDBErrorParametrization::size_bin_size
static const int size_bin_size[4]
Definition: SiPixelCPEGenericDBErrorParametrization.h:62
edm::ESHandle< SiPixelCPEGenericErrorParm >
SiPixelCPEGenericDBErrorParametrization::by_a_max
static const float by_a_max[6]
Definition: SiPixelCPEGenericDBErrorParametrization.h:49
SiPixelCPEGenericDBErrorParametrization::by_a_min
static const float by_a_min[6]
Definition: SiPixelCPEGenericDBErrorParametrization.h:48
SiPixelCPEGenericDBErrorParametrization::alpha_bin_size
static const int alpha_bin_size[4]
Definition: SiPixelCPEGenericDBErrorParametrization.h:63
SiPixelCPEGenericDBErrorParametrization::errors_big_pix
static const float errors_big_pix[4]
Definition: SiPixelCPEGenericDBErrorParametrization.h:58
SiPixelCPEGenericDBErrorParametrization::index
float index(int ind_subpart, int size, float alpha, float beta, bool big)
Definition: SiPixelCPEGenericDBErrorParametrization.cc:118
SiPixelCPEGenericDBErrorParametrization::by_b_max
static const float by_b_max[6]
Definition: SiPixelCPEGenericDBErrorParametrization.h:51
SiPixelCPEGenericDBErrorParametrization::b_max
static const float * b_max[4]
Definition: SiPixelCPEGenericDBErrorParametrization.h:69
SiPixelCPEGenericDBErrorParametrization::bx_a_min
static const float bx_a_min[3]
Definition: SiPixelCPEGenericDBErrorParametrization.h:40
SiPixelCPEGenericDBErrorParametrization::size_max
static const int size_max[4]
Definition: SiPixelCPEGenericDBErrorParametrization.h:59
edm::EventSetup
Definition: EventSetup.h:57
EventSetup.h
big
Definition: big.h:8
ParameterSet.h
SiPixelCPEGenericDBErrorParametrization::getError
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)
Definition: SiPixelCPEGenericDBErrorParametrization.cc:57
SiPixelCPEGenericDBErrorParametrization::b_min
static const float * b_min[4]
Definition: SiPixelCPEGenericDBErrorParametrization.h:68
SiPixelCPEGenericDBErrorParametrization::fx_b_max
static const float fx_b_max[2]
Definition: SiPixelCPEGenericDBErrorParametrization.h:46
SiPixelCPEGenericDBErrorParametrization::errorsH
edm::ESHandle< SiPixelCPEGenericErrorParm > errorsH
Definition: SiPixelCPEGenericDBErrorParametrization.h:38
SiPixelCPEGenericDBErrorParametrization::fx_b_min
static const float fx_b_min[2]
Definition: SiPixelCPEGenericDBErrorParametrization.h:45
SiPixelCPEGenericErrorParm.h
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443
SiPixelCPEGenericDBErrorParametrization::beta_bin_size
static const int beta_bin_size[4]
Definition: SiPixelCPEGenericDBErrorParametrization.h:64