StRoot
1
|
Public Types | |
enum | eTCFitV0 { kDCA_0 = 0, kZ_0 = 1, kPHI_0 = 2, kPTIN_0 = 3, kTANL_0 = 4, kDCA_1 =10, kZ_1 =11, kPHI_1 =12, kPTIN_1 =13, kTANL_1 =14, kLEN_0 =20, kLEN_1 =21, kLEN_2 =22, kCX_0 =30, kCY_0 =31, kCZ_0 =32, kCX_1 =33, kCY_1 =34, kCZ_1 =35, kCNRJ =36 } |
Public Types inherited from TCFitData | |
enum | { kMEAS =0, kSLAC =1, kCNSR =2 } |
enum | { kMaxId =100 } |
Public Member Functions | |
virtual double | Fcn () |
virtual double | DFcn (int ipar) |
virtual double | DDFcn (int ipar, int jpar) |
virtual double | Con (int icon) |
virtual double | DCon (int icon, int ipar) |
int | Ready () |
int | Approx () |
virtual void | Update () |
virtual void | Print (const char *name) const |
void | Reset () |
Public Member Functions inherited from TCFitData | |
TCFitData (const char *name, const char *title="") | |
void | Reset () |
int | AddPar (int tyPar, int idPar, double *par, int nPars=1, const char *name="", double tiny=0.) |
int | GetId (const char *name) const |
int | GetId (int jd) const |
Internally all parameters are consequently numbered (jd) | |
int | GetJd (int id) const |
const char * | GetNam (int idx) const |
int | GetType (int id) const |
void | FixPar (int id, int yes=1) |
int | IsFixed (int id) const |
void | SetFitter (const TCFit *fitter) |
void | SetFail (int ifail) |
int | GetFail () const |
int | Modified () const |
void | Modify (int m=1) |
void | Evaluate () |
double & | GetPar (int ipar) |
double | GetPar (int ipar) const |
double | GetTiny (int ipar) const |
double | GetFcn () const |
void | SetFcn (double fcn) |
void | SetFcn (double tiny, double big) |
double | GetBigFcn () const |
double | GetTinyFcn () const |
int | GetNPars () const |
int | GetNMeas () const |
int | GetNSlac () const |
int | GetNCons () const |
int | GetUPars () const |
int | GetUMeas () const |
int | GetUSlac () const |
int | GetUCons () const |
int | GetNDF () const |
double | ErMx (int icol, int irow) const |
Static Public Member Functions | |
static void | Test (int mode=0) |
Public Attributes | |
TkPars | mTkBas [2] |
TkErrs | mTEBas [2] |
TkPars | mTkFit [2] |
TkPars | mTkDif [2] |
char | mBeg [1] |
char | mReady |
VxPars | mVx |
VxErrs | mVE |
double | mLen [3] |
double | mConr [7] |
double | mDFcn [2][5] |
double | mDConDL [3][3] |
double | mP4d [2][4][5] |
double | mMas |
char | mEnd [1] |
Additional Inherited Members | |
Protected Attributes inherited from TCFitData | |
const TCFit * | fFitter |
char | fBeg [1] |
int | fFail |
int | fModi |
fail flag, fit is impossible | |
int | fFlag |
int | fNPars [3] |
&1=1 fcn calculated from error matrix | |
int | fNFixs [3] |
number of "measured" ,slack, constrains | |
double * | fPars [kMaxId+1] |
number of "slack" parameters | |
double | fTiny [kMaxId+1] |
short | fTyps [kMaxId+1] |
Tiny values still modifying fcn. | |
short | fFixs [kMaxId+1] |
char | fIndx [kMaxId+1] |
char | fJndx [kMaxId+1] |
double | fFcn [3] |
char | fEnd [1] |
Current value of fcn [1]. | |
TString | fNams [kMaxId] |