#include <CovarianceMatrix.h>
Public Member Functions | |
CovarianceMatrix () | |
CovarianceMatrix (const std::vector< edm::ParameterSet > udscResolutions, const std::vector< edm::ParameterSet > bResolutions) | |
CovarianceMatrix (const std::vector< edm::ParameterSet > udscResolutions, const std::vector< edm::ParameterSet > bResolutions, const std::vector< edm::ParameterSet > lepResolutions, const std::vector< edm::ParameterSet > metResolutions) | |
template<class ObjectType > | |
double | getResolution (const pat::PATObject< ObjectType > &object, const std::string whichResolution, bool isBJet) |
template<class ObjectType > | |
TMatrixD | setupMatrix (const pat::PATObject< ObjectType > &object, TopKinFitter::Param param, std::string resolutionProvider) |
~CovarianceMatrix () | |
Private Attributes | |
std::vector< std::string > | binsB_ |
std::vector< std::string > | binsLep_ |
std::vector< std::string > | binsMet_ |
std::vector< std::string > | binsUdsc_ |
vector of strings for the binning of the resolutions More... | |
std::vector< std::string > | funcEtaB_ |
std::vector< std::string > | funcEtaLep_ |
std::vector< std::string > | funcEtaMet_ |
std::vector< std::string > | funcEtaUdsc_ |
std::vector< std::string > | funcEtB_ |
std::vector< std::string > | funcEtLep_ |
std::vector< std::string > | funcEtMet_ |
std::vector< std::string > | funcEtUdsc_ |
vectors for the resolution functions More... | |
std::vector< std::string > | funcPhiB_ |
std::vector< std::string > | funcPhiLep_ |
std::vector< std::string > | funcPhiMet_ |
std::vector< std::string > | funcPhiUdsc_ |
Definition at line 21 of file CovarianceMatrix.h.
|
inline |
Definition at line 34 of file CovarianceMatrix.h.
|
inline |
Definition at line 35 of file CovarianceMatrix.h.
References binsB_, binsUdsc_, edm::hlt::Exception, funcEtaB_, funcEtaUdsc_, funcEtB_, funcEtUdsc_, funcPhiB_, and funcPhiUdsc_.
|
inline |
Definition at line 55 of file CovarianceMatrix.h.
References binsB_, binsLep_, binsMet_, binsUdsc_, edm::hlt::Exception, funcEtaB_, funcEtaLep_, funcEtaMet_, funcEtaUdsc_, funcEtB_, funcEtLep_, funcEtMet_, funcEtUdsc_, funcPhiB_, funcPhiLep_, funcPhiMet_, and funcPhiUdsc_.
|
inline |
Definition at line 93 of file CovarianceMatrix.h.
double CovarianceMatrix::getResolution | ( | const pat::PATObject< ObjectType > & | object, |
const std::string | whichResolution = "" , |
||
bool | isBJet = false |
||
) |
Definition at line 103 of file CovarianceMatrix.h.
References binsB_, binsLep_, binsMet_, binsUdsc_, relval_parameters_module::energy, edm::hlt::Exception, funcEtaB_, funcEtaLep_, funcEtaMet_, funcEtaUdsc_, funcEtB_, funcEtLep_, funcEtMet_, funcEtUdsc_, funcPhiB_, funcPhiLep_, funcPhiMet_, funcPhiUdsc_, and i.
Referenced by setupMatrix().
TMatrixD CovarianceMatrix::setupMatrix | ( | const pat::PATObject< ObjectType > & | object, |
TopKinFitter::Param | param, | ||
std::string | resolutionProvider = "" |
||
) |
Definition at line 156 of file CovarianceMatrix.h.
References res::HelperMET::a(), res::HelperElectron::a(), res::HelperMuon::a(), res::HelperJet::a(), res::HelperMET::b(), res::HelperElectron::b(), res::HelperMuon::b(), res::HelperJet::b(), binsB_, binsLep_, binsMet_, binsUdsc_, res::HelperMET::c(), res::HelperElectron::c(), res::HelperMuon::c(), res::HelperJet::c(), res::HelperJet::d(), res::HelperMET::et(), res::HelperElectron::et(), res::HelperMuon::et(), res::HelperJet::et(), res::HelperElectron::eta(), res::HelperMuon::eta(), res::HelperJet::eta(), eta(), getResolution(), res::HelperJet::kB, TopKinFitter::kEMom, TopKinFitter::kEtEtaPhi, TopKinFitter::kEtThetaPhi, res::HelperJet::kUds, res::HelperElectron::phi(), res::HelperMuon::phi(), res::HelperJet::phi(), res::HelperMET::phi(), funct::pow(), res::HelperMuon::theta(), res::HelperElectron::theta(), and res::HelperJet::theta().
Referenced by TtSemiLepKinFitter::fit(), and TtFullHadKinFitter::fit().
|
private |
Definition at line 26 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), getResolution(), and setupMatrix().
|
private |
Definition at line 26 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), getResolution(), and setupMatrix().
|
private |
Definition at line 26 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), getResolution(), and setupMatrix().
|
private |
vector of strings for the binning of the resolutions
Definition at line 26 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), getResolution(), and setupMatrix().
|
private |
Definition at line 29 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), and getResolution().
|
private |
Definition at line 29 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), and getResolution().
|
private |
Definition at line 29 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), and getResolution().
|
private |
Definition at line 29 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), and getResolution().
|
private |
Definition at line 28 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), and getResolution().
|
private |
Definition at line 28 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), and getResolution().
|
private |
Definition at line 28 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), and getResolution().
|
private |
vectors for the resolution functions
Definition at line 28 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), and getResolution().
|
private |
Definition at line 30 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), and getResolution().
|
private |
Definition at line 30 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), and getResolution().
|
private |
Definition at line 30 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), and getResolution().
|
private |
Definition at line 30 of file CovarianceMatrix.h.
Referenced by CovarianceMatrix(), and getResolution().