3 /**************************************************************************
4 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * Author: The ALICE Off-line Project. *
7 * Contributors are mentioned in the code where appropriate. *
9 * Permission to use, copy, modify and distribute this software and its *
10 * documentation strictly for non-commercial purposes is hereby granted *
11 * without fee, provided that the above copyright notice appears in all *
12 * copies and that both the copyright notice and this permission notice *
13 * appear in the supporting documentation. The authors make no claims *
14 * about the suitability of this software for any purpose. It is *
15 * provided "as is" without express or implied warranty. *
16 **************************************************************************/
20 ///////////////////////////////////////////////////////////////////////////////
24 ///////////////////////////////////////////////////////////////////////////////
26 #include "AliTRDdigit.h"
30 //_____________________________________________________________________________
33 const UInt_t AliTRDdigit::fgkRawDigit = 0x00000001;
35 //_____________________________________________________________________________
36 AliTRDdigit::AliTRDdigit():AliDigitNew()
39 // Default constructor
48 //_____________________________________________________________________________
49 AliTRDdigit::AliTRDdigit(Bool_t isRaw, Int_t *digits, Int_t *amp):AliDigitNew()
55 // Store the volume hierarchy
58 // Store the row, pad, and time bucket number
63 // Store the signal amplitude
66 if (isRaw) SetBit(fgkRawDigit);
70 //_____________________________________________________________________________
71 AliTRDdigit::~AliTRDdigit()
74 // AliTRDdigit destructor
79 //_____________________________________________________________________________
80 Int_t AliTRDdigit::DecodeAmp() const
83 // Decodes the digit amplitude