]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliDigitsArray.cxx
Adding macro to create Pad response function for the GEM readout
[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
04420071 63 //
64 if (this == &param) return (*this);
179c6296 65 fParam = param.fParam;
66 return (*this);
67}
68//
cc80f89e 69AliDigitsArray::~AliDigitsArray()
70{
afc42102 71 // if (fParam != 0) delete fParam;
cc80f89e 72}
73
74Bool_t AliDigitsArray::Setup(AliDetectorParam *param)
75{
76 //
77 //setup array according parameters
78 SetParam(param);
79 return kTRUE;
80}
81
82
83Bool_t AliDigitsArray::SetParam(AliDetectorParam * param)
84{
85 fParam = param;
86 return kTRUE;
87}