CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
getChi2.h
Go to the documentation of this file.
1 #ifndef getChi2_h
2 #define getChi2_h
3 
8 
9 namespace track_associator {
11  double getChi2(const reco::TrackBase::ParameterVector& rParameters,
12  const reco::TrackBase::CovarianceMatrix& recoTrackCovMatrix,
13  const Basic3DVector<double>& momAtVtx,
14  const Basic3DVector<double>& vert,
15  int charge,
16  const MagneticField&,
17  const reco::BeamSpot&) ;
18 }
19 
20 #endif
double getChi2(const reco::TrackBase::ParameterVector &rParameters, const reco::TrackBase::CovarianceMatrix &recoTrackCovMatrix, const Basic3DVector< double > &momAtVtx, const Basic3DVector< double > &vert, int charge, const MagneticField &magfield, const reco::BeamSpot &bs)
basic method where chi2 is computed
Definition: getChi2.cc:7
math::Vector< dimension >::type ParameterVector
parameter vector
Definition: TrackBase.h:74
math::Error< dimension >::type CovarianceMatrix
5 parameter covariance matrix
Definition: TrackBase.h:77