CMS 3D CMS Logo

LumiCorrector.h
Go to the documentation of this file.
1 #ifndef LUMICORRECTOR_HH
2 #define LUMICORRECTOR_HH
3 
4 #include <map>
5 #include <string>
6 class LumiCorrector {
7 
8  public:
11  void setNormForAlgo(const std::string& algo,float value);
12  void setCoefficient(const std::string& name,float value);
13  float getNormForAlgo(const std::string& algo)const;
14  float getCoefficient(const std::string& name)const;
15  float AfterglowFactor(int nBXs);
16  float TotalNormOcc1(float TotLumi_noNorm, int nBXs);
17  float TotalNormOcc2(float TotLumi_noNorm, int nBXs);
18  float TotalNormET(float TotLumi_noNorm, int nBXs);
19  private:
20  float Occ1Norm_;
21  float Occ2Norm_;
22  float ETNorm_;
23  float PUNorm_;
24  float Alpha1_;
25  float Alpha2_;
26  std::map<int,float> AfterglowMap_;
27 };
28 
29 #endif
float getCoefficient(const std::string &name) const
float getNormForAlgo(const std::string &algo) const
float TotalNormOcc1(float TotLumi_noNorm, int nBXs)
void setCoefficient(const std::string &name, float value)
Definition: value.py:1
float TotalNormET(float TotLumi_noNorm, int nBXs)
float TotalNormOcc2(float TotLumi_noNorm, int nBXs)
std::map< int, float > AfterglowMap_
Definition: LumiCorrector.h:26
float AfterglowFactor(int nBXs)
void setNormForAlgo(const std::string &algo, float value)