]>
Commit | Line | Data |
---|---|---|
237c933d | 1 | #ifndef ALIRICHTRANSIENTDIGIT_H |
2 | #define ALIRICHTRANSIENTDIGIT_H | |
3 | ||
4 | ||
5 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
6 | * See cxx source for full Copyright notice */ | |
7 | ||
b762c2f6 | 8 | /* $Id$ */ |
237c933d | 9 | #include "AliRICHDigit.h" |
b762c2f6 | 10 | #include "TObjArray.h" |
237c933d | 11 | |
12 | class AliRICHTransientDigit : public AliRICHDigit { | |
6e585aa2 | 13 | protected: |
237c933d | 14 | Int_t fRpad; // r_pos of pad |
15 | Int_t fChamber; // chamber number of pad | |
16 | TObjArray *fTrackList; // list of tracks | |
17 | public: | |
18 | AliRICHTransientDigit() {fTrackList=0;} | |
19 | AliRICHTransientDigit(Int_t ich, Int_t *digits); | |
1a8d5900 | 20 | virtual ~AliRICHTransientDigit(); |
237c933d | 21 | |
b762c2f6 | 22 | // TObjArray *TrackList() {return fTrackList;} |
23 | Int_t GetChamber() const {return fChamber;} | |
24 | Int_t GetNTracks() const {return fTrackList->GetEntriesFast();} | |
25 | Int_t GetTrack(Int_t i) const; | |
26 | Int_t GetCharge(Int_t i) const; | |
27 | void AddToTrackList(Int_t track, Int_t charge); | |
28 | void UpdateTrackList(Int_t track, Int_t charge); | |
237c933d | 29 | |
30 | ClassDef(AliRICHTransientDigit,1) //Digits for set:RICH | |
31 | }; | |
32 | ||
33 | #endif |