1 RICHpatrec (Int_t evNumber1=0,Int_t evNumber2=0)
3 if(gAlice) delete gAlice;
7 if(!(al=AliRunLoader::Open("galice.root","AlicE","update")))
8 Fatal("ReadAlice","galice.root broken");
11 if(!gAlice) Fatal("ReadAlice","No gAlice in file");
14 AliRICHPatRec *detect = new AliRICHPatRec("RICH patrec algorithm","Reconstruction");
17 for (int nev=0; nev<= evNumber2; nev++) { // Event Loop
18 Int_t nparticles = al->GetEvent(nev);
19 cout <<endl<< "Processing event:" <<nev<<endl;
20 cout << "Particles :" <<nparticles<<endl;
21 if (nev < evNumber1) continue;
22 if (nparticles <= 0) return;
26 printf("\nEnd of Macro*************************************\n");