]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Bug fix
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Mar 2008 17:12:04 +0000 (17:12 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Mar 2008 17:12:04 +0000 (17:12 +0000)
ITS/AliITSClusterParam.cxx

index d96a77d602c75022bbf973255b30cfc6f3c3d46b..a52e20bcf4e8a78a22b48063714ff8f1326e82f9 100644 (file)
@@ -344,7 +344,7 @@ Int_t AliITSClusterParam::GetErrorParamAngle(Int_t layer,
   p[1] = TMath::Sin(phiglob);
   p[2] = tgl;
   TVector3 pvec(p[0],p[1],p[2]);
-  TVector3 normvec(rot[1],-rot[0],0.);
+  TVector3 normvec(rot[1],rot[4],rot[7]);
   Double_t angle = pvec.Angle(normvec);
   if(angle>0.5*TMath::Pi()) angle = TMath::Pi()-angle;
   Double_t angleDeg = angle*180./TMath::Pi();