fix info in debug stream
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Mar 2009 09:22:59 +0000 (09:22 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Mar 2009 09:22:59 +0000 (09:22 +0000)
TRD/qaRec/AliTRDresolution.cxx

index 0a968f5..b90d38b 100644 (file)
@@ -420,14 +420,16 @@ TH1* AliTRDresolution::PlotMC(const AliTRDtrackV1 *track)
   
     // Fill Debug stream for tracklet
     if(fDebugLevel>=1){
+      Float_t s2y = tt.GetS2Y();
+      Float_t s2z = tt.GetS2Z();
       (*fDebugStream) << "MCtracklet"
         << "rc="    << rc
         << "x="     << x
         << "y="     << y
         << "z="     << z
         << "dydx="  << dydx
-        << "s2y="   << cov[0]
-        << "s2z="   << cov[2]
+        << "s2y="   << s2y
+        << "s2z="   << s2z
         << "\n";
     }