#include "PndSttTrack.h"
#include "PndSttTrackFitter.h"
#include "TList.h"
#include <map>
Go to the source code of this file.
Definition at line 1593 of file PndSttHelixTrackFitter.cxx.
References Double_t, i, and sqrt().
Referenced by PndSttHelixTrackFitter::MinuitFit().
1596 TMatrixT<Double_t> *mama = (TMatrixT<Double_t> *)gMinuit->GetObjectFit();
1600 Int_t hitcounter = mama->GetNrows();
1601 for (Int_t
i = 0;
i < hitcounter;
i++)
1603 delta =
sqrt((mama[0][
i][0]-
par[0])*(mama[0][
i][0]-
par[0])+(mama[0][
i][1]-
par[1])*(mama[0][
i][1]-
par[1])) -
par[2] ;
1604 if(mama[0][
i][2] == 0) chisq += (delta * delta * 12.);
1605 else chisq += (delta*delta)/(mama[0][
i][2] * mama[0][
i][2] / 12.);
friend F32vec4 sqrt(const F32vec4 &a)
Definition at line 1610 of file PndSttHelixTrackFitter.cxx.
References Double_t, i, and sqrt().
Referenced by PndSttHelixTrackFitter::MinuitFit().
1612 TMatrixT<Double_t> *mama = (TMatrixT<Double_t> *)gMinuit->GetObjectFit();
1616 Int_t hitcounter = mama->GetNrows();
1617 for (Int_t
i = 0;
i < hitcounter;
i++)
1619 delta =
sqrt((mama[0][
i][0]-
par[0])*(mama[0][
i][0]-
par[0])+(mama[0][
i][1]-
par[1])*(mama[0][
i][1]-
par[1])) -
par[2] ;
1620 if(mama[0][
i][2] == 0) chisq += (delta * delta * 12.);
1621 else chisq += (delta*delta)/(pow(mama[0][
i][3],2));
friend F32vec4 sqrt(const F32vec4 &a)