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