]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliPadMax.cxx
Adding new type of jobs (Marian)
[u/mrichter/AliRoot.git] / TPC / AliPadMax.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 /* $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 ClassImp(AliPadMax)
28 AliPadMax::AliPadMax()
29 :AliTPCvtpr(),
30   fBegin(0),
31   fEnd(0),
32   fSumAdc(0)
33 {
34 //
35 // constructor
36 //
37 }
38
39
40 AliPadMax::AliPadMax(AliTPCvtpr vtpr,
41                      Short_t beg,Short_t end,Short_t sum)
42 :AliTPCvtpr(),
43   fBegin(0),
44   fEnd(0),
45   fSumAdc(0)
46 {
47   fAdc  =  vtpr.GetAdc();
48   fTime =  vtpr.GetTime();
49   fPad  =  vtpr.GetPad();
50   fRow  =  vtpr.GetRow();           
51
52   fBegin=beg;
53   fEnd=end;
54   fSumAdc=sum;
55 }
56
57 AliPadMax::AliPadMax(Short_t max,Short_t nt,Short_t np,Short_t nr,
58                      Short_t beg,Short_t end,Short_t sum)
59 :AliTPCvtpr(),
60   fBegin(0),
61   fEnd(0),
62   fSumAdc(0)
63 {
64   fAdc  =  max;
65   fTime =  nt;
66   fPad  =  np;
67   fRow  =  nr;           
68
69   fBegin=beg;
70   fEnd=end;
71   fSumAdc=sum;
72 }
73
74 AliPadMax::~AliPadMax()
75 {
76   //
77   // destructor
78   //
79 }