CMS 3D CMS Logo

FactorizedJetCorrector.h
Go to the documentation of this file.
1 // This is the header file "FactorizedJetCorrector.h". This is the interface for the
2 // class FactorizedJetCorrector.
3 // Author: Konstantinos Kousouris, Philipp Schieferdecker
4 // Email: kkousour@fnal.gov, philipp.schieferdecker@cern.ch
5 
6 #ifndef FACTORIZED_JET_CORRECTOR_H
7 #define FACTORIZED_JET_CORRECTOR_H
8 
10 
11 #include <vector>
12 #include <string>
13 #include "TLorentzVector.h"
15 
16 class SimpleJetCorrector;
18 
20 {
21  public:
25  FactorizedJetCorrector(const std::string& fLevels, const std::string& fTags, const std::string& fOptions="");
26  FactorizedJetCorrector(const std::vector<JetCorrectorParameters>& fParameters);
27 
28  void setNPV (int fNPV);
29  void setJetEta (float fEta);
30  void setJetPt (float fPt);
31  void setJetE (float fE);
32  void setJetPhi (float fE);
33  void setJetEMF (float fEMF);
34  void setJetA (float fA);
35  void setRho (float fRho);
36  void setJPTrawP4 (const TLorentzVector& fJPTrawP4);
37  void setJPTrawOff (float fJPTrawOff);
38  void setLepPx (float fLepPx);
39  void setLepPy (float fLepPy);
40  void setLepPz (float fLepPz);
41  void setAddLepToJet (bool fAddLepToJet);
42 
43  float getCorrection();
44  std::vector<float> getSubCorrections();
45 
46 
47  private:
48  //---- Member Functions ----
51  //---- Member Data ---------
54 };
55 #endif
std::vector< float > getSubCorrections()
FactorizedJetCorrectorCalculator mCalc
void setAddLepToJet(bool fAddLepToJet)
FactorizedJetCorrectorCalculator::VariableValues mValues
void setJPTrawP4(const TLorentzVector &fJPTrawP4)
void setJPTrawOff(float fJPTrawOff)
FactorizedJetCorrector & operator=(const FactorizedJetCorrector &)=delete