#include <SignAlgoResolutions.h>
Public Member Functions | |
void | addResolutions (const edm::ParameterSet &iConfig) |
double | eval (const resolutionType &type, const resolutionFunc &func, const double &et, const double &phi, const double &eta, const double &p) const |
double | eval (const resolutionType &type, const resolutionFunc &func, const double &et, const double &phi, const double &eta) const |
metsig::SigInputObj | evalPF (const reco::PFCandidate *candidate) const |
metsig::SigInputObj | evalPFJet (const reco::Jet *jet) const |
bool | isFilled () const |
SignAlgoResolutions () | |
SignAlgoResolutions (const edm::ParameterSet &iConfig) | |
Private Types | |
typedef std::pair < metsig::resolutionType, metsig::resolutionFunc > | functionCombo |
typedef std::vector< double > | functionPars |
Private Member Functions | |
void | addfunction (const resolutionType type, const resolutionFunc func, const std::vector< double > ¶meters) |
double | ElectronPtResolution (const reco::PFCandidate *c) const |
double | EtFunction (const functionPars &x, const functionPars &par) const |
double | getfunc (const resolutionType &type, const resolutionFunc &func, std::vector< double > &x) const |
void | initializeJetResolutions (const edm::ParameterSet &iConfig) |
double | PFunction (const functionPars &x, const functionPars &par) const |
double | PhiConstFunction (const functionPars &x, const functionPars &par) const |
double | PhiFunction (const functionPars &x, const functionPars &par) const |
Private Attributes | |
std::map< functionCombo, functionPars > | functionmap_ |
std::vector< double > | jdphi [10] |
std::vector< double > | jdpt [10] |
PFEnergyResolution * | pfresol_ |
JetResolution * | phiResol_ |
JetResolution * | ptResol_ |
double | ptResolThreshold_ |
Definition at line 61 of file SignAlgoResolutions.h.
|
private |
Definition at line 87 of file SignAlgoResolutions.h.
|
private |
Definition at line 88 of file SignAlgoResolutions.h.
|
inline |
Definition at line 63 of file SignAlgoResolutions.h.
metsig::SignAlgoResolutions::SignAlgoResolutions | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 33 of file SignAlgoResolutions.cc.
References addResolutions().
|
private |
Definition at line 310 of file SignAlgoResolutions.cc.
void metsig::SignAlgoResolutions::addResolutions | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 151 of file SignAlgoResolutions.cc.
References metsig::caloEB, metsig::caloEE, metsig::caloHB, metsig::caloHE, metsig::caloHF, metsig::caloHO, metsig::ET, edm::ParameterSet::getParameter(), initializeJetResolutions(), metsig::PFtype1, metsig::PFtype2, metsig::PFtype3, metsig::PFtype4, metsig::PFtype5, metsig::PFtype6, metsig::PFtype7, and metsig::PHI.
Referenced by SignAlgoResolutions().
|
private |
Definition at line 408 of file SignAlgoResolutions.cc.
References relval_parameters_module::energy, reco::LeafCandidate::energy(), PVValHelper::eta, and reco::LeafCandidate::eta().
|
private |
Definition at line 344 of file SignAlgoResolutions.cc.
References mps_fire::result, and mathSSE::sqrt().
double metsig::SignAlgoResolutions::eval | ( | const resolutionType & | type, |
const resolutionFunc & | func, | ||
const double & | et, | ||
const double & | phi, | ||
const double & | eta, | ||
const double & | p | ||
) | const |
Definition at line 49 of file SignAlgoResolutions.cc.
References PVValHelper::eta, class-composition::getfunc, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by PFMEtSignInterfaceBase::compResolution().
double metsig::SignAlgoResolutions::eval | ( | const resolutionType & | type, |
const resolutionFunc & | func, | ||
const double & | et, | ||
const double & | phi, | ||
const double & | eta | ||
) | const |
Definition at line 38 of file SignAlgoResolutions.cc.
References funct::exp(), AlCaHLTBitMon_ParallelJobs::p, funct::sin(), and theta().
metsig::SigInputObj metsig::SignAlgoResolutions::evalPF | ( | const reco::PFCandidate * | candidate | ) | const |
Definition at line 64 of file SignAlgoResolutions.cc.
References reco::LeafCandidate::energy(), metsig::ET, PVValHelper::eta, reco::LeafCandidate::eta(), edm::Ref< C, T, F >::isNull(), mergeVDriftHistosByStation::name, reco::PFCandidate::particleId(), metsig::PFtype1, metsig::PFtype2, metsig::PFtype3, metsig::PFtype4, metsig::PFtype5, metsig::PFtype6, metsig::PFtype7, metsig::PHI, reco::LeafCandidate::phi(), funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, reco::LeafCandidate::theta(), and reco::PFCandidate::trackRef().
Referenced by PFMEtSignInterfaceBase::compResolution().
metsig::SigInputObj metsig::SignAlgoResolutions::evalPFJet | ( | const reco::Jet * | jet | ) | const |
Definition at line 121 of file SignAlgoResolutions.cc.
References Abs(), reco::LeafCandidate::eta(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by PFMEtSignInterfaceBase::compResolution().
|
private |
Definition at line 317 of file SignAlgoResolutions.cc.
References metsig::CONSTPHI, metsig::ET, metsig::PHI, mps_fire::result, edm::second(), metsig::TRACKP, and makeHLTPrescaleTable::values.
|
private |
Definition at line 380 of file SignAlgoResolutions.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, runTheMatrix::cmssw_base, edm::ParameterSet::getParameter(), fed_dqm_sourceclient-live_cfg::path, edm_modernize_messagelogger::stat, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addResolutions().
|
inline |
Definition at line 80 of file SignAlgoResolutions.h.
References functionmap_.
|
private |
Definition at line 371 of file SignAlgoResolutions.cc.
|
private |
Definition at line 376 of file SignAlgoResolutions.cc.
|
private |
Definition at line 356 of file SignAlgoResolutions.cc.
References mathSSE::sqrt().
|
private |
Definition at line 89 of file SignAlgoResolutions.h.
Referenced by isFilled().
|
private |
Definition at line 102 of file SignAlgoResolutions.h.
|
private |
Definition at line 101 of file SignAlgoResolutions.h.
|
private |
Definition at line 106 of file SignAlgoResolutions.h.
|
private |
Definition at line 105 of file SignAlgoResolutions.h.
|
private |
Definition at line 104 of file SignAlgoResolutions.h.
|
private |
Definition at line 97 of file SignAlgoResolutions.h.