]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliDigitsArray.cxx
First version of a class to correct for 3D Space Charges
[u/mrichter/AliRoot.git] / TPC / 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
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
38ClassImp(AliDigitsArray)
39//
40
41AliDigitsArray::AliDigitsArray()
179c6296 42 :AliSegmentArray(),
43 fParam(0)
cc80f89e 44{
179c6296 45 //
46 // default constructor
47 //
cc80f89e 48}
179c6296 49AliDigitsArray::AliDigitsArray(const AliDigitsArray &param)
50 :AliSegmentArray(),
51 fParam(0)
52{
53 //
54 // dummy
55 //
56 fParam = param.fParam;
57}
58//
59AliDigitsArray & AliDigitsArray::operator =(const AliDigitsArray & param)
60{
61 //
62 // dummy
63 //
64 fParam = param.fParam;
65 return (*this);
66}
67//
cc80f89e 68AliDigitsArray::~AliDigitsArray()
69{
afc42102 70 // if (fParam != 0) delete fParam;
cc80f89e 71}
72
73Bool_t AliDigitsArray::Setup(AliDetectorParam *param)
74{
75 //
76 //setup array according parameters
77 SetParam(param);
78 return kTRUE;
79}
80
81
82Bool_t AliDigitsArray::SetParam(AliDetectorParam * param)
83{
84 fParam = param;
85 return kTRUE;
86}