#include <RZLine.h>
Public Member Functions | |
float | chi2 (float cotTheta, float intercept) const |
void | fit (float &cotTheta, float &intercept, float &covss, float &covii, float &covsi) const |
RZLine (const std::vector< GlobalPoint > &points, const std::vector< GlobalError > &errors, const std::vector< bool > isBarrel) | |
RZLine (const std::vector< float > &aR, const std::vector< float > &aZ, const std::vector< float > &aErrZ) | |
Private Attributes | |
float * | errZ2 |
int | nPoints |
float * | r |
std::vector< float > | storage |
float * | z |
RZLine::RZLine | ( | const std::vector< GlobalPoint > & | points, |
const std::vector< GlobalError > & | errors, | ||
const std::vector< bool > | isBarrel | ||
) |
RZLine::RZLine | ( | const std::vector< float > & | aR, |
const std::vector< float > & | aZ, | ||
const std::vector< float > & | aErrZ | ||
) |
float RZLine::chi2 | ( | float | cotTheta, |
float | intercept | ||
) | const |
Definition at line 50 of file RZLine.cc.
References errZ2, i, nPoints, r, funct::sqr(), and z.
Referenced by PixelFitterByConformalMappingAndLine::run(), TrackFitter::run(), and PixelFitterByHelixProjections::run().
void RZLine::fit | ( | float & | cotTheta, |
float & | intercept, | ||
float & | covss, | ||
float & | covii, | ||
float & | covsi | ||
) | const |
Definition at line 44 of file RZLine.cc.
References errZ2, linearFit(), r, and z.
Referenced by PixelFitterByConformalMappingAndLine::run(), TrackFitter::run(), and PixelFitterByHelixProjections::run().
float * RZLine::errZ2 [private] |
int RZLine::nPoints [private] |
float* RZLine::r [private] |
std::vector<float> RZLine::storage [private] |