Line data Source code
1 :
2 :
3 : /**************************************************************************
4 : * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 : * *
6 : * Author: The ALICE Off-line Project. *
7 : * Contributors are mentioned in the code where appropriate. *
8 : * *
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 : **************************************************************************/
17 :
18 : /* $Id$ */
19 :
20 : ///////////////////////////////////////////////////////////////////////////////
21 : // //
22 : // The TRD digit //
23 : // //
24 : ///////////////////////////////////////////////////////////////////////////////
25 :
26 : #include "AliTRDdigit.h"
27 :
28 48 : ClassImp(AliTRDdigit)
29 :
30 : //_____________________________________________________________________________
31 : AliTRDdigit::AliTRDdigit()
32 0 : :AliDigitNew()
33 0 : ,fRow(0)
34 0 : ,fCol(0)
35 0 : ,fTime(0)
36 0 : {
37 : //
38 : // Default constructor
39 : //
40 :
41 0 : }
42 :
43 : //_____________________________________________________________________________
44 : AliTRDdigit::AliTRDdigit(Int_t * const digits, const Int_t *amp)
45 0 : :AliDigitNew()
46 0 : ,fRow(0)
47 0 : ,fCol(0)
48 0 : ,fTime(0)
49 0 : {
50 : //
51 : // Create a TRD digit
52 : //
53 :
54 : // Store the volume hierarchy
55 0 : fId = digits[0];
56 :
57 : // Store the row, pad, and time bucket number
58 0 : fRow = digits[1];
59 0 : fCol = digits[2];
60 0 : fTime = digits[3];
61 :
62 : // Store the signal amplitude
63 0 : fAmp = amp[0];
64 :
65 0 : }
66 :
67 : //_____________________________________________________________________________
68 : AliTRDdigit::~AliTRDdigit()
69 0 : {
70 : //
71 : // AliTRDdigit destructor
72 : //
73 :
74 0 : }
|