Update timestamps for new AMANDA simulation (17/02/2015)
[u/mrichter/AliRoot.git] / TPC / TestSimDigits.C
1 /// \file TestSimDigits.C
2
3 void TestSimDigits() {
4 AliSimDigits dig;
5 dig.Allocate(10,10);
6 dig.AllocateTrack(3);
7
8 dig.SetTrackIDFast(550,5,5,0);
9 dig.SetTrackIDFast(551,5,5,1);
10 dig.SetTrackIDFast(552,5,5,2);
11
12
13 dig.SetTrackIDFast(550,6,5,0);
14 dig.SetTrackIDFast(551,6,5,1);
15 dig.SetTrackIDFast(552,6,5,2);
16
17 dig.SetTrackIDFast(550,7,5,0);
18 dig.SetTrackIDFast(551,7,5,1);
19 dig.SetTrackIDFast(552,7,5,2);
20
21
22 dig.SetTrackIDFast(440,4,4,0);
23 dig.SetTrackIDFast(441,4,4,1);
24 dig.SetTrackIDFast(442,4,4,2);
25
26
27
28
29 dig.CompresTrackBuffer(1);
30
31 dig.GetTrackID(5,5,0);
32 dig.ExpandTrackBuffer() ;
33 dig.GetTrackIDFast(5,5,0);
34 dig.GetTrackIDFast(5,5,0);
35 dig.GetTrackIDFast(5,5,1);
36 dig.GetTrackIDFast(5,5,2);
37 }