3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 /* $Id: AliTRDdigit.h,v */
8 #include "AliDigitNew.h"
10 //_____________________________________________________________________________
11 class AliTRDdigit : public AliDigitNew {
16 AliTRDdigit(Bool_t isRaw, Int_t *digits, Int_t *amp);
17 virtual ~AliTRDdigit();
19 static UInt_t RawDigit() { return fgkRawDigit; };
21 Int_t GetAmp() const { if (TestBit(fgkRawDigit))
25 Int_t GetDetector() const { return fId; };
26 Int_t GetRow() const { return fRow; };
27 Int_t GetCol() const { return fCol; };
28 Int_t GetTime() const { return fTime; };
30 virtual Int_t DecodeAmp() const;
34 static const UInt_t fgkRawDigit; // Marks a raw digit
36 UShort_t fRow; // Pad row number
37 UShort_t fCol; // Pad col number
38 UShort_t fTime; // Time bucket
40 ClassDef(AliTRDdigit,2) // Digit for the TRD