]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/load_particles.C
Part of new PID code from Boris Batyunya
[u/mrichter/AliRoot.git] / ITS / load_particles.C
1 {
2    TFile *file = new TFile("galice.root");
3     file->ls();
4         delete gAlice;
5         gAlice = (AliRun*)(file->Get("gAlice"));
6
7         Int_t npart = gAlice->GetEvent(0);
8         assert(npart);
9         TObjArray*  parray = gAlice->Particles();
10         cout<<" load_particles: N part="<<npart<<endl;
11
12 }
13
14
15
16
17
18
19
20
21
22
23