CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 <ctime>
11 #include <cstdio>
12 
13 #include <cmath>
14 
17 
19 public:
21 
22  EnergyResolutionVsLumi(double lumi, double instlumi) {
23  m_lumi = lumi;
24  m_instlumi = instlumi;
25  calcmuTot();
26  };
27 
28  ~EnergyResolutionVsLumi() = default;
29 
31  double eta;
32  double muEM;
33  double muHD;
36  double ampDropTotal;
39  };
40 
42  double Resolution(double eta, double ene);
43  //void Decomposition();
44 
45  void setLumi(double x) { m_lumi = x; };
46  void setInstLumi(double x) { m_instlumi = x; };
47  void setLumies(double x, double y) { m_lumi = x, m_instlumi = y, calcmuTot(); };
48 
49  double calcmuEM(double eta);
50  double calcmuHD(double eta);
51  double calcampDropTransparency(double eta);
52  double calcampDropPhotoDetector(double eta);
53  double calcampDropTotal(double eta);
54  double calcnoiseIncreaseADC(double eta);
55  double calcnoiseADC(double eta);
56  double calcresolutitonConstantTerm(double eta);
57 
59 
60  double calcLightCollectionEfficiencyWeighted2(double eta, double z, double mu_ind = -1.0);
61  double calcmuTot(double eta);
62  void calcmuTot();
63  double getmuTot(double eta, int ix, int iy);
64 
65 private:
66  double m_lumi;
67  double m_instlumi;
68  double mu_eta[10085];
69  double vpt_eta[10085];
70 };
71 
72 #endif
double getmuTot(double eta, int ix, int iy)
double Resolution(double eta, double ene)
~EnergyResolutionVsLumi()=default
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)
list lumi
Definition: dqmdumpme.py:53
double calcLightCollectionEfficiencyWeighted2(double eta, double z, double mu_ind=-1.0)
Definition: DetId.h:17
DegradationAtEta CalculateDegradation(double eta)
double calcLightCollectionEfficiencyWeighted(DetId id, double z)
double calcampDropTotal(double eta)