X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TRD%2FAliTRDdigit.cxx;h=49d3e42d77307b86f45eb3527bdcccc2760617a2;hb=87af19d1d1764c2fc26a848173f185f9195ce4fb;hp=fb79d86f8cf2cb4ee91fa4400017064aabe4f219;hpb=8230f242a54d81b01f5a6fe9c900cee395cdaf57;p=u%2Fmrichter%2FAliRoot.git diff --git a/TRD/AliTRDdigit.cxx b/TRD/AliTRDdigit.cxx index fb79d86f8cf..49d3e42d773 100644 --- a/TRD/AliTRDdigit.cxx +++ b/TRD/AliTRDdigit.cxx @@ -1,3 +1,5 @@ + + /************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * @@ -13,18 +15,7 @@ * provided "as is" without express or implied warranty. * **************************************************************************/ -/* -$Log$ -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 - -Revision 1.1.2.1 2000/05/08 14:40:29 cblume -Introduce raw digit bit flag and DecodeAmp() - -*/ +/* $Id$ */ /////////////////////////////////////////////////////////////////////////////// // // @@ -37,20 +28,29 @@ Introduce raw digit bit flag and DecodeAmp() ClassImp(AliTRDdigit) //_____________________________________________________________________________ -AliTRDdigit::AliTRDdigit():AliDigitNew() + + // Marks a raw digit + const UInt_t AliTRDdigit::fgkRawDigit = 0x00000001; + +//_____________________________________________________________________________ +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(Bool_t isRaw, Int_t *digits, Int_t *amp) + :AliDigitNew() + ,fRow(0) + ,fCol(0) + ,fTime(0) { // // Create a TRD digit @@ -67,7 +67,7 @@ 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); } @@ -79,3 +79,14 @@ AliTRDdigit::~AliTRDdigit() // } + +//_____________________________________________________________________________ +Int_t AliTRDdigit::DecodeAmp() const +{ + // + // Decodes the digit amplitude + // + + return 0; + +}