CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimpleZSPJPTJetCorrector.h
Go to the documentation of this file.
1 //
2 // Original Author: Fedor Ratnikov Dec 27, 2006
3 //
4 // MC Jet Corrector
5 //
6 #ifndef SimpleZSPJPTJetCorrector_h
7 #define SimpleZSPJPTJetCorrector_h
9 #include <map>
10 #include <string>
11 #include <TFormula.h>
12 
14 
15 
17  public:
19  SimpleZSPJPTJetCorrector (const std::string& fDataFile);
20  virtual ~SimpleZSPJPTJetCorrector ();
21 
22  void init (const std::string& fDataFile);
23  virtual double correctionPtEtaPhiE (double fPt, double fEta, double fPhi, double fE) const;
24  virtual double correctionEtEtaPhiP (double fEt, double fEta, double fPhi, double fP) const;
25  virtual double correctionPUEtEtaPhiP (double fEt, double fEta, double fPhi, double fP) const;
26 
27  private:
31  TFormula* mFunc;
32  bool debug_; //removing statics - just add it to the class for now
33 
34 };
35 
36 #endif
SimpleZSPJPTJetCorrector & operator=(const SimpleZSPJPTJetCorrector &)
JetCorrectorParameters * mParameters
virtual double correctionPtEtaPhiE(double fPt, double fEta, double fPhi, double fE) const
virtual double correctionPUEtEtaPhiP(double fEt, double fEta, double fPhi, double fP) const
virtual double correctionEtEtaPhiP(double fEt, double fEta, double fPhi, double fP) const
void init(const std::string &fDataFile)