]>
Commit | Line | Data |
---|---|---|
23efe5f1 | 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 |