CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
NormFunctor.h
Go to the documentation of this file.
1 #ifndef RecoLuminosity_LumiProducer_NormFunctor_h
2 #define RecoLuminosity_LumiProducer_NormFunctor_h
3 #include <string>
4 #include <map>
5 namespace lumi{
6  class NormFunctor{
7  public:
8  explicit NormFunctor();
9  virtual ~NormFunctor(){}
10  void initialize(const std::map< std::string , float >& coeffmap,
11  const std::map< unsigned int, float >& afterglowmap);
12  virtual float getCorrection(float luminonorm,float intglumi,unsigned int nBXs)const=0;
13  protected:
14  std::map< std::string , float > m_coeffmap;
15  std::map< unsigned int, float > m_afterglowmap;
16  private:
17  NormFunctor(const NormFunctor&);
18  const NormFunctor& operator=(const NormFunctor&);
19  };
20 }//ns lumi
21 #endif
const NormFunctor & operator=(const NormFunctor &)
tuple lumi
Definition: fjr2json.py:35
virtual float getCorrection(float luminonorm, float intglumi, unsigned int nBXs) const =0
std::map< unsigned int, float > m_afterglowmap
Definition: NormFunctor.h:15
virtual ~NormFunctor()
Definition: NormFunctor.h:9
float intglumi
Definition: normFunctors.py:63
void initialize(const std::map< std::string, float > &coeffmap, const std::map< unsigned int, float > &afterglowmap)
Definition: NormFunctor.cc:3
std::map< std::string, float > m_coeffmap
Definition: NormFunctor.h:14
float luminonorm
Definition: normFunctors.py:62