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