]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/load_particles.C
Buffer Size can be defined
[u/mrichter/AliRoot.git] / ITS / load_particles.C
CommitLineData
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