]>
Commit | Line | Data |
---|---|---|
a9e2aefa | 1 | #ifndef ALIMUONTRANSIENTDIGIT_H |
2 | #define ALIMUONTRANSIENTDIGIT_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
30178c30 | 8 | // Revision of includes 07/05/2004 |
a9e2aefa | 9 | |
692de412 | 10 | /// \ingroup base |
11 | /// \class AliMUONTransientDigit | |
12 | /// \brief MUON transient digit | |
13 | ||
a9e2aefa | 14 | #include "AliMUONDigit.h" |
30178c30 | 15 | |
16 | class TObjArray; | |
a9e2aefa | 17 | |
53af523e | 18 | class AliMUONTransientDigit : public AliMUONDigit |
19 | { | |
20 | public: | |
30178c30 | 21 | AliMUONTransientDigit(); |
a9e2aefa | 22 | AliMUONTransientDigit(Int_t rpad, Int_t *digits); |
23 | virtual ~AliMUONTransientDigit(); | |
53af523e | 24 | |
380da863 | 25 | Int_t Chamber() const {return fChamber;} |
26 | Int_t GetNTracks() const {return fTrackList->GetEntriesFast();} | |
27 | Int_t GetTrack(Int_t i) const; | |
28 | Int_t GetCharge(Int_t i) const; | |
4b98e7b8 | 29 | void AddToTrackList(Int_t track, Int_t charge); |
30 | void UpdateTrackList(Int_t track, Int_t charge); | |
a9e2aefa | 31 | |
53af523e | 32 | protected: |
30178c30 | 33 | AliMUONTransientDigit(const AliMUONTransientDigit& digit); |
34 | AliMUONTransientDigit & operator =(const AliMUONTransientDigit & rhs); | |
35 | ||
53af523e | 36 | Int_t fChamber; // chamber number of pad |
37 | TObjArray *fTrackList; // List of tracks contributing | |
38 | ||
39 | ClassDef(AliMUONTransientDigit,1) // Transient digit for MUON | |
a9e2aefa | 40 | }; |
41 | #endif | |
42 |