]>
Commit | Line | Data |
---|---|---|
6d75e4b6 | 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 | /* $Id$ */ | |
17 | ||
18 | /////////////////////////////////////////////////////////////////////////////// | |
19 | /// // | |
20 | /// Time Projection Chamber Digit // | |
21 | /// // | |
22 | /////////////////////////////////////////////////////////////////////////////// | |
23 | ||
24 | #include "AliTPCdigit.h" | |
25 | ||
26 | ||
27 | ClassImp(AliTPCdigit) | |
179c6296 | 28 | //_____________________________________________________________________ |
29 | AliTPCdigit::AliTPCdigit() | |
30 | :AliDigit(), | |
31 | fSector(0), | |
32 | fPadRow(0), | |
33 | fPad(0), | |
34 | fTime(0), | |
35 | fSignal(0) | |
36 | { | |
37 | // | |
38 | // default constructor | |
39 | // | |
40 | } | |
6d75e4b6 | 41 | //_____________________________________________________________________________ |
179c6296 | 42 | AliTPCdigit::AliTPCdigit(Int_t *tracks, Int_t *digits) |
43 | :AliDigit(tracks), | |
44 | fSector(0), | |
45 | fPadRow(0), | |
46 | fPad(0), | |
47 | fTime(0), | |
48 | fSignal(0) | |
6d75e4b6 | 49 | { |
50 | // | |
51 | // Creates a TPC digit object | |
52 | // | |
53 | fSector = digits[0]; | |
54 | fPadRow = digits[1]; | |
55 | fPad = digits[2]; | |
56 | fTime = digits[3]; | |
57 | fSignal = digits[4]; | |
58 | } | |
59 |