AliDataLoader *dl = fRunLoader->GetLoader("TRDLoader")->GetDataLoader("tracklets");
if (!dl) {
AliError("Could not get the tracklets data loader!");
- AliDataLoader *dl = new AliDataLoader("TRD.Tracklets.root","tracklets", "tracklets");
+ dl = new AliDataLoader("TRD.Tracklets.root","tracklets", "tracklets");
fRunLoader->GetLoader("TRDLoader")->AddDataLoader(dl);
}
else {
if(!track){
for(Int_t ip = 0; ip < kNPlanes; ip++) {
x = tracklets[ip].GetX0();
- Double_t tmp = R*R-(x-x0)*(x-x0);
+ tmp = R*R-(x-x0)*(x-x0);
if(tmp <= 0.) continue;
tmp = TMath::Sqrt(tmp);
if(TMath::Abs(sseed[jseed].GetYfit(1) - sseed[jseed].GetYfit(1)) >= .2) continue; // check this condition with Marian
sseed[jseed].UseClusters();
if(!cl){
- Int_t ic = 0;
+ ic = 0;
while(!(cl = sseed[jseed].GetClusters(ic))) ic++;
clusterIndex = sseed[jseed].GetIndexes(ic);
}