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