bug in part v5-02-Releaseof old data reconstruction fixed
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Jun 2012 09:25:32 +0000 (09:25 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Jun 2012 09:25:32 +0000 (09:25 +0000)
T0/AliT0Reconstructor.cxx

index ca1a09d..ac6d276 100644 (file)
@@ -540,7 +540,7 @@ void AliT0Reconstructor::Reconstruct(AliRawReader* rawReader, TTree*recTree) con
                       fTimeMeanShift[1],fTimeMeanShift[2] ) );
        if( besttimeC < 999999 &&  besttimeA < 999999) { 
         if(equalize  ==0 )
-          timeclock = ((besttimeC * channelWidth)- 1000.*fLatencyHPTDC +1000.*fLatencyL1 - 1000.*fGRPdelays - fTimeMeanShift[0]);
+          timeclock = (channelWidth*(besttimeC + besttimeA)/2.- 1000.*fLatencyHPTDC +1000.*fLatencyL1 - 1000.*fGRPdelays - fTimeMeanShift[0]);
         else
           {
             timeclock = channelWidth * Float_t( besttimeA+besttimeC)/2. - fTimeMeanShift[0];