File indexing completed on 2024-09-07 04:35:56
0001 #ifndef DataFormats_PatCandidates_interface_ResolutionHelper_h
0002 #define DataFormats_PatCandidates_interface_ResolutionHelper_h
0003
0004 #include "DataFormats/PatCandidates/interface/CandKinResolution.h"
0005
0006 namespace pat {
0007 namespace helper {
0008 namespace ResolutionHelper {
0009 void rescaleForKinFitter(const pat::CandKinResolution::Parametrization parametrization,
0010 AlgebraicSymMatrix44 &covariance,
0011 const math::XYZTLorentzVector &initialP4);
0012 double getResolEta(pat::CandKinResolution::Parametrization parametrization,
0013 const AlgebraicSymMatrix44 &covariance,
0014 const pat::CandKinResolution::LorentzVector &p4);
0015 double getResolTheta(pat::CandKinResolution::Parametrization parametrization,
0016 const AlgebraicSymMatrix44 &covariance,
0017 const pat::CandKinResolution::LorentzVector &p4);
0018 double getResolPhi(pat::CandKinResolution::Parametrization parametrization,
0019 const AlgebraicSymMatrix44 &covariance,
0020 const pat::CandKinResolution::LorentzVector &p4);
0021 double getResolE(pat::CandKinResolution::Parametrization parametrization,
0022 const AlgebraicSymMatrix44 &covariance,
0023 const pat::CandKinResolution::LorentzVector &p4);
0024 double getResolEt(pat::CandKinResolution::Parametrization parametrization,
0025 const AlgebraicSymMatrix44 &covariance,
0026 const pat::CandKinResolution::LorentzVector &p4);
0027 double getResolM(pat::CandKinResolution::Parametrization parametrization,
0028 const AlgebraicSymMatrix44 &covariance,
0029 const pat::CandKinResolution::LorentzVector &p4);
0030 double getResolP(pat::CandKinResolution::Parametrization parametrization,
0031 const AlgebraicSymMatrix44 &covariance,
0032 const pat::CandKinResolution::LorentzVector &p4);
0033 double getResolPt(pat::CandKinResolution::Parametrization parametrization,
0034 const AlgebraicSymMatrix44 &covariance,
0035 const pat::CandKinResolution::LorentzVector &p4);
0036 double getResolPInv(pat::CandKinResolution::Parametrization parametrization,
0037 const AlgebraicSymMatrix44 &covariance,
0038 const pat::CandKinResolution::LorentzVector &p4);
0039 double getResolPx(pat::CandKinResolution::Parametrization parametrization,
0040 const AlgebraicSymMatrix44 &covariance,
0041 const pat::CandKinResolution::LorentzVector &p4);
0042 double getResolPy(pat::CandKinResolution::Parametrization parametrization,
0043 const AlgebraicSymMatrix44 &covariance,
0044 const pat::CandKinResolution::LorentzVector &p4);
0045 double getResolPz(pat::CandKinResolution::Parametrization parametrization,
0046 const AlgebraicSymMatrix44 &covariance,
0047 const pat::CandKinResolution::LorentzVector &p4);
0048 }
0049 }
0050 }
0051
0052 #endif