#include <JetCorrectionUncertainty.h>
Public Member Functions | |
float | getUncertainty (bool fDirection) |
JetCorrectionUncertainty () | |
JetCorrectionUncertainty (const std::string &fDataFile) | |
JetCorrectionUncertainty (const JetCorrectorParameters &fParameters) | |
JetCorrectionUncertainty (const JetCorrectionUncertainty &)=delete | |
JetCorrectionUncertainty & | operator= (const JetCorrectionUncertainty &)=delete |
void | setAddLepToJet (bool fAddLepToJet) |
void | setJetE (float fE) |
void | setJetEMF (float fEMF) |
void | setJetEta (float fEta) |
void | setJetPhi (float fE) |
void | setJetPt (float fPt) |
void | setLepPx (float fLepPx) |
void | setLepPy (float fLepPy) |
void | setLepPz (float fLepPz) |
void | setParameters (const std::string &fDataFile) |
~JetCorrectionUncertainty () | |
Private Member Functions | |
std::vector< float > | fillVector (const std::vector< std::string > &fNames) |
float | getPtRel () |
Private Attributes | |
bool | mAddLepToJet |
bool | mIsJetEMFset |
bool | mIsJetEset |
bool | mIsJetEtaset |
bool | mIsJetPhiset |
bool | mIsJetPtset |
bool | mIsLepPxset |
bool | mIsLepPyset |
bool | mIsLepPzset |
float | mJetE |
float | mJetEMF |
float | mJetEta |
float | mJetPhi |
float | mJetPt |
float | mLepPx |
float | mLepPy |
float | mLepPz |
SimpleJetCorrectionUncertainty * | mUncertainty |
Definition at line 11 of file JetCorrectionUncertainty.h.
JetCorrectionUncertainty::JetCorrectionUncertainty | ( | ) |
Definition at line 12 of file JetCorrectionUncertainty.cc.
References mAddLepToJet, mIsJetEMFset, mIsJetEset, mIsJetEtaset, mIsJetPhiset, mIsJetPtset, mIsLepPxset, mIsLepPyset, mIsLepPzset, mJetE, mJetEMF, mJetEta, mJetPhi, mJetPt, mLepPx, mLepPy, mLepPz, and mUncertainty.
JetCorrectionUncertainty::JetCorrectionUncertainty | ( | const std::string & | fDataFile | ) |
Definition at line 33 of file JetCorrectionUncertainty.cc.
References mAddLepToJet, mIsJetEMFset, mIsJetEset, mIsJetEtaset, mIsJetPhiset, mIsJetPtset, mIsLepPxset, mIsLepPyset, mIsLepPzset, mJetE, mJetEMF, mJetEta, mJetPhi, mJetPt, mLepPx, mLepPy, mLepPz, and mUncertainty.
JetCorrectionUncertainty::JetCorrectionUncertainty | ( | const JetCorrectorParameters & | fParameters | ) |
Definition at line 54 of file JetCorrectionUncertainty.cc.
References mAddLepToJet, mIsJetEMFset, mIsJetEset, mIsJetEtaset, mIsJetPhiset, mIsJetPtset, mIsLepPxset, mIsLepPyset, mIsLepPzset, mJetE, mJetEMF, mJetEta, mJetPhi, mJetPt, mLepPx, mLepPy, mLepPz, and mUncertainty.
|
delete |
JetCorrectionUncertainty::~JetCorrectionUncertainty | ( | ) |
Definition at line 75 of file JetCorrectionUncertainty.cc.
References mUncertainty.
|
private |
Definition at line 102 of file JetCorrectionUncertainty.cc.
References mps_fire::i, mIsJetEMFset, mIsJetEset, mIsJetEtaset, mIsJetPhiset, mIsJetPtset, mIsLepPxset, mIsLepPyset, mIsLepPzset, mJetE, mJetEMF, mJetEta, mJetPhi, mJetPt, mLepPx, mLepPy, mLepPz, and mps_fire::result.
Referenced by getUncertainty().
|
private |
Definition at line 173 of file JetCorrectionUncertainty.cc.
References metsig::jet, RazorAnalyzer::lep2, mAddLepToJet, mJetE, mJetEta, mJetPhi, mJetPt, mLepPx, mLepPy, mLepPz, and mathSSE::sqrt().
float JetCorrectionUncertainty::getUncertainty | ( | bool | fDirection | ) |
Definition at line 83 of file JetCorrectionUncertainty.cc.
References JetCorrectorParameters::Definitions::binVar(), JetCorrectorParameters::definitions(), fillVector(), mIsJetEMFset, mIsJetEset, mIsJetEtaset, mIsJetPhiset, mIsJetPtset, mIsLepPxset, mIsLepPyset, mIsLepPzset, mUncertainty, SimpleJetCorrectionUncertainty::parameters(), JetCorrectorParameters::Definitions::parVar(), mps_fire::result, SimpleJetCorrectionUncertainty::uncertainty(), run3scouting_cff::vx, and run3scouting_cff::vy.
|
delete |
|
inline |
void JetCorrectionUncertainty::setJetE | ( | float | fE | ) |
void JetCorrectionUncertainty::setJetEMF | ( | float | fEMF | ) |
Definition at line 224 of file JetCorrectionUncertainty.cc.
References JetMETHLTOfflineSource_cfi::fEMF, mIsJetEMFset, and mJetEMF.
void JetCorrectionUncertainty::setJetEta | ( | float | fEta | ) |
Definition at line 204 of file JetCorrectionUncertainty.cc.
References l1ScoutingRun3::ugmt::fEta(), mIsJetEtaset, and mJetEta.
void JetCorrectionUncertainty::setJetPhi | ( | float | fE | ) |
Definition at line 214 of file JetCorrectionUncertainty.cc.
References l1ScoutingRun3::ugmt::fPhi(), mIsJetPhiset, and mJetPhi.
void JetCorrectionUncertainty::setJetPt | ( | float | fPt | ) |
Definition at line 209 of file JetCorrectionUncertainty.cc.
References l1ScoutingRun3::ugmt::fPt(), mIsJetPtset, and mJetPt.
void JetCorrectionUncertainty::setLepPx | ( | float | fLepPx | ) |
void JetCorrectionUncertainty::setLepPy | ( | float | fLepPy | ) |
void JetCorrectionUncertainty::setLepPz | ( | float | fLepPz | ) |
void JetCorrectionUncertainty::setParameters | ( | const std::string & | fDataFile | ) |
Definition at line 77 of file JetCorrectionUncertainty.cc.
References mUncertainty.
|
private |
Definition at line 44 of file JetCorrectionUncertainty.h.
Referenced by getPtRel(), JetCorrectionUncertainty(), and setAddLepToJet().
|
private |
Definition at line 49 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setJetEMF().
|
private |
Definition at line 45 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setJetE().
|
private |
Definition at line 48 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setJetEta().
|
private |
Definition at line 47 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setJetPhi().
|
private |
Definition at line 46 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setJetPt().
|
private |
Definition at line 50 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setLepPx().
|
private |
Definition at line 51 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setLepPy().
|
private |
Definition at line 52 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setLepPz().
|
private |
Definition at line 36 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getPtRel(), JetCorrectionUncertainty(), and setJetE().
|
private |
Definition at line 40 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), JetCorrectionUncertainty(), and setJetEMF().
|
private |
Definition at line 37 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getPtRel(), JetCorrectionUncertainty(), and setJetEta().
|
private |
Definition at line 39 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getPtRel(), JetCorrectionUncertainty(), and setJetPhi().
|
private |
Definition at line 38 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getPtRel(), JetCorrectionUncertainty(), and setJetPt().
|
private |
Definition at line 41 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getPtRel(), JetCorrectionUncertainty(), and setLepPx().
|
private |
Definition at line 42 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getPtRel(), JetCorrectionUncertainty(), and setLepPy().
|
private |
Definition at line 43 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getPtRel(), JetCorrectionUncertainty(), and setLepPz().
|
private |
Definition at line 53 of file JetCorrectionUncertainty.h.
Referenced by getUncertainty(), JetCorrectionUncertainty(), setParameters(), and ~JetCorrectionUncertainty().