Go to the documentation of this file. 1 #ifndef DataFormats_PatCandidates_CandKinResolution_h
2 #define DataFormats_PatCandidates_CandKinResolution_h
64 const std::vector<Scalar> &covariances,
65 const std::vector<Scalar> &
constraints = std::vector<Scalar>());
70 const std::vector<Scalar> &
constraints = std::vector<Scalar>());
127 const std::vector<Scalar> &covariances,
Parametrization parametrization_
Parametrization code.
double resolP(const LorentzVector &p4) const
Resolution on p, given the 4-momentum of the associated Candidate.
Parametrization parametrization() const
Return the code of the parametrization used in this object.
std::vector< Scalar > covariances_
Matrix, streamed as a vector.
edm::ValueMap< CandKinResolution > CandKinResolutionValueMap
double resolPx(const LorentzVector &p4) const
Resolution on px, given the 4-momentum of the associated Candidate.
double resolPhi(const LorentzVector &p4) const
Resolution on phi, given the 4-momentum of the associated Candidate.
double resolPInv(const LorentzVector &p4) const
Resolution on 1/p, given the 4-momentum of the associated Candidate.
const std::vector< Scalar > & constraints() const
The constraints associated with this parametrization.
static int dimensionFrom(Parametrization parametrization)
std::vector< CandKinResolution > CandKinResolutionCollection
const AlgebraicSymMatrix44 & covariance() const
Returns the full covariance matrix.
void fillMatrix()
Fill matrix from vector.
double resolPy(const LorentzVector &p4) const
Resolution on py, given the 4-momentum of the associated Candidate.
double resolM(const LorentzVector &p4) const
double resolPt(const LorentzVector &p4) const
Resolution on pt, given the 4-momentum of the associated Candidate.
AlgebraicSymMatrix44 covmatrix_
Transient copy of the full 4x4 covariance matrix.
double resolE(const LorentzVector &p4) const
Resolution on energy, given the 4-momentum of the associated Candidate.
ROOT::Math::SMatrix< double, 4, 4, ROOT::Math::MatRepSym< double, 4 > > AlgebraicSymMatrix44
static void fillMatrixFrom(Parametrization parametrization, const std::vector< Scalar > &covariances, AlgebraicSymMatrix44 &covmatrix)
double resolTheta(const LorentzVector &p4) const
Resolution on theta, given the 4-momentum of the associated Candidate.
double resolPz(const LorentzVector &p4) const
Resolution on pz, given the 4-momentum of the associated Candidate.
std::vector< Scalar > constraints_
Constraints.
uint32_t dimension() const
Returns the number of free parameters in this parametrization.
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
math::XYZTLorentzVector LorentzVector
void fillVector()
Fill vectoor from matrix.
double resolEta(const LorentzVector &p4) const
Resolution on eta, given the 4-momentum of the associated Candidate.
math::XYZTLorentzVector LorentzVector
double resolEt(const LorentzVector &p4) const
Resolution on et, given the 4-momentum of the associated Candidate.