CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
DTLinearFit Class Reference

#include <DTLinearFit.h>

Public Member Functions

 DTLinearFit ()
 Constructor. More...
 
void fit (const std::vector< float > &x, const std::vector< float > &y, int ndat, const std::vector< float > &sigy, float &slope, float &intercept, double &chi2, float &covss, float &covii, float &covsi) const
 
void fit3par (const std::vector< float > &xfit, const std::vector< float > &yfit, const std::vector< int > &lfit, const int nptfit, const std::vector< float > &sigy, float &aminf, float &bminf, float &cminf, double &chi2fit, const bool debug) const
 
void fit4Var (const std::vector< float > &xfit, const std::vector< float > &yfit, const std::vector< int > &lfit, const std::vector< double > &tfit, const int nptfit, float &aminf, float &bminf, float &cminf, float &vminf, double &chi2fit, const bool vdrift_4parfit, const bool debug) const
 
void fitNpar (const int npar, const std::vector< float > &xfit, const std::vector< float > &yfit, const std::vector< int > &lfit, const std::vector< double > &tfit, const std::vector< float > &sigy, float &aminf, float &bminf, float &cminf, float &vminf, double &chi2fit, const bool debug) const
 
 ~DTLinearFit ()
 Destructor. More...
 

Detailed Description

Description:

detailed description

Author
Stefano Lacaprara - INFN Legnaro stefa.nosp@m.no.l.nosp@m.acapr.nosp@m.ara@.nosp@m.pd.in.nosp@m.fn.i.nosp@m.t

Definition at line 26 of file DTLinearFit.h.

Constructor & Destructor Documentation

DTLinearFit::DTLinearFit ( )

Constructor.

Definition at line 18 of file DTLinearFit.cc.

DTLinearFit::~DTLinearFit ( )

Destructor.

Definition at line 23 of file DTLinearFit.cc.

Member Function Documentation

void DTLinearFit::fit ( const std::vector< float > &  x,
const std::vector< float > &  y,
int  ndat,
const std::vector< float > &  sigy,
float &  slope,
float &  intercept,
double &  chi2,
float &  covss,
float &  covii,
float &  covsi 
) const

Definition at line 27 of file DTLinearFit.cc.

void DTLinearFit::fit3par ( const std::vector< float > &  xfit,
const std::vector< float > &  yfit,
const std::vector< int > &  lfit,
const int  nptfit,
const std::vector< float > &  sigy,
float &  aminf,
float &  bminf,
float &  cminf,
double &  chi2fit,
const bool  debug = 0 
) const

Definition at line 220 of file DTLinearFit.cc.

void DTLinearFit::fit4Var ( const std::vector< float > &  xfit,
const std::vector< float > &  yfit,
const std::vector< int > &  lfit,
const std::vector< double > &  tfit,
const int  nptfit,
float &  aminf,
float &  bminf,
float &  cminf,
float &  vminf,
double &  chi2fit,
const bool  vdrift_4parfit = 0,
const bool  debug = 0 
) const

Definition at line 238 of file DTLinearFit.cc.

void DTLinearFit::fitNpar ( const int  npar,
const std::vector< float > &  xfit,
const std::vector< float > &  yfit,
const std::vector< int > &  lfit,
const std::vector< double > &  tfit,
const std::vector< float > &  sigy,
float &  aminf,
float &  bminf,
float &  cminf,
float &  vminf,
double &  chi2fit,
const bool  debug = 0 
) const

Definition at line 70 of file DTLinearFit.cc.