]>
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 | ||
88cb7938 | 16 | /* $Id$ */ |
cc80f89e | 17 | |
18 | /////////////////////////////////////////////////////////////////////////////// | |
19 | // // | |
20 | // AliDigitsArray object // | |
21 | // | |
22 | // Origin: Marian Ivanov , GSI Darmstadt | |
23 | // // | |
24 | // // | |
25 | /////////////////////////////////////////////////////////////////////////////// | |
26 | ||
27 | #include "TObject.h" | |
28 | #include "AliSegmentID.h" | |
29 | #include "TObjArray.h" | |
cc80f89e | 30 | |
31 | #include "TError.h" | |
32 | #include "AliDigits.h" | |
33 | #include "AliDetectorParam.h" | |
34 | #include "AliDigitsArray.h" | |
35 | ||
36 | ||
37 | ||
38 | ClassImp(AliDigitsArray) | |
39 | // | |
40 | ||
41 | AliDigitsArray::AliDigitsArray() | |
42 | { | |
43 | fParam = 0; | |
44 | } | |
45 | ||
46 | AliDigitsArray::~AliDigitsArray() | |
47 | { | |
afc42102 | 48 | // if (fParam != 0) delete fParam; |
cc80f89e | 49 | } |
50 | ||
51 | Bool_t AliDigitsArray::Setup(AliDetectorParam *param) | |
52 | { | |
53 | // | |
54 | //setup array according parameters | |
55 | SetParam(param); | |
56 | return kTRUE; | |
57 | } | |
58 | ||
59 | ||
60 | Bool_t AliDigitsArray::SetParam(AliDetectorParam * param) | |
61 | { | |
62 | fParam = param; | |
63 | return kTRUE; | |
64 | } |