]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDdigit.cxx
Major upgrade of AliRoot code
[u/mrichter/AliRoot.git] / TRD / AliTRDdigit.cxx
index 3cc623e3ef9822ffad2256f1f73650e6978edcaa..e051686251cf5162cbb9b48eae7364aac0d4c18e 100644 (file)
@@ -1,3 +1,5 @@
+
+
 /**************************************************************************
  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  *                                                                        *
 
 /*
 $Log$
+Revision 1.5  2000/11/01 14:53:20  cblume
+Merge with TRD-develop
+
+Revision 1.1.2.4  2000/10/17 02:27:34  cblume
+Get rid of global constants
+
+Revision 1.1.2.3  2000/10/06 16:49:46  cblume
+Made Getters const
+
+Revision 1.1.2.2  2000/09/22 14:42:05  cblume
+Changed data members to UShort_t
+
+Revision 1.4  2000/06/08 18:32:58  cblume
+Make code compliant to coding conventions
+
+Revision 1.3  2000/06/07 16:25:37  cblume
+Try to remove compiler warnings on Sun and HP
+
 Revision 1.2  2000/05/08 16:17:27  cblume
 Merge TRD-develop
 
@@ -33,6 +53,11 @@ Introduce raw digit bit flag and DecodeAmp()
 
 ClassImp(AliTRDdigit)
 
+//_____________________________________________________________________________
+  
+  // Marks a raw digit
+  const UInt_t AliTRDdigit::fgkRawDigit = 0x00000001; 
+
 //_____________________________________________________________________________
 AliTRDdigit::AliTRDdigit():AliDigitNew()
 {
@@ -40,9 +65,9 @@ AliTRDdigit::AliTRDdigit():AliDigitNew()
   // Default constructor
   //
 
-  fRow       = 0;
-  fCol       = 0;
-  fTime      = 0;
+  fRow  = 0;
+  fCol  = 0;
+  fTime = 0;
 
 }
 
@@ -64,6 +89,26 @@ AliTRDdigit::AliTRDdigit(Bool_t isRaw, Int_t *digits, Int_t *amp):AliDigitNew()
   // Store the signal amplitude
   fAmp  = amp[0];
 
-  if (isRaw) SetBit(kRawDigit);
+  if (isRaw) SetBit(fgkRawDigit);
+
+}
+
+//_____________________________________________________________________________
+AliTRDdigit::~AliTRDdigit()
+{
+  //
+  // AliTRDdigit destructor
+  //
+
+}
+
+//_____________________________________________________________________________
+Int_t AliTRDdigit::DecodeAmp() const
+{
+  //
+  // Decodes the digit amplitude
+  //
+
+  return 0;
 
 }