]>
Commit | Line | Data |
---|---|---|
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 | ||
8 | /* $Id$ */ | |
9 | #include "AliRICHDigit.h" | |
10 | #include "TObjArray.h" | |
11 | ||
12 | class AliRICHTransientDigit : public AliRICHDigit { | |
13 | protected: | |
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); | |
20 | virtual ~AliRICHTransientDigit(); | |
21 | ||
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); | |
29 | ||
30 | ClassDef(AliRICHTransientDigit,1) //Digits for set:RICH | |
31 | }; | |
32 | ||
33 | #endif |