#include <JetCorrectionUncertainty.h>
Public Member Functions | |
float | getUncertainty (bool fDirection) |
JetCorrectionUncertainty () | |
JetCorrectionUncertainty (const std::string &fDataFile) | |
JetCorrectionUncertainty (const JetCorrectorParameters &fParameters) | |
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 () |
JetCorrectionUncertainty (const JetCorrectionUncertainty &) | |
JetCorrectionUncertainty & | operator= (const JetCorrectionUncertainty &) |
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 34 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 56 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 | ( | ) |
Definition at line 78 of file JetCorrectionUncertainty.cc.
References mUncertainty.
|
private |
|
private |
Definition at line 110 of file JetCorrectionUncertainty.cc.
References i, mIsJetEMFset, mIsJetEset, mIsJetEtaset, mIsJetPhiset, mIsJetPtset, mIsLepPxset, mIsLepPyset, mIsLepPzset, mJetE, mJetEMF, mJetEta, mJetPt, mLepPx, mLepPy, mLepPz, and mps_fire::result.
Referenced by getUncertainty().
|
private |
Definition at line 198 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 90 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, and SimpleJetCorrectionUncertainty::uncertainty().
Referenced by JetCorrectorDemo::analyze(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), and ShiftedJetProducerT< T, Textractor >::produce().
|
private |
|
inline |
void JetCorrectionUncertainty::setJetE | ( | float | fE | ) |
void JetCorrectionUncertainty::setJetEMF | ( | float | fEMF | ) |
void JetCorrectionUncertainty::setJetEta | ( | float | fEta | ) |
Definition at line 230 of file JetCorrectionUncertainty.cc.
References mIsJetEtaset, and mJetEta.
Referenced by JetCorrectorDemo::analyze(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), and ShiftedJetProducerT< T, Textractor >::produce().
void JetCorrectionUncertainty::setJetPhi | ( | float | fE | ) |
void JetCorrectionUncertainty::setJetPt | ( | float | fPt | ) |
Definition at line 236 of file JetCorrectionUncertainty.cc.
References mIsJetPtset, and mJetPt.
Referenced by JetCorrectorDemo::analyze(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), and ShiftedJetProducerT< T, Textractor >::produce().
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 83 of file JetCorrectionUncertainty.cc.
References mUncertainty.
|
private |
Definition at line 45 of file JetCorrectionUncertainty.h.
Referenced by getPtRel(), JetCorrectionUncertainty(), and setAddLepToJet().
|
private |
Definition at line 50 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setJetEMF().
|
private |
Definition at line 46 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setJetE().
|
private |
Definition at line 49 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setJetEta().
|
private |
Definition at line 48 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setJetPhi().
|
private |
Definition at line 47 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setJetPt().
|
private |
Definition at line 51 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setLepPx().
|
private |
Definition at line 52 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setLepPy().
|
private |
Definition at line 53 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getUncertainty(), JetCorrectionUncertainty(), and setLepPz().
|
private |
Definition at line 37 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getPtRel(), JetCorrectionUncertainty(), and setJetE().
|
private |
Definition at line 41 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), JetCorrectionUncertainty(), and setJetEMF().
|
private |
Definition at line 38 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getPtRel(), JetCorrectionUncertainty(), and setJetEta().
|
private |
Definition at line 40 of file JetCorrectionUncertainty.h.
Referenced by getPtRel(), JetCorrectionUncertainty(), and setJetPhi().
|
private |
Definition at line 39 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getPtRel(), JetCorrectionUncertainty(), and setJetPt().
|
private |
Definition at line 42 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getPtRel(), JetCorrectionUncertainty(), and setLepPx().
|
private |
Definition at line 43 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getPtRel(), JetCorrectionUncertainty(), and setLepPy().
|
private |
Definition at line 44 of file JetCorrectionUncertainty.h.
Referenced by fillVector(), getPtRel(), JetCorrectionUncertainty(), and setLepPz().
|
private |
Definition at line 54 of file JetCorrectionUncertainty.h.
Referenced by getUncertainty(), JetCorrectionUncertainty(), setParameters(), and ~JetCorrectionUncertainty().