]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/TPCbase/AliDigitsArray.cxx
doxy: TPC/TPCbase converted
[u/mrichter/AliRoot.git] / TPC / TPCbase / 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 /// \class AliDigitsArray
17 /// \author Marian Ivanov , GSI Darmstadt
18
19 #include "TObject.h"
20 #include "AliSegmentID.h"
21 #include "TObjArray.h"
22
23 #include "TError.h"
24 #include "AliDigits.h"
25 #include "AliDetectorParam.h"
26 #include "AliDigitsArray.h"
27
28
29
30 /// \cond CLASSIMP
31 ClassImp(AliDigitsArray)
32 /// \endcond
33
34 AliDigitsArray::AliDigitsArray()
35                :AliSegmentArray(),
36                 fParam(0)
37 {
38   /// default constructor
39 }
40 AliDigitsArray::AliDigitsArray(const AliDigitsArray &param)
41              :AliSegmentArray(),
42               fParam(0)
43 {
44   /// dummy
45
46   fParam = param.fParam;
47 }
48 //
49 AliDigitsArray & AliDigitsArray::operator =(const AliDigitsArray & param)
50 {
51   /// dummy
52
53  if (this == &param) return (*this); 
54  fParam = param.fParam;
55  return (*this);
56 }
57 //
58 AliDigitsArray::~AliDigitsArray()
59 {
60   /// if (fParam != 0) delete fParam;
61
62 }  
63
64 Bool_t AliDigitsArray::Setup(AliDetectorParam *param)
65 {
66   /// setup array according parameters
67
68   SetParam(param);
69   return kTRUE;
70 }
71
72
73 Bool_t AliDigitsArray::SetParam(AliDetectorParam * param)
74 {
75   fParam = param;
76   return kTRUE;
77 }