]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDdigit.h
Added macros for production using Geant4. 3 different physics lists can be used:...
[u/mrichter/AliRoot.git] / TRD / AliTRDdigit.h
index 78151a53db271a5404b94ca7103e7ba9ada71f01..1e5941e3ae143d5a7f14e6859861ba472222879e 100644 (file)
@@ -19,31 +19,22 @@ class AliTRDdigit : public AliDigitNew {
  public:
 
   AliTRDdigit();
-  AliTRDdigit(Bool_t isRaw, Int_t *digits, Int_t *amp);
+  AliTRDdigit(Int_t * const digits, const Int_t *amp);
   virtual ~AliTRDdigit();
 
-  static  UInt_t RawDigit()          { return fgkRawDigit; };
-
-          Int_t  GetAmp() const      { if (TestBit(fgkRawDigit))
-                                         return DecodeAmp();
-                                       else
-                                         return fAmp; };
           Int_t  GetDetector() const { return fId;   };
+
           Int_t  GetRow() const      { return fRow;  };
           Int_t  GetCol() const      { return fCol;  };
           Int_t  GetTime() const     { return fTime; };
 
-  virtual Int_t  DecodeAmp() const;
-
  protected:
 
-  static const UInt_t fgkRawDigit; // Marks a raw digit
-
-  UShort_t     fRow;               // Pad row number
-  UShort_t     fCol;               // Pad col number
-  UShort_t     fTime;              // Time bucket
+               UShort_t fRow;        // Pad row number
+               UShort_t fCol;        // Pad col number
+               UShort_t fTime;       // Time bucket
 
-  ClassDef(AliTRDdigit,2)          // Digit for the TRD
+  ClassDef(AliTRDdigit,3)            // Digit for the TRD
 
 };