4 total amount of particles in stack for a given event:
5 AliStack::GetNtrack() or AliRun::GetEvent()
8 total amount of primiry particles in stack for a given event:
9 AliStack::GetNprimary() or TreeH()::GetEntries()
15 Hits a stored on primiry by primiry basis. To retrieve all hits one needs to do:
17 initialise the root tree and containers: AliLoader::LoadHits()
18 read number of primiries in current event:
19 loop on the list of primiries:
23 How to retrive sdigits? Sdigits stored in tree S with the branch of TClonesArray, all sdigits in a single TClonesArray
24 So the tree has only one entry.
26 pRich->GetLoader()->LoadSDigits(); this one open file, get the tree and invoke AliRICH::SetTreeAddress()
30 gAlice->GetMCApp()->GetCurrentTrackNumber()