CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Typedefs | Functions | Variables
FitUtils.h File Reference
#include "DataFormats/Math/interface/choleskyInversion.h"
#include "HeterogeneousCore/CUDAUtilities/interface/cuda_assert.h"
#include "RecoPixelVertexing/PixelTrackFitting/interface/FitResult.h"

Go to the source code of this file.

Namespaces

 riemannFit
 

Typedefs

template<int N>
using riemannFit::Array2xNd = Eigen::Array< double, 2, N >
 
template<int N>
using riemannFit::ArrayNd = Eigen::Array< double, N, N >
 
template<int N>
using riemannFit::Matrix2Nd = Eigen::Matrix< double, 2 *N, 2 *N >
 
using riemannFit::Matrix2x3d = Eigen::Matrix< double, 2, 3 >
 
template<int N>
using riemannFit::Matrix2xNd = Eigen::Matrix< double, 2, N >
 
using riemannFit::Matrix3f = Eigen::Matrix3f
 
template<int N>
using riemannFit::Matrix3Nd = Eigen::Matrix< double, 3 *N, 3 *N >
 
template<int N>
using riemannFit::MatrixNd = Eigen::Matrix< double, N, N >
 
template<int N>
using riemannFit::MatrixNplusONEd = Eigen::Matrix< double, N+1, N+1 >
 
template<int N>
using riemannFit::MatrixNx3d = Eigen::Matrix< double, N, 3 >
 
template<int N>
using riemannFit::MatrixNx5d = Eigen::Matrix< double, N, 5 >
 
using riemannFit::MatrixXd = Eigen::MatrixXd
 
template<int N>
using riemannFit::RowVector2Nd = Eigen::Matrix< double, 1, 2 *N >
 
template<int N>
using riemannFit::RowVectorNd = Eigen::Matrix< double, 1, 1, N >
 
template<int N>
using riemannFit::Vector2Nd = Eigen::Matrix< double, 2 *N, 1 >
 
using riemannFit::Vector3f = Eigen::Vector3f
 
template<int N>
using riemannFit::Vector3Nd = Eigen::Matrix< double, 3 *N, 1 >
 
using riemannFit::Vector4f = Eigen::Vector4f
 
using riemannFit::Vector6f = Eigen::Matrix< double, 6, 1 >
 
template<int N>
using riemannFit::VectorNd = Eigen::Matrix< double, N, 1 >
 
template<int N>
using riemannFit::VectorNplusONEd = Eigen::Matrix< double, N+1, 1 >
 
using riemannFit::VectorXd = Eigen::VectorXd
 

Functions

__host__ __device__ double riemannFit::cross2D (const Vector2d &a, const Vector2d &b)
 Compute cross product of two 2D vector (assuming z component 0), returning z component of the result. More...
 
__host__ __device__ void riemannFit::fromCircleToPerigee (CircleFit &circle)
 Transform circle parameter from (X0,Y0,R) to (phi,Tip,q/R) and consequently covariance matrix. More...
 
template<typename M6xNf , typename M3xNd >
__host__ __device__ void riemannFit::loadCovariance (M6xNf const &ge, M3xNd &hits_cov)
 
template<typename M6xNf , typename M2Nd >
__host__ __device__ void riemannFit::loadCovariance2D (M6xNf const &ge, M2Nd &hits_cov)
 
__host__ __device__ void riemannFit::par_uvrtopak (CircleFit &circle, const double B, const bool error)
 Transform circle parameter from (X0,Y0,R) to (phi,Tip,p_t) and consequently covariance matrix. More...
 
template<class C >
__host__ __device__ void riemannFit::printIt (C *m, const char *prefix="")
 
template<typename T >
constexpr T riemannFit::sqr (const T a)
 raise to square. More...
 
template<typename VI5 , typename MI5 , typename VO5 , typename MO5 >
__host__ __device__ void riemannFit::transformToPerigeePlane (VI5 const &ip, MI5 const &icov, VO5 &op, MO5 &ocov)
 

Variables

constexpr double riemannFit::epsilon = 1.e-4
 used in numerical derivative (J2 in Circle_fit()) More...