]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliDigitsArray.cxx
Make OCDB Entry
[u/mrichter/AliRoot.git] / TPC / AliDigitsArray.cxx
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 //  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"
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                :AliSegmentArray(),
43                 fParam(0)
44 {
45   //
46   // default constructor
47   //
48 }
49 AliDigitsArray::AliDigitsArray(const AliDigitsArray &param)
50              :AliSegmentArray(),
51               fParam(0)
52 {
53   //
54   // dummy
55   //
56   fParam = param.fParam;
57 }
58 //
59 AliDigitsArray & AliDigitsArray::operator =(const AliDigitsArray & param)
60 {
61   //
62   // dummy
63   //
64  fParam = param.fParam;
65  return (*this);
66 }
67 //
68 AliDigitsArray::~AliDigitsArray()
69 {
70   // if (fParam != 0) delete fParam;
71 }  
72
73 Bool_t AliDigitsArray::Setup(AliDetectorParam *param)
74 {
75   //
76   //setup array according parameters
77   SetParam(param);
78   return kTRUE;
79 }
80
81
82 Bool_t AliDigitsArray::SetParam(AliDetectorParam * param)
83 {
84   fParam = param;
85   return kTRUE;
86 }