CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EnergyResolutionVsLumi.h
Go to the documentation of this file.
1 #ifndef CalibCalorimetry_EnergyResolutionVsLumi_H
2 #define CalibCalorimetry_EnergyResolutionVsLumi_H
3 // system include files
4 
5 #include <vector>
6 #include <typeinfo>
7 #include <string>
8 #include <map>
9 
10 #include <time.h>
11 #include <stdio.h>
12 
13 #include <math.h>
14 
17 
19 
20  public:
21 
23 
24  EnergyResolutionVsLumi(double lumi, double instlumi){
25  m_lumi=lumi;
26  m_instlumi=instlumi;
27  calcmuTot();
28  };
29 
30 
31  virtual ~EnergyResolutionVsLumi();
32 
33 
35  double eta;
36  double muEM;
37  double muHD;
40  double ampDropTotal;
43  };
44 
45 
46 
47 
49  double Resolution(double eta, double ene);
50  void Decomposition();
51 
52  void setLumi(double x){m_lumi=x;};
53  void setInstLumi(double x){m_instlumi=x;};
54  void setLumies(double x, double y){m_lumi=x, m_instlumi=y, calcmuTot();};
55 
56  double calcmuEM(double eta);
57  double calcmuHD(double eta);
58  double calcampDropTransparency(double eta);
59  double calcampDropPhotoDetector(double eta);
60  double calcampDropTotal(double eta);
61  double calcnoiseIncreaseADC(double eta);
62  double calcnoiseADC(double eta);
63  double calcresolutitonConstantTerm(double eta);
64 
66 
67  double calcLightCollectionEfficiencyWeighted2(double eta, double z, double mu_ind=-1.0);
68  double calcmuTot(double eta);
69  void calcmuTot();
70  double getmuTot(double eta, int ix, int iy);
71 
72 
73  private:
74  double m_lumi;
75  double m_instlumi;
76  double mu_eta[10085];
77  double vpt_eta[10085];
78 
79 
80 };
81 
82 #endif
double getmuTot(double eta, int ix, int iy)
double Resolution(double eta, double ene)
void setLumies(double x, double y)
tuple lumi
Definition: fjr2json.py:35
EnergyResolutionVsLumi(double lumi, double instlumi)
double calcampDropPhotoDetector(double eta)
double calcresolutitonConstantTerm(double eta)
double calcnoiseIncreaseADC(double eta)
double calcampDropTransparency(double eta)
double calcLightCollectionEfficiencyWeighted2(double eta, double z, double mu_ind=-1.0)
Definition: DetId.h:18
DegradationAtEta CalculateDegradation(double eta)
double calcLightCollectionEfficiencyWeighted(DetId id, double z)
double calcampDropTotal(double eta)