]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RICH/api.txt
digitization under AliSimulation fixed, all the information in chamber's local system...
[u/mrichter/AliRoot.git] / RICH / api.txt
1 pointer to the stack:
2 AliRunLoader::Stack()
3
4 total amount of particles in stack for a given event:
5 AliStack::GetNtrack() or AliRun::GetEvent()
6
7
8 total amount of primiry particles in stack for a given event:
9 AliStack::GetNprimary() or TreeH()::GetEntries()
10
11 to open session 
12 AliRunLoader::Open(
13
14
15 Hits a stored on primiry by primiry basis. To retrieve all hits one needs to do:
16
17 initialise the root tree and containers:    AliLoader::LoadHits() 
18 read number of primiries in current event:
19 loop on the list of primiries:
20
21
22
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.
25                         One needs to say:
26                         pRich->GetLoader()->LoadSDigits(); this one open file, get the tree and invoke AliRICH::SetTreeAddress()    
27
28
29
30 gAlice->GetMCApp()->GetCurrentTrackNumber()
31
32
33 Debug staff:
34
35 AliModule::GetDebug() 
36 AliModule::SetDebug()
37 AliRun::GetDebug()
38 AliRun::SetDebug()
39
40
41
42
43
44
45 pointer to gAlice
46
47
48