]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDdigit.cxx
Merge with TRDdev.2.0
[u/mrichter/AliRoot.git] / TRD / AliTRDdigit.cxx
index 4922aa7c8c8af4bd2ae7dea22c7e4a50e7e5c327..371b39f9c4dbcf6256f49b0a9fe20a68740cef33 100644 (file)
 ClassImp(AliTRDdigit)
 
 //_____________________________________________________________________________
-  
-  // Marks a raw digit
-  const UInt_t AliTRDdigit::fgkRawDigit = 0x00000001; 
-
-//_____________________________________________________________________________
-AliTRDdigit::AliTRDdigit():AliDigitNew()
+AliTRDdigit::AliTRDdigit()
+  :AliDigitNew()
+  ,fRow(0)
+  ,fCol(0)
+  ,fTime(0)
 {
   //
   // Default constructor
   //
 
-  fRow  = 0;
-  fCol  = 0;
-  fTime = 0;
-
 }
 
 //_____________________________________________________________________________
-AliTRDdigit::AliTRDdigit(Bool_t isRaw, Int_t *digits, Int_t *amp):AliDigitNew()
+AliTRDdigit::AliTRDdigit(Int_t * const digits, const Int_t *amp)
+  :AliDigitNew()
+  ,fRow(0)
+  ,fCol(0)
+  ,fTime(0)
 {
   //
   // Create a TRD digit
@@ -63,8 +62,6 @@ AliTRDdigit::AliTRDdigit(Bool_t isRaw, Int_t *digits, Int_t *amp):AliDigitNew()
   // Store the signal amplitude
   fAmp  = amp[0];
 
-  if (isRaw) SetBit(fgkRawDigit);
-
 }
 
 //_____________________________________________________________________________
@@ -75,14 +72,3 @@ AliTRDdigit::~AliTRDdigit()
   //
 
 }
-
-//_____________________________________________________________________________
-Int_t AliTRDdigit::DecodeAmp() const
-{
-  //
-  // Decodes the digit amplitude
-  //
-
-  return 0;
-
-}