]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSdictSSD.cxx
Blank Line added at end of file to remove a warning for hp compilers
[u/mrichter/AliRoot.git] / ITS / AliITSdictSSD.cxx
CommitLineData
b0f5e3fc 1
2#include <stdio.h>
b0f5e3fc 3
b0f5e3fc 4#include "AliITSdictSSD.h"
b0f5e3fc 5
608f25d8 6ClassImp(AliITSdictSSD)
b0f5e3fc 7
8void AliITSdictSSD::AddTrack(Int_t track) {
9 // add track
10 if (fTracks > 9) return;
e8189707 11 Int_t exist = 0;
b0f5e3fc 12
e8189707 13 for(Int_t i=0; i<10; i++)
b0f5e3fc 14 {
15 if(track == fTrack[i])
16 {
17 exist = 1;
18 }
19
20 }
21 if (!exist)
22 {
23 fTrack[fTracks++] = track;
24 }
25
26}
27
28
29Int_t AliITSdictSSD::GetTrack(Int_t index) {
30 // get track
31 if(index > fTracks) return 0;
32 else return fTrack[index];
33}
34
35
36//****************************************************************************