Corrected t0spread stored in AliTOFHeader object and changed log infos
authordecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Oct 2010 10:14:45 +0000 (10:14 +0000)
committerdecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Oct 2010 10:14:45 +0000 (10:14 +0000)
TOF/AliTOFT0maker.cxx

index d9af732..91fd7db 100644 (file)
@@ -489,14 +489,14 @@ void     AliTOFT0maker::WriteInESD(AliESDEvent *esd){
 
    AliTOFHeader *tofHeader =
        new AliTOFHeader(t0Gen,t0ResGen,nt0,
-                        t0ESD,t0resESD,it0ESD,fTimeResolution,fT0spreadExt);
+                        t0ESD,t0resESD,it0ESD,fTimeResolution,fT0width);
   
     esd->SetTOFHeader(tofHeader);
 
-    AliInfo(Form("resTOF=%f T0spread=%f t0Gen=%f t0resGen=%f",fTimeResolution,fT0spreadExt,t0Gen,t0ResGen));
-    AliInfo(Form("%d ",nt0));
+    AliDebug(1,Form("resTOF=%f T0spread=%f t0Gen=%f t0resGen=%f",fTimeResolution,fT0width,t0Gen,t0ResGen));
+    AliDebug(1,Form("%d ",nt0));
     for (Int_t ii=0; ii<nt0; ii++)
-      AliInfo(Form("pBin=%d t0val=%f t0res=%f",it0ESD[ii],t0ESD[ii],t0resESD[ii]));
+      AliDebug(1,Form("pBin=%d t0val=%f t0res=%f",it0ESD[ii],t0ESD[ii],t0resESD[ii]));
     
     delete[] t0;
     t0 = NULL;