From 0ae10e32b141607442376e283d1baaff89c7afaa Mon Sep 17 00:00:00 2001 From: schutz Date: Fri, 16 Feb 2001 13:10:26 +0000 Subject: [PATCH] Reconstruction of many events from one galice enabled --- PHOS/AliPHOSAnalyze.cxx | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/PHOS/AliPHOSAnalyze.cxx b/PHOS/AliPHOSAnalyze.cxx index c9f919ecd29..794538b7f14 100644 --- a/PHOS/AliPHOSAnalyze.cxx +++ b/PHOS/AliPHOSAnalyze.cxx @@ -374,13 +374,30 @@ void AliPHOSAnalyze::DrawRecon(Int_t Nevent,Int_t Nmod){ if (fDebugLevel != 0 || (ievent+1) % (Int_t)TMath::Power( 10, (Int_t)TMath::Log10(ievent+1) ) == 0) cout << "======= Analyze ======> Event " << ievent+1 << endl ; + + + gAlice->GetEvent(ievent) ; + gAlice->SetEvent(ievent) ; + + if(gAlice->TreeS() == 0) gAlice->MakeTree("S"); + fPHOS->MakeBranch("S") ; - fPHOS->Enable() ; - - gAlice->Hits2Digits() ; + fPHOS->Hits2SDigits() ; - //=========== Do the reconstruction + if(gAlice->TreeD() == 0) gAlice->MakeTree("D"); + fPHOS->MakeBranch("D") ; + + fPHOS->SDigits2Digits() ; + + if(gAlice->TreeR() == 0) gAlice->MakeTree("R"); + fPHOS->Reconstruction(fRec); + + gAlice->TreeS()->Fill() ; + gAlice->TreeS()->Write(0,TObject::kOverwrite); + + gAlice->TreeD()->Fill() ; + gAlice->TreeD()->Write(0,TObject::kOverwrite); } -- 2.43.0