]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RICH/AliRICHv0.cxx
More debug info
[u/mrichter/AliRoot.git] / RICH / AliRICHv0.cxx
index 49d569feea9e5d598a0f4d28838b72313d60c4dd..b4b9fd8ba6d139b5053ebb26d4c0e202b684619e 100644 (file)
@@ -27,7 +27,7 @@ ClassImp(AliRICHv0)
 void AliRICHv0::StepManager()
 {
 //This StepManager is a provision for different test-learn activities on the current MC layer  
-  char *sParticle;
+  const char *sParticle;
   switch(gMC->TrackPid()){
     case kProton:
       sParticle="proton";break;
@@ -95,8 +95,8 @@ void AliRICHv0::StepManager()
     gMC->CurrentVolOffID(2,iChamber);
     TVector3 x3=C(iChamber)->G2L(x4);
     Info("","loc(%+8.3f,%+8.3f,%8.3f) by G2L",         x3.X(),x3.Y(),x3.Z());  
-    x3=C(iChamber)->Glob2Loc(x4);
-    Info("","loc(%+8.3f,%+8.3f,%8.3f) by Global2Local",         x3.X(),x3.Y(),x3.Z());  
+    TVector2 x2=C(iChamber)->Glob2Loc(x4);
+    Info("","loc(%+8.3f,%+8.3f) by Global2Local",      x2.X(),x2.Y());  
   }
   Info("","end of current step\n");
 }//StepManager()