]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSdictSSD.cxx
Automatic streamer used and forward declarations added
[u/mrichter/AliRoot.git] / ITS / AliITSdictSSD.cxx
1
2 #include <stdio.h>
3
4 #include "AliITSdictSSD.h"
5
6
7 void AliITSdictSSD::AddTrack(Int_t track) {
8   // add track
9     if (fTracks > 9) return;
10     Int_t exist = 0;
11     
12     for(Int_t i=0; i<10; i++) 
13      {
14        if(track == fTrack[i]) 
15         {
16          exist = 1;
17         }
18       
19       } 
20     if (!exist) 
21      {
22      fTrack[fTracks++] = track;     
23      }
24
25 }
26
27
28 Int_t AliITSdictSSD::GetTrack(Int_t index) {
29   // get track
30     if(index > fTracks) return 0;
31     else return fTrack[index];
32 }
33
34
35 //****************************************************************************