branch->SetAddress(&dummy);
AliTPCClustersRow ddd,*clrow=&ddd;
- clrow->SetClass("AliTPCcluster"); clrow->SetArray(1);
+ clrow = new AliTPCClustersRow("AliTPCcluster");
cTree->Branch("Segment","AliTPCClustersRow",&clrow,32000,200);
const Int_t kMAXZ=fPar->GetMaxTBin()+2;
continue;
}
- clrow=new AliTPCClustersRow();
-
- clrow->SetClass("AliTPCcluster"); clrow->SetArray(1);
clrow->SetID(digarr.GetID());
cTree->GetBranch("Segment")->SetAddress(&clrow);
c.SetY((c.GetY() - 0.5 - 0.5*npads)*fPar->GetPadPitchWidth(sec));
c.SetZ(fPar->GetZWidth()*(c.GetZ()-1));
c.SetZ(c.GetZ() - 3.*fPar->GetZSigma()); // PASA delay
- c.SetZ(sign*(fPar->GetZLength() - c.GetZ()));
+ c.SetZ(sign*(fPar->GetZLength(sec) - c.GetZ()));
if (rx<230./250.*TMath::Abs(c.GetZ())) continue;
}
cTree->Fill();
- delete clrow;
+ clrow->GetArray()->Clear();
nclusters+=ncl;