From 5050e6ff2f5cab8ae7dce38176caa15ebc1ac345 Mon Sep 17 00:00:00 2001 From: hristov Date: Tue, 9 Sep 2008 15:31:59 +0000 Subject: [PATCH] Fix from 28629 --- T0/AliT0Reconstructor.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/T0/AliT0Reconstructor.cxx b/T0/AliT0Reconstructor.cxx index 47e51232180..1c4112b92e0 100644 --- a/T0/AliT0Reconstructor.cxx +++ b/T0/AliT0Reconstructor.cxx @@ -364,14 +364,13 @@ void AliT0Reconstructor::Reconstruct(AliRawReader* rawReader, TTree*recTree) con Double_t sl = timeLED[ipmt] - timeCFD[ipmt]; time[ipmt] = fCalib-> WalkCorrection( ipmt, Int_t(sl), timeCFD[ipmt],"cosmic" ) ; - time[ipmt] = time[ipmt] - allData[0][0] + 5000; AliDebug(10,Form(" ipmt %i QTC %i , time in chann %i (led-cfd) %i ", ipmt, Int_t(adc[ipmt]) ,Int_t(time[ipmt]),Int_t( sl))); Double_t ampMip =( (TGraph*)fAmpLED.At(ipmt))->Eval(sl); Double_t qtMip = ((TGraph*)fQTC.At(ipmt))->Eval(adc[ipmt]); AliDebug(10,Form(" Amlitude in MIPS LED %f , QTC %f \n ",ampMip,qtMip)); - frecpoints->SetTime(ipmt, Float_t(time[ipmt]) ); + frecpoints->SetTime(ipmt, Float_t(time[ipmt] - allData[0][0] + 5000) ); frecpoints->SetAmp(ipmt, Float_t( ampMip)); //for cosmic &pp beam frecpoints->SetAmpLED(ipmt, Float_t(qtMip)); } //if physic data end