if(!fTB[itb]) continue;
fTB[itb].SetRange(z0, zl);
fTB[itb].SetNRows(nrows);
+ fTB[itb].SetPlane(layer);
+ fTB[itb].SetStack(stack);
+ fTB[itb].SetSector(AliTRDgeometry::GetSector(fDetector));
fTB[itb].BuildIndices();
index[jtb++] = itb;
}
// AliTRDCommonParam::Instance()->GetDiffCoeff(fDiffL, fDiffT, fVD);
// ESTIMATE POSITION OF PAD PLANE FOR THIS CHAMBER
- fTB[Int_t(t0)].SetT0();
+ //fTB[Int_t(t0)].SetT0();
Double_t x0 = fTB[index[0]].GetX();
Double_t x1 = fTB[index[1]].GetX();
Double_t dx = (x0 - x1)/(index[1] - index[0]);
n++;
}
}
+ if(!n) continue;
pos[0] = x/n;
pos[1] = y/n;
pos[2] = z/n;