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