]>
Commit | Line | Data |
---|---|---|
b0f5e3fc | 1 | #ifndef ALIITSDICTSSD_H |
2 | #define ALIITSDICTSSD_H | |
3 | ||
4 | #include <TArrayF.h> | |
5 | ||
6 | #include "AliITSdcsSSD.h" | |
7 | ||
8 | class AliITSdcsSSD; | |
9 | ||
10 | class AliITSdictSSD { | |
11 | ||
12 | public: | |
13 | ||
14 | AliITSdictSSD() { | |
15 | // constructor | |
16 | fTracks = 0; | |
17 | } | |
18 | ~AliITSdictSSD() { | |
19 | // destructor | |
20 | }; | |
21 | ||
22 | void AddTrack(Int_t track); | |
23 | Int_t GetTrack(Int_t index); | |
24 | Int_t GetNTracks() { | |
25 | // get num of tracks | |
26 | return fTracks; | |
27 | } | |
28 | void ZeroTracks() { | |
29 | // zero tracks | |
30 | for (Int_t i =0;i<10;i++) fTrack[i]=0; fTracks = 0; | |
31 | } | |
32 | ||
33 | private: | |
34 | Int_t fTrack[10]; // Track array | |
35 | Int_t fTracks; // Tracks | |
36 | }; | |
37 | ||
38 | ||
39 | #endif |