]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDdigit.cxx
Removed PadResponse(). Merge problem
[u/mrichter/AliRoot.git] / TRD / AliTRDdigit.cxx
CommitLineData
6f1e466d 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/*
17$Log$
18Revision 1.1.2.1 2000/05/08 14:40:29 cblume
19Introduce raw digit bit flag and DecodeAmp()
20
21*/
22
23///////////////////////////////////////////////////////////////////////////////
24// //
25// The TRD digit //
26// //
27///////////////////////////////////////////////////////////////////////////////
28
29#include "AliTRDdigit.h"
30
31ClassImp(AliTRDdigit)
32
33//_____________________________________________________________________________
34AliTRDdigit::AliTRDdigit():AliDigitNew()
35{
36 //
37 // Default constructor
38 //
39
40 fRow = 0;
41 fCol = 0;
42 fTime = 0;
43
44}
45
46//_____________________________________________________________________________
47AliTRDdigit::AliTRDdigit(Bool_t isRaw, Int_t *digits):AliDigitNew()
48{
49 //
50 // Create a TRD digit
51 //
52
53 // Store the volume hierarchy
54 fId = digits[0];
55
56 // Store the row, pad, and time bucket number
57 fRow = digits[1];
58 fCol = digits[2];
59 fTime = digits[3];
60
61 // Store the signal amplitude
62 fAmp = digits[4];
63
64 if (isRaw) SetBit(kRawDigit);
65
66}