#include <FactorizedJetCorrectorCalculator.h>
Classes | |
class | VariableValues |
Public Types | |
enum | LevelTypes { kL1, kL2, kL3, kL4, kL5, kL6, kL7, kL1fj, kL1JPT } |
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 &) | |
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 &) |
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 |
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 i, kL1, kL1fj, kL1JPT, kL2, kL3, kL4, kL5, kL6, kL7, mapping(), mBinTypes, mCorrectors, mLevels, mParTypes, Parameters::parameters, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
FactorizedJetCorrectorCalculator::~FactorizedJetCorrectorCalculator | ( | ) |
Definition at line 64 of file FactorizedJetCorrectorCalculator.cc.
References i, and mCorrectors.
|
private |
|
private |
Definition at line 178 of file FactorizedJetCorrectorCalculator.cc.
References i.
Referenced by initCorrectors().
|
private |
Definition at line 308 of file FactorizedJetCorrectorCalculator.cc.
References getPtRel(), getRelLepPt(), 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 query::result.
Referenced by getSubCorrections().
float FactorizedJetCorrectorCalculator::getCorrection | ( | FactorizedJetCorrectorCalculator::VariableValues & | iValues | ) | const |
Definition at line 265 of file FactorizedJetCorrectorCalculator.cc.
References getSubCorrections().
Referenced by JetReCalibrator.JetReCalibrator::correct(), L1FastjetCorrector::correction(), L6SLBCorrector::correction(), and FactorizedJetCorrector::getCorrection().
|
private |
Definition at line 400 of file FactorizedJetCorrectorCalculator.cc.
References FactorizedJetCorrectorCalculator::VariableValues::mLepPx, FactorizedJetCorrectorCalculator::VariableValues::mLepPy, and mathSSE::sqrt().
Referenced by getRelLepPt(), and getSubCorrections().
|
private |
Definition at line 415 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 407 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 273 of file FactorizedJetCorrectorCalculator.cc.
References fillVector(), getLepPt(), 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(), pileupReCalc_HLTpaths::scale, and FactorizedJetCorrectorCalculator::VariableValues::setJPTrawOff().
Referenced by getCorrection(), and FactorizedJetCorrector::getSubCorrections().
|
private |
Definition at line 72 of file FactorizedJetCorrectorCalculator.cc.
References checkConsistency(), i, kL1, kL1fj, kL1JPT, kL2, kL3, kL4, kL5, kL6, kL7, mapping(), mBinTypes, mCorrectors, mLevels, mParTypes, Parameters::parameters, parseLevels(), parseOption(), removeSpaces(), AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
Referenced by FactorizedJetCorrectorCalculator().
|
private |
Definition at line 132 of file FactorizedJetCorrectorCalculator.cc.
References i, kJetA, kJetE, kJetEMF, kJetEta, kJetPhi, kJetPt, kJPTrawE, kJPTrawEt, kJPTrawEta, kJPTrawOff, kJPTrawPt, kNPV, kPtRel, kRelLepPt, kRho, query::result, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FactorizedJetCorrectorCalculator(), and initCorrectors().
|
private |
|
private |
Definition at line 198 of file FactorizedJetCorrectorCalculator.cc.
References i, j, query::result, AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
Referenced by initCorrectors().
|
private |
Definition at line 231 of file FactorizedJetCorrectorCalculator.cc.
References query::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initCorrectors().
|
private |
Definition at line 251 of file FactorizedJetCorrectorCalculator.cc.
References i, query::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().