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