]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 ca1a09d5fb33469d94ed562e64cc916d0ff26f73..ac6d27682f2c2da24e7c2e582a6e6a8b97211bad 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];