]>
Commit | Line | Data |
---|---|---|
cc80f89e | 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$ | |
8052ac70 | 18 | Revision 1.2 2000/04/17 09:37:33 kowal2 |
19 | removed obsolete AliTPCDigitsDisplay.C | |
20 | ||
cc80f89e | 21 | Revision 1.1.4.2 2000/04/10 11:37:42 kowal2 |
22 | ||
23 | Digits handling in a new data structure | |
24 | ||
25 | */ | |
26 | ||
27 | /////////////////////////////////////////////////////////////////////////////// | |
28 | // // | |
29 | // AliDigitsArray object // | |
30 | // | |
31 | // Origin: Marian Ivanov , GSI Darmstadt | |
32 | // // | |
33 | // // | |
34 | /////////////////////////////////////////////////////////////////////////////// | |
35 | ||
36 | #include "TObject.h" | |
37 | #include "AliSegmentID.h" | |
38 | #include "TObjArray.h" | |
cc80f89e | 39 | |
40 | #include "TError.h" | |
41 | #include "AliDigits.h" | |
42 | #include "AliDetectorParam.h" | |
43 | #include "AliDigitsArray.h" | |
44 | ||
45 | ||
46 | ||
47 | ClassImp(AliDigitsArray) | |
48 | // | |
49 | ||
50 | AliDigitsArray::AliDigitsArray() | |
51 | { | |
52 | fParam = 0; | |
53 | } | |
54 | ||
55 | AliDigitsArray::~AliDigitsArray() | |
56 | { | |
57 | if (fParam != 0) delete fParam; | |
58 | } | |
59 | ||
60 | Bool_t AliDigitsArray::Setup(AliDetectorParam *param) | |
61 | { | |
62 | // | |
63 | //setup array according parameters | |
64 | SetParam(param); | |
65 | return kTRUE; | |
66 | } | |
67 | ||
68 | ||
69 | Bool_t AliDigitsArray::SetParam(AliDetectorParam * param) | |
70 | { | |
71 | fParam = param; | |
72 | return kTRUE; | |
73 | } |