simple-tof-analysis
 All Classes Namespaces Functions Variables Groups Pages
Public Member Functions | List of all members
TSChi2ConstraintCalc Class Reference
Inheritance diagram for TSChi2ConstraintCalc:
TSNamed TSNamed

Public Member Functions

void Clear ()
 
double Eval () const
 
virtual double Compute () const
 
int GetDimension () const
 
void Init ()
 
void Configure (const TSNuiParamSet &, const TSCovMatrixMgr &)
 
void Clear ()
 
double Eval () const
 
virtual double Compute () const
 
int GetDimension () const
 
void Init ()
 
void Configure (const TSNuiParamSet &, const TSCovMatrixMgr &)
 
- Public Member Functions inherited from TSNamed
 TSNamed (TString name, TString label, TString title)
 
void Clear ()
 
virtual TString GetDescription () const
 
TString GetLabel () const
 
TString Label () const
 
TString Name () const
 
TString Title () const
 
const char * GetName () const
 
const char * GetTitle () const
 
virtual void SetLabel (TString)
 
virtual void SetName (TString)
 
virtual void SetTitle (TString)
 
 TSNamed (TString name, TString label, TString title)
 
void Clear ()
 
virtual TString GetDescription () const
 
TString GetLabel () const
 
TString Label () const
 
TString Name () const
 
TString Title () const
 
const char * GetName () const
 
const char * GetTitle () const
 
virtual void SetLabel (TString)
 
virtual void SetName (TString)
 
virtual void SetTitle (TString)
 

Member Function Documentation

void TSChi2ConstraintCalc::Configure ( const TSNuiParamSet pars,
const TSCovMatrixMgr cov 
)

0 1 2 0,0 0,2 3 4 5 = 6 7 8 2,0 2,2

ilinear = ix*D + iy

(0 1 2) (3 4 5) (6 7 8)

(0,2) -> 0*3+2 = 2 (1,1) -> 1*3+1 = 4 (2,0) -> 2*3+1 = 6 (2,2) -> 2*3+2 = 8

double TSChi2ConstraintCalc::Eval ( ) const

Three looping methods, they are checked to give the same result. The linearized one is the fastest: x2 w.r.t. the array nested loop x10 (??) w.r.t. the nested loop with param calls from the TSNuiSetList (linked list)


The documentation for this class was generated from the following files: