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 ///////////////////////////////////////////////////////////////////////////////
12 ///////////////////////////////////////////////////////////////////////////////
14 #include "AliDigitNew.h"
16 //_____________________________________________________________________________
17 class AliTRDdigit : public AliDigitNew {
22 AliTRDdigit(Bool_t isRaw, Int_t *digits, Int_t *amp);
23 virtual ~AliTRDdigit();
25 static UInt_t RawDigit() { return fgkRawDigit; };
27 Int_t GetAmp() const { if (TestBit(fgkRawDigit))
31 Int_t GetDetector() const { return fId; };
32 Int_t GetRow() const { return fRow; };
33 Int_t GetCol() const { return fCol; };
34 Int_t GetTime() const { return fTime; };
36 virtual Int_t DecodeAmp() const;
40 static const UInt_t fgkRawDigit; // Marks a raw digit
42 UShort_t fRow; // Pad row number
43 UShort_t fCol; // Pad col number
44 UShort_t fTime; // Time bucket
46 ClassDef(AliTRDdigit,2) // Digit for the TRD