X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=TPC%2FAliTPCParamSR.cxx;h=2b6ef4072c25789f0c4a1781caa8aaaecfc472ab;hp=6cf2d1778ab00bf2dc1f4e47c9ebf4f4e8a86941;hb=c5136d398f82f8f3beaf99dff1d8338f71bd219c;hpb=f546a4b4dd8710346886b33b4be86c5ab118df6b diff --git a/TPC/AliTPCParamSR.cxx b/TPC/AliTPCParamSR.cxx index 6cf2d1778ab..2b6ef4072c2 100644 --- a/TPC/AliTPCParamSR.cxx +++ b/TPC/AliTPCParamSR.cxx @@ -238,7 +238,7 @@ void AliTPCParamSR::CRXYZtoXYZ(Float_t *xyz, { //transform relative coordinates to absolute Bool_t rel = ( (option&2)!=0); - Int_t index[2]={sector,padrow}; + Int_t index[3]={sector,padrow,0}; if (rel==kTRUE) Transform4to3(xyz,index);//if the position is relative to pad row Transform2to1(xyz,index); } @@ -252,7 +252,7 @@ void AliTPCParamSR::XYZtoCRXYZ(Float_t *xyz, //if option=2 X relative to pad row calculate sector //if option=3 X relative use input sector //!!!!!!!!! WE start to calculate rows from row = 0 - Int_t index[2]; + Int_t index[3]; Bool_t rel = ( (option&2)!=0); //option 0 and 2 means that we don't have information about sector