CMS 3D CMS Logo

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 <ctime>
11 #include <cstdio>
12 
13 #include <cmath>
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  virtual ~EnergyResolutionVsLumi();
31 
33  double eta;
34  double muEM;
35  double muHD;
38  double ampDropTotal;
41  };
42 
44  double Resolution(double eta, double ene);
45  //void Decomposition();
46 
47  void setLumi(double x){m_lumi=x;};
48  void setInstLumi(double x){m_instlumi=x;};
49  void setLumies(double x, double y){m_lumi=x, m_instlumi=y, calcmuTot();};
50 
51  double calcmuEM(double eta);
52  double calcmuHD(double eta);
53  double calcampDropTransparency(double eta);
54  double calcampDropPhotoDetector(double eta);
55  double calcampDropTotal(double eta);
56  double calcnoiseIncreaseADC(double eta);
57  double calcnoiseADC(double eta);
58  double calcresolutitonConstantTerm(double eta);
59 
61 
62  double calcLightCollectionEfficiencyWeighted2(double eta, double z, double mu_ind=-1.0);
63  double calcmuTot(double eta);
64  void calcmuTot();
65  double getmuTot(double eta, int ix, int iy);
66 
67 
68  private:
69  double m_lumi;
70  double m_instlumi;
71  double mu_eta[10085];
72  double vpt_eta[10085];
73 
74 
75 };
76 
77 #endif
double getmuTot(double eta, int ix, int iy)
double Resolution(double eta, double ene)
void setLumies(double x, double y)
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)