]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - TPC/TestSimDigits.C
Added speed test macro
[u/mrichter/AliRoot.git] / TPC / TestSimDigits.C
... / ...
CommitLineData
1void TestSimDigits() {
2AliSimDigits dig;
3dig.Allocate(10,10);
4dig.AllocateTrack(3);
5
6dig.SetTrackIDFast(550,5,5,0);
7dig.SetTrackIDFast(551,5,5,1);
8dig.SetTrackIDFast(552,5,5,2);
9
10
11dig.SetTrackIDFast(550,6,5,0);
12dig.SetTrackIDFast(551,6,5,1);
13dig.SetTrackIDFast(552,6,5,2);
14
15dig.SetTrackIDFast(550,7,5,0);
16dig.SetTrackIDFast(551,7,5,1);
17dig.SetTrackIDFast(552,7,5,2);
18
19
20dig.SetTrackIDFast(440,4,4,0);
21dig.SetTrackIDFast(441,4,4,1);
22dig.SetTrackIDFast(442,4,4,2);
23
24
25
26
27dig.CompresTrackBuffer(1);
28
29dig.GetTrackID(5,5,0);
30dig.ExpandTrackBuffer() ;
31dig.GetTrackIDFast(5,5,0);
32dig.GetTrackIDFast(5,5,0);
33dig.GetTrackIDFast(5,5,1);
34dig.GetTrackIDFast(5,5,2);
35}