#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::PFJet *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 43 of file SignAlgoResolutions.h.
|
private |
Definition at line 61 of file SignAlgoResolutions.h.
|
private |
Definition at line 62 of file SignAlgoResolutions.h.
|
inline |
Definition at line 46 of file SignAlgoResolutions.h.
metsig::SignAlgoResolutions::SignAlgoResolutions | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 34 of file SignAlgoResolutions.cc.
References addResolutions().
|
private |
Definition at line 304 of file SignAlgoResolutions.cc.
References Parameters::parameters.
void metsig::SignAlgoResolutions::addResolutions | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 140 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 412 of file SignAlgoResolutions.cc.
References relval_parameters_module::energy, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), and eta().
|
private |
Definition at line 337 of file SignAlgoResolutions.cc.
References query::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 52 of file SignAlgoResolutions.cc.
References eta(), class-composition::getfunc, AlCaHLTBitMon_ParallelJobs::p, phi, and x.
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 44 of file SignAlgoResolutions.cc.
References create_public_lumi_plots::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, reco::LeafCandidate::eta(), 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, phi, 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::PFJet * | jet | ) | const |
Definition at line 109 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 311 of file SignAlgoResolutions.cc.
References metsig::CONSTPHI, metsig::ET, metsig::PHI, query::result, edm::second(), metsig::TRACKP, and makeHLTPrescaleTable::values.
|
private |
Definition at line 382 of file SignAlgoResolutions.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, cmsBenchmark::cmssw_base, cmsBenchmark::cmssw_release_base, edm::ParameterSet::getParameter(), cmsHarvester::path, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addResolutions().
|
inline |
Definition at line 54 of file SignAlgoResolutions.h.
References functionmap_.
|
private |
Definition at line 370 of file SignAlgoResolutions.cc.
|
private |
Definition at line 376 of file SignAlgoResolutions.cc.
|
private |
Definition at line 351 of file SignAlgoResolutions.cc.
References mathSSE::sqrt().
|
private |
Definition at line 63 of file SignAlgoResolutions.h.
Referenced by isFilled().
|
private |
Definition at line 76 of file SignAlgoResolutions.h.
|
private |
Definition at line 75 of file SignAlgoResolutions.h.
|
private |
Definition at line 80 of file SignAlgoResolutions.h.
|
private |
Definition at line 79 of file SignAlgoResolutions.h.
|
private |
Definition at line 78 of file SignAlgoResolutions.h.
|
private |
Definition at line 71 of file SignAlgoResolutions.h.