00001 #ifndef KinematicParametersError_H 00002 #define KinematicParametersError_H 00003 00004 #include "DataFormats/CLHEP/interface/AlgebraicObjects.h" 00005 #include "RecoVertex/VertexPrimitives/interface/VertexException.h" 00006 #include "TrackingTools/AnalyticalJacobians/interface/JacobianCartesianToCurvilinear.h" 00007 #include "TrackingTools/AnalyticalJacobians/interface/JacobianCurvilinearToCartesian.h" 00008 #include "RecoVertex/KinematicFitPrimitives/interface/Matrices.h" 00009 00019 class KinematicParametersError{ 00020 00021 public: 00022 KinematicParametersError() 00023 {vl = false;} 00024 00025 KinematicParametersError(const AlgebraicSymMatrix77& er): 00026 theCovMatrix(er) 00027 {vl = true;} 00028 00033 AlgebraicSymMatrix77 matrix() const 00034 {return theCovMatrix;} 00035 00036 00037 bool isValid() const 00038 {return vl;} 00039 00040 private: 00041 AlgebraicSymMatrix77 theCovMatrix; 00042 bool vl; 00043 }; 00044 #endif 00045