-
-
-
-
-// //_________________________________________________________________________
-// Int_t AliTOFtrackerMI::LoadClusters(TTree *dTree) {
-// //--------------------------------------------------------------------
-// //This function loads the TOF clusters
-// //--------------------------------------------------------------------
-
-// TBranch *branch=dTree->GetBranch("TOF");
-// if (!branch) {
-// AliError(" can't get the branch with the TOF digits !");
-// return 1;
-// }
-
-// TClonesArray dummy("AliTOFdigit",10000), *digits=&dummy;
-// branch->SetAddress(&digits);
-
-// dTree->GetEvent(0);
-// Int_t nd=digits->GetEntriesFast();
-// Info("LoadClusters","number of digits: %d",nd);
-
-// for (Int_t i=0; i<nd; i++) {
-// AliTOFdigit *d=(AliTOFdigit*)digits->UncheckedAt(i);
-// Int_t dig[5]; Float_t g[3];
-// dig[0]=d->GetSector();
-// dig[1]=d->GetPlate();
-// dig[2]=d->GetStrip();
-// dig[3]=d->GetPadz();
-// dig[4]=d->GetPadx();
-
-// fGeom->GetPos(dig,g);
-
-// Double_t h[5];
-// h[0]=TMath::Sqrt(g[0]*g[0]+g[1]*g[1]);
-// h[1]=TMath::ATan2(g[1],g[0]); h[2]=g[2];
-// h[3]=d->GetTdc(); h[4]=d->GetAdc();
-
-// AliTOFcluster *cl=new AliTOFcluster(h,d->GetTracks(),dig,i);
-// InsertCluster(cl);
-// }
-
-// return 0;
-// }
-// //_________________________________________________________________________
-// void AliTOFtrackerMI::UnloadClusters() {
-// //--------------------------------------------------------------------
-// //This function unloads TOF clusters
-// //--------------------------------------------------------------------
-// for (Int_t i=0; i<fN; i++) delete fClusters[i];
-// fN=0;
-// }
-
-
-