CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
JetCorrectionUncertainty.h
Go to the documentation of this file.
1 #ifndef JetCorrectionUncertainty_h
2 #define JetCorrectionUncertainty_h
3 
5 
6 #include <string>
7 #include <vector>
10 
12 {
13  public:
15  JetCorrectionUncertainty(const std::string& fDataFile);
18 
19  void setParameters (const std::string& fDataFile);
20  void setJetEta (float fEta);
21  void setJetPt (float fPt);
22  void setJetE (float fE);
23  void setJetPhi (float fE);
24  void setJetEMF (float fEMF);
25  void setLepPx (float fLepPx);
26  void setLepPy (float fLepPy);
27  void setLepPz (float fLepPz);
28  void setAddLepToJet (bool fAddLepToJet) {mAddLepToJet = fAddLepToJet;}
29  float getUncertainty(bool fDirection);
30 
31  private:
34  std::vector<float> fillVector(const std::vector<std::string>& fNames);
35  float getPtRel();
36  //---- Member Data ---------
37  float mJetE;
38  float mJetEta;
39  float mJetPt;
40  float mJetPhi;
41  float mJetEMF;
42  float mLepPx;
43  float mLepPy;
44  float mLepPz;
46  bool mIsJetEset;
50  bool mIsJetEMFset;
55 };
56 
57 #endif
58 
SimpleJetCorrectionUncertainty * mUncertainty
void setAddLepToJet(bool fAddLepToJet)
void setParameters(const std::string &fDataFile)
JetCorrectionUncertainty & operator=(const JetCorrectionUncertainty &)
float getUncertainty(bool fDirection)
std::vector< float > fillVector(const std::vector< std::string > &fNames)