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 Revision 1.5 2000/11/01 14:53:20 cblume
21 Merge with TRD-develop
23 Revision 1.1.2.4 2000/10/17 02:27:34 cblume
24 Get rid of global constants
26 Revision 1.1.2.3 2000/10/06 16:49:46 cblume
29 Revision 1.1.2.2 2000/09/22 14:42:05 cblume
30 Changed data members to UShort_t
32 Revision 1.4 2000/06/08 18:32:58 cblume
33 Make code compliant to coding conventions
35 Revision 1.3 2000/06/07 16:25:37 cblume
36 Try to remove compiler warnings on Sun and HP
38 Revision 1.2 2000/05/08 16:17:27 cblume
41 Revision 1.1.2.1 2000/05/08 14:40:29 cblume
42 Introduce raw digit bit flag and DecodeAmp()
46 ///////////////////////////////////////////////////////////////////////////////
50 ///////////////////////////////////////////////////////////////////////////////
52 #include "AliTRDdigit.h"
56 //_____________________________________________________________________________
59 const UInt_t AliTRDdigit::fgkRawDigit = 0x00000001;
61 //_____________________________________________________________________________
62 AliTRDdigit::AliTRDdigit():AliDigitNew()
65 // Default constructor
74 //_____________________________________________________________________________
75 AliTRDdigit::AliTRDdigit(Bool_t isRaw, Int_t *digits, Int_t *amp):AliDigitNew()
81 // Store the volume hierarchy
84 // Store the row, pad, and time bucket number
89 // Store the signal amplitude
92 if (isRaw) SetBit(fgkRawDigit);
96 //_____________________________________________________________________________
97 AliTRDdigit::~AliTRDdigit()
100 // AliTRDdigit destructor
105 //_____________________________________________________________________________
106 Int_t AliTRDdigit::DecodeAmp() const
109 // Decodes the digit amplitude