4 #include "AliTRDcluster.h"
6 #include "AliTRDclusterInfo.h"
8 ClassImp(AliTRDclusterInfo)
10 //_________________________________________________
11 AliTRDclusterInfo::AliTRDclusterInfo()
31 fCov[0] = 1.; fCov[1] = 0.;
33 fCovCl[0] = 1.; fCovCl[1] = 0.;
37 //_________________________________________________
38 void AliTRDclusterInfo::SetCluster(const AliTRDcluster *c)
41 fDet = c->GetDetector();
45 fQ = TMath::Abs(c->GetQ());
46 fLocalTime = c->GetLocalTimeBin();
48 fCovCl[0] = c->GetSigmaY2();
50 fCovCl[2] = c->GetSigmaZ2();
53 //_________________________________________________
54 void AliTRDclusterInfo::Print(Option_t */*opt*/) const
56 printf("Det[%3d] X[%7.2f] Y[%7.2f] Z[%7.2f] Q[%7.2f]\n", fDet==0xffff ? -1 : fDet, fX, fY, fZ, fQ);
57 printf("\tPdg[%d] Lbl[%d] Yt[%7.2f] Zt[%7.2f]\n", fPdg, fLbl, fYt, fZt);