]>
Commit | Line | Data |
---|---|---|
b0f5e3fc | 1 | #ifndef ALIITSDICTSSD_H |
2 | #define ALIITSDICTSSD_H | |
3 | ||
4 | #include <TArrayF.h> | |
5 | ||
b0f5e3fc | 6 | class AliITSdictSSD { |
7 | ||
8 | public: | |
9 | ||
10 | AliITSdictSSD() { | |
11 | // constructor | |
12 | fTracks = 0; | |
13 | } | |
14 | ~AliITSdictSSD() { | |
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; | |
23 | } | |
24 | void ZeroTracks() { | |
25 | // zero tracks | |
26 | for (Int_t i =0;i<10;i++) fTrack[i]=0; fTracks = 0; | |
27 | } | |
28 | ||
29 | private: | |
30 | Int_t fTrack[10]; // Track array | |
31 | Int_t fTracks; // Tracks | |
32 | }; | |
33 | ||
34 | ||
35 | #endif |