/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-/* $Id $ */
+/* $Id$ */
#include "AliRICHDigit.h"
+#include "TObjArray.h"
class AliRICHTransientDigit : public AliRICHDigit {
- public:
+ protected:
Int_t fRpad; // r_pos of pad
Int_t fChamber; // chamber number of pad
TObjArray *fTrackList; // list of tracks
AliRICHTransientDigit(Int_t ich, Int_t *digits);
virtual ~AliRICHTransientDigit();
- TObjArray *TrackList() {return fTrackList;}
+// TObjArray *TrackList() {return fTrackList;}
+ Int_t GetChamber() const {return fChamber;}
+ Int_t GetNTracks() const {return fTrackList->GetEntriesFast();}
+ Int_t GetTrack(Int_t i) const;
+ Int_t GetCharge(Int_t i) const;
+ void AddToTrackList(Int_t track, Int_t charge);
+ void UpdateTrackList(Int_t track, Int_t charge);
ClassDef(AliRICHTransientDigit,1) //Digits for set:RICH
};