]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSQADataMakerRec.cxx
time evaluation with k-Level method added
[u/mrichter/AliRoot.git] / PHOS / AliPHOSQADataMakerRec.cxx
index 54c821eff735de513a3c1a875726dc8af2f58860..b2a29a30825062cacda10e46cfd6f6df1b667639 100644 (file)
@@ -415,13 +415,10 @@ void AliPHOSQADataMakerRec::MakeRaws(AliRawReader* rawReader)
        const UShort_t *sig = fRawStream->GetSignals();
        Int_t sigStart      = fRawStream->GetStartTimeBin();
        Int_t sigLength     = fRawStream->GetBunchLength();
-       fitter->SetSamples(sig,sigStart,sigLength);
+       fitter->SetChannelGeo(module,cellX,cellZ,caloFlag);
+       fitter->Eval(sig,sigStart,sigLength);
       } // End of NextBunch()
 
-      fitter->SetNBunches(nBunches);
-      fitter->SetChannelGeo(module,cellX,cellZ,caloFlag);
-      fitter->Eval();
-      
       Double_t energy = fitter->GetEnergy() ; 
       Double_t time   = fitter->GetTime() ;