2 #include "StPicoMessMgr.h"
3 #include "StPicoTrackCovMatrix.h"
9 mImp(0), mZ(0), mPsi(0), mPti(0), mTan(0), mCurv(0),
22 for(Int_t iIter=0; iIter<5; iIter++) {
23 mSigma[iIter] = mtx.mSigma[iIter];
25 for(Int_t iIter=0; iIter<10; iIter++) {
26 mCorr[iIter] = mtx.mCorr[iIter];
37 const Float_t *lSigma =
sigmas();
39 LOG_INFO <<
"imp: " <<
imp()
46 << lSigma[0] <<
"/" << lSigma[1] <<
"/"
47 << lSigma[2] <<
"/" << lSigma[3] <<
"/"
50 << lCorr[0] <<
"/" << lCorr[1] <<
"/"
51 << lCorr[2] <<
"/" << lCorr[3] <<
"/"
52 << lCorr[4] <<
"/" << lCorr[5] <<
"/"
53 << lCorr[6] <<
"/" << lCorr[7] <<
"/"
54 << lCorr[8] <<
"/" << lCorr[9] << endm;
65 mSigma[0]==0 && mSigma[1]==0 && mSigma[2]==0 && mSigma[3]==0 && mSigma[4]==0 &&
66 mCorr[0]==0 && mCorr[1]==0 && mCorr[2]==0 && mCorr[3]==0 && mCorr[4]==0 &&
67 mCorr[5]==0 && mCorr[6]==0 && mCorr[7]==0 && mCorr[8]==0 && mCorr[9]==0 );
70 #if defined (__TFG__VERSION__)
74 Float_t errMatrix[15];
76 for (
int i = 0; i < 5; i++) {
77 errMatrix[ii] = mSigma[i]*mSigma[i];
78 for (
int j = 0; j < i; j++) {
79 Int_t ij = ii - i - 1 + j + 1;
81 errMatrix[ij] = mCorr[ij1]*mSigma[i]*mSigma[j];
85 a.set(
params(), errMatrix);
const Float_t * correlations() const
Return pointer to the correlation array.
const Float_t * sigmas() const
Return pointer to the sigma array.
Float_t tan() const
Return tangent.
Float_t pti() const
Return pti.
Float_t z() const
Return z.
Float_t psi() const
Return psi.
virtual void Print(Char_t const *option="") const
Print option.
Float_t imp() const
Return impact.
virtual ~StPicoTrackCovMatrix()
Destructor.
Float_t curv() const
Return curvature.
StPicoTrackCovMatrix()
Default constructor.
Float_t * params()
Return address to the first parameter.