![]() |
![]() |
#include <FactorizedJetCorrectorCalculator.h>
Classes | |
class | VariableValues |
Public Types | |
enum | LevelTypes { kL1, kL2, kL3, kL4, kL5, kL6, kL7, kL1fj, kL1JPT, kL2L3Res } |
enum | VarTypes { kJetPt, kJetEta, kJetPhi, kJetE, kJetEMF, kRelLepPt, kPtRel, kNPV, kJetA, kRho, kJPTrawE, kJPTrawEt, kJPTrawPt, kJPTrawEta, kJPTrawOff } |
Public Member Functions | |
FactorizedJetCorrectorCalculator () | |
FactorizedJetCorrectorCalculator (const std::string &fLevels, const std::string &fTags, const std::string &fOptions="") | |
FactorizedJetCorrectorCalculator (const std::vector< JetCorrectorParameters > &fParameters) | |
float | getCorrection (VariableValues &) const |
std::vector< float > | getSubCorrections (VariableValues &) const |
~FactorizedJetCorrectorCalculator () | |
Private Member Functions | |
void | checkConsistency (const std::vector< std::string > &fLevels, const std::vector< std::string > &fTags) |
FactorizedJetCorrectorCalculator (const FactorizedJetCorrectorCalculator &)=delete | |
std::vector< float > | fillVector (const std::vector< VarTypes > &fVarTypes, const VariableValues &) const |
float | getLepPt (const VariableValues &) const |
float | getPtRel (const VariableValues &) const |
float | getRelLepPt (const VariableValues &) const |
void | initCorrectors (const std::string &fLevels, const std::string &fFiles, const std::string &fOptions) |
std::vector< VarTypes > | mapping (const std::vector< std::string > &fNames) const |
FactorizedJetCorrectorCalculator & | operator= (const FactorizedJetCorrectorCalculator &)=delete |
std::vector< std::string > | parseLevels (const std::string &ss) const |
std::string | parseOption (const std::string &ss, const std::string &type) const |
std::string | removeSpaces (const std::string &ss) const |
Private Attributes | |
std::vector< std::vector< VarTypes > > | mBinTypes |
std::vector< SimpleJetCorrector const * > | mCorrectors |
std::vector< LevelTypes > | mLevels |
std::vector< std::vector< VarTypes > > | mParTypes |
Definition at line 17 of file FactorizedJetCorrectorCalculator.h.
Enumerator | |
---|---|
kL1 | |
kL2 | |
kL3 | |
kL4 | |
kL5 | |
kL6 | |
kL7 | |
kL1fj | |
kL1JPT | |
kL2L3Res |
Definition at line 79 of file FactorizedJetCorrectorCalculator.h.
Enumerator | |
---|---|
kJetPt | |
kJetEta | |
kJetPhi | |
kJetE | |
kJetEMF | |
kRelLepPt | |
kPtRel | |
kNPV | |
kJetA | |
kRho | |
kJPTrawE | |
kJPTrawEt | |
kJPTrawPt | |
kJPTrawEta | |
kJPTrawOff |
Definition at line 78 of file FactorizedJetCorrectorCalculator.h.
FactorizedJetCorrectorCalculator::FactorizedJetCorrectorCalculator | ( | ) |
Definition at line 20 of file FactorizedJetCorrectorCalculator.cc.
FactorizedJetCorrectorCalculator::FactorizedJetCorrectorCalculator | ( | const std::string & | fLevels, |
const std::string & | fTags, | ||
const std::string & | fOptions = "" |
||
) |
Definition at line 26 of file FactorizedJetCorrectorCalculator.cc.
References initCorrectors().
FactorizedJetCorrectorCalculator::FactorizedJetCorrectorCalculator | ( | const std::vector< JetCorrectorParameters > & | fParameters | ) |
Definition at line 33 of file FactorizedJetCorrectorCalculator.cc.
References mps_fire::i, kL1, kL1fj, kL1JPT, kL2, kL2L3Res, kL3, kL4, kL5, kL6, kL7, mapping(), mBinTypes, mCorrectors, mLevels, mParTypes, and AlCaHLTBitMon_QueryRunRegistry::string.
FactorizedJetCorrectorCalculator::~FactorizedJetCorrectorCalculator | ( | ) |
Definition at line 71 of file FactorizedJetCorrectorCalculator.cc.
References mps_fire::i, and mCorrectors.
|
privatedelete |
|
private |
Definition at line 187 of file FactorizedJetCorrectorCalculator.cc.
References mps_fire::i.
Referenced by initCorrectors().
|
private |
Definition at line 317 of file FactorizedJetCorrectorCalculator.cc.
References getPtRel(), getRelLepPt(), mps_fire::i, kJetA, kJetE, kJetEMF, kJetEta, kJetPhi, kJetPt, kJPTrawE, kJPTrawEt, kJPTrawEta, kJPTrawOff, kJPTrawPt, kNPV, kPtRel, kRelLepPt, kRho, FactorizedJetCorrectorCalculator::VariableValues::mIsAddLepToJetset, FactorizedJetCorrectorCalculator::VariableValues::mIsJetAset, FactorizedJetCorrectorCalculator::VariableValues::mIsJetEMFset, FactorizedJetCorrectorCalculator::VariableValues::mIsJetEset, FactorizedJetCorrectorCalculator::VariableValues::mIsJetEtaset, FactorizedJetCorrectorCalculator::VariableValues::mIsJetPhiset, FactorizedJetCorrectorCalculator::VariableValues::mIsJetPtset, FactorizedJetCorrectorCalculator::VariableValues::mIsJPTrawOFFset, FactorizedJetCorrectorCalculator::VariableValues::mIsJPTrawP4set, FactorizedJetCorrectorCalculator::VariableValues::mIsLepPxset, FactorizedJetCorrectorCalculator::VariableValues::mIsLepPyset, FactorizedJetCorrectorCalculator::VariableValues::mIsLepPzset, FactorizedJetCorrectorCalculator::VariableValues::mIsNPVset, FactorizedJetCorrectorCalculator::VariableValues::mIsRhoset, FactorizedJetCorrectorCalculator::VariableValues::mJetA, FactorizedJetCorrectorCalculator::VariableValues::mJetE, FactorizedJetCorrectorCalculator::VariableValues::mJetEMF, FactorizedJetCorrectorCalculator::VariableValues::mJetEta, FactorizedJetCorrectorCalculator::VariableValues::mJetPhi, FactorizedJetCorrectorCalculator::VariableValues::mJetPt, FactorizedJetCorrectorCalculator::VariableValues::mJPTrawE, FactorizedJetCorrectorCalculator::VariableValues::mJPTrawEt, FactorizedJetCorrectorCalculator::VariableValues::mJPTrawEta, FactorizedJetCorrectorCalculator::VariableValues::mJPTrawOff, FactorizedJetCorrectorCalculator::VariableValues::mJPTrawPt, FactorizedJetCorrectorCalculator::VariableValues::mNPV, FactorizedJetCorrectorCalculator::VariableValues::mRho, and mps_fire::result.
Referenced by getSubCorrections().
float FactorizedJetCorrectorCalculator::getCorrection | ( | FactorizedJetCorrectorCalculator::VariableValues & | iValues | ) | const |
Definition at line 274 of file FactorizedJetCorrectorCalculator.cc.
References getSubCorrections().
Referenced by JetReCalibrator.JetReCalibrator::correct(), L1FastjetCorrector::correction(), L6SLBCorrector::correction(), and FactorizedJetCorrector::getCorrection().
|
private |
Definition at line 409 of file FactorizedJetCorrectorCalculator.cc.
References FactorizedJetCorrectorCalculator::VariableValues::mLepPx, FactorizedJetCorrectorCalculator::VariableValues::mLepPy, and mathSSE::sqrt().
Referenced by getRelLepPt(), and getSubCorrections().
|
private |
Definition at line 424 of file FactorizedJetCorrectorCalculator.cc.
References metsig::jet, RazorAnalyzer::lep2, FactorizedJetCorrectorCalculator::VariableValues::mAddLepToJet, FactorizedJetCorrectorCalculator::VariableValues::mJetE, FactorizedJetCorrectorCalculator::VariableValues::mJetEta, FactorizedJetCorrectorCalculator::VariableValues::mJetPhi, FactorizedJetCorrectorCalculator::VariableValues::mJetPt, FactorizedJetCorrectorCalculator::VariableValues::mLepPx, FactorizedJetCorrectorCalculator::VariableValues::mLepPy, FactorizedJetCorrectorCalculator::VariableValues::mLepPz, and mathSSE::sqrt().
Referenced by fillVector().
|
private |
Definition at line 416 of file FactorizedJetCorrectorCalculator.cc.
References getLepPt(), FactorizedJetCorrectorCalculator::VariableValues::mAddLepToJet, and FactorizedJetCorrectorCalculator::VariableValues::mJetPt.
Referenced by fillVector().
std::vector< float > FactorizedJetCorrectorCalculator::getSubCorrections | ( | FactorizedJetCorrectorCalculator::VariableValues & | iValues | ) | const |
Definition at line 282 of file FactorizedJetCorrectorCalculator.cc.
References fillVector(), getLepPt(), mps_fire::i, kL1, kL1fj, kL6, FactorizedJetCorrectorCalculator::VariableValues::mAddLepToJet, mBinTypes, mCorrectors, FactorizedJetCorrectorCalculator::VariableValues::mIsJPTrawOFFset, FactorizedJetCorrectorCalculator::VariableValues::mIsJPTrawP4set, FactorizedJetCorrectorCalculator::VariableValues::mJetE, FactorizedJetCorrectorCalculator::VariableValues::mJetPt, mLevels, mParTypes, FactorizedJetCorrectorCalculator::VariableValues::reset(), Scenarios_cff::scale, and FactorizedJetCorrectorCalculator::VariableValues::setJPTrawOff().
Referenced by getCorrection(), and FactorizedJetCorrector::getSubCorrections().
|
private |
Definition at line 79 of file FactorizedJetCorrectorCalculator.cc.
References checkConsistency(), mps_fire::i, kL1, kL1fj, kL1JPT, kL2, kL2L3Res, kL3, kL4, kL5, kL6, kL7, mapping(), mBinTypes, mCorrectors, mLevels, mParTypes, parseLevels(), parseOption(), removeSpaces(), AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
Referenced by FactorizedJetCorrectorCalculator().
|
private |
Definition at line 141 of file FactorizedJetCorrectorCalculator.cc.
References mps_fire::i, kJetA, kJetE, kJetEMF, kJetEta, kJetPhi, kJetPt, kJPTrawE, kJPTrawEt, kJPTrawEta, kJPTrawOff, kJPTrawPt, kNPV, kPtRel, kRelLepPt, kRho, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FactorizedJetCorrectorCalculator(), and initCorrectors().
|
privatedelete |
|
private |
Definition at line 207 of file FactorizedJetCorrectorCalculator.cc.
References mps_fire::i, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
Referenced by initCorrectors().
|
private |
Definition at line 240 of file FactorizedJetCorrectorCalculator.cc.
References mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initCorrectors().
|
private |
Definition at line 260 of file FactorizedJetCorrectorCalculator.cc.
References mps_fire::i, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initCorrectors().
|
private |
Definition at line 104 of file FactorizedJetCorrectorCalculator.h.
Referenced by FactorizedJetCorrectorCalculator(), getSubCorrections(), and initCorrectors().
|
private |
Definition at line 105 of file FactorizedJetCorrectorCalculator.h.
Referenced by FactorizedJetCorrectorCalculator(), getSubCorrections(), initCorrectors(), and ~FactorizedJetCorrectorCalculator().
|
private |
Definition at line 103 of file FactorizedJetCorrectorCalculator.h.
Referenced by FactorizedJetCorrectorCalculator(), getSubCorrections(), and initCorrectors().
|
private |
Definition at line 104 of file FactorizedJetCorrectorCalculator.h.
Referenced by FactorizedJetCorrectorCalculator(), getSubCorrections(), and initCorrectors().