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