]>
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 | |
5398f946 | 13 | /// |
14 | /// Extends AliMUONDigit with a list of contributing tracks | |
692de412 | 15 | |
a9e2aefa | 16 | #include "AliMUONDigit.h" |
30178c30 | 17 | |
18 | class TObjArray; | |
a9e2aefa | 19 | |
53af523e | 20 | class AliMUONTransientDigit : public AliMUONDigit |
21 | { | |
22 | public: | |
30178c30 | 23 | AliMUONTransientDigit(); |
a9e2aefa | 24 | AliMUONTransientDigit(Int_t rpad, Int_t *digits); |
25 | virtual ~AliMUONTransientDigit(); | |
53af523e | 26 | |
5398f946 | 27 | /// Return chamber number |
380da863 | 28 | Int_t Chamber() const {return fChamber;} |
5398f946 | 29 | /// Return number of tracks in the list |
380da863 | 30 | Int_t GetNTracks() const {return fTrackList->GetEntriesFast();} |
31 | Int_t GetTrack(Int_t i) const; | |
32 | Int_t GetCharge(Int_t i) const; | |
4b98e7b8 | 33 | void AddToTrackList(Int_t track, Int_t charge); |
34 | void UpdateTrackList(Int_t track, Int_t charge); | |
a9e2aefa | 35 | |
53af523e | 36 | protected: |
30178c30 | 37 | AliMUONTransientDigit(const AliMUONTransientDigit& digit); |
38 | AliMUONTransientDigit & operator =(const AliMUONTransientDigit & rhs); | |
39 | ||
18b6b8c7 | 40 | Int_t fChamber; ///< chamber number of pad |
41 | TObjArray *fTrackList; ///< List of tracks contributing | |
53af523e | 42 | |
43 | ClassDef(AliMUONTransientDigit,1) // Transient digit for MUON | |
a9e2aefa | 44 | }; |
45 | #endif | |
46 |