]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSdictSSD.cxx
Automatic streamer used and forward declarations added
[u/mrichter/AliRoot.git] / ITS / AliITSdictSSD.cxx
CommitLineData
b0f5e3fc 1
2#include <stdio.h>
b0f5e3fc 3
b0f5e3fc 4#include "AliITSdictSSD.h"
b0f5e3fc 5
6
7void AliITSdictSSD::AddTrack(Int_t track) {
8 // add track
9 if (fTracks > 9) return;
e8189707 10 Int_t exist = 0;
b0f5e3fc 11
e8189707 12 for(Int_t i=0; i<10; i++)
b0f5e3fc 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
28Int_t AliITSdictSSD::GetTrack(Int_t index) {
29 // get track
30 if(index > fTracks) return 0;
31 else return fTrack[index];
32}
33
34
35//****************************************************************************