reading timedelay for 0 channel before cycle
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Jul 2007 07:50:30 +0000 (07:50 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Jul 2007 07:50:30 +0000 (07:50 +0000)
T0/AliT0Digitizer.cxx

index e464a39..91edea8 100644 (file)
@@ -267,6 +267,8 @@ void AliT0Digitizer::Exec(Option_t* /*option*/)
       }        
     }
 
+    timeDelayCFD[0] = fParam->GetTimeDelayCFD(0);
+
     for (Int_t i=0; i<24; i++)
       {
                Float_t  al = countE[i]; 
@@ -324,7 +326,6 @@ void AliT0Digitizer::Exec(Option_t* /*option*/)
                        /channelWidth);
       }
        AliDebug(10,Form(" time A& C %i %i  time diff && mean time in channels %i %i",bestATDC,bestCTDC, timeDiff, meanTime));
-         timeDelayCFD[0] = fParam->GetTimeDelayCFD(0);
 
     if (sumMult > threshold){
       fSumMult =  Int_t (1000.* TMath::Log(Double_t(sumMult) / Double_t(sumMultCoeff))