]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDdigit.cxx
running local for SP and LYZEP and new histograms for QC
[u/mrichter/AliRoot.git] / TRD / AliTRDdigit.cxx
index c7777fd92a0bdf82d8e21a4f05dae560aeb03857..1bb4e0d9b312fc5fce352647eef0c66d24f0270a 100644 (file)
@@ -1,3 +1,5 @@
+
+
 /**************************************************************************
  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  *                                                                        *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.1.2.1  2000/05/08 14:40:29  cblume
-Introduce raw digit bit flag and DecodeAmp()
-
-*/
+/* $Id$ */
 
 ///////////////////////////////////////////////////////////////////////////////
 //                                                                           //
@@ -31,20 +28,24 @@ Introduce raw digit bit flag and DecodeAmp()
 ClassImp(AliTRDdigit)
 
 //_____________________________________________________________________________
-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):AliDigitNew()
+AliTRDdigit::AliTRDdigit(Int_t *digits, Int_t *amp)
+  :AliDigitNew()
+  ,fRow(0)
+  ,fCol(0)
+  ,fTime(0)
 {
   //
   // Create a TRD digit
@@ -59,8 +60,15 @@ AliTRDdigit::AliTRDdigit(Bool_t isRaw, Int_t *digits):AliDigitNew()
   fTime = digits[3];
 
   // Store the signal amplitude
-  fAmp  = digits[4];
+  fAmp  = amp[0];
+
+}
 
-  if (isRaw) SetBit(kRawDigit);
+//_____________________________________________________________________________
+AliTRDdigit::~AliTRDdigit()
+{
+  //
+  // AliTRDdigit destructor
+  //
 
 }