Line data Source code
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: AliTPCcluster.cxx,v 1.7 2007/03/15 17:24:53 matyja Exp $ */
17 :
18 : //-----------------------------------------------------------------
19 : // Implementation of the TPC cluster class
20 : //
21 : // Origin: Adam Matyja, INP PAN, adam.matyja@ifj.edu.pl
22 : //-----------------------------------------------------------------
23 :
24 : #include "AliPadMax.h"
25 : #include "AliTPCvtpr.h"
26 :
27 16 : ClassImp(AliPadMax)
28 : AliPadMax::AliPadMax()
29 0 : :AliTPCvtpr(),
30 0 : fBegin(0),
31 0 : fEnd(0),
32 0 : fSumAdc(0)
33 0 : {
34 : //
35 : // constructor
36 : //
37 0 : }
38 :
39 :
40 : AliPadMax::AliPadMax(AliTPCvtpr vtpr,
41 : Short_t beg,Short_t end,Short_t sum)
42 0 : :AliTPCvtpr(),
43 0 : fBegin(0),
44 0 : fEnd(0),
45 0 : fSumAdc(0)
46 0 : {
47 0 : fAdc = vtpr.GetAdc();
48 0 : fTime = vtpr.GetTime();
49 0 : fPad = vtpr.GetPad();
50 0 : fRow = vtpr.GetRow();
51 0 : fX = vtpr.GetX();
52 0 : fY = vtpr.GetY();
53 0 : fT = vtpr.GetT();
54 :
55 0 : fBegin=beg;
56 0 : fEnd=end;
57 0 : fSumAdc=sum;
58 0 : }
59 :
60 : AliPadMax::AliPadMax(Short_t max,Short_t nt,Short_t np,Short_t nr,
61 : Double_t x,Double_t y,Double_t t,
62 : Short_t beg,Short_t end,Short_t sum)
63 0 : :AliTPCvtpr(),
64 0 : fBegin(0),
65 0 : fEnd(0),
66 0 : fSumAdc(0)
67 0 : {
68 0 : fAdc = max;
69 0 : fTime = nt;
70 0 : fPad = np;
71 0 : fRow = nr;
72 0 : fX = x;
73 0 : fY = y;
74 0 : fT = t;
75 :
76 0 : fBegin=beg;
77 0 : fEnd=end;
78 0 : fSumAdc=sum;
79 0 : }
80 :
81 : AliPadMax::~AliPadMax()
82 0 : {
83 : //
84 : // destructor
85 : //
86 0 : }
|