]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliPadMax.cxx
15 minutes interval for calculation of drift correction
[u/mrichter/AliRoot.git] / TPC / AliPadMax.cxx
CommitLineData
9a1e27fe 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
27ClassImp(AliPadMax)
28AliPadMax::AliPadMax()
29:AliTPCvtpr(),
30 fBegin(0),
31 fEnd(0),
32 fSumAdc(0)
33{
34//
35// constructor
36//
37}
38
39
40AliPadMax::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();
b67657b5 50 fRow = vtpr.GetRow();
51 fX = vtpr.GetX();
52 fY = vtpr.GetY();
53 fT = vtpr.GetT();
9a1e27fe 54
55 fBegin=beg;
56 fEnd=end;
57 fSumAdc=sum;
58}
59
60AliPadMax::AliPadMax(Short_t max,Short_t nt,Short_t np,Short_t nr,
b67657b5 61 Double_t x,Double_t y,Double_t t,
9a1e27fe 62 Short_t beg,Short_t end,Short_t sum)
63:AliTPCvtpr(),
64 fBegin(0),
65 fEnd(0),
66 fSumAdc(0)
67{
68 fAdc = max;
69 fTime = nt;
70 fPad = np;
b67657b5 71 fRow = nr;
72 fX = x;
73 fY = y;
74 fT = t;
9a1e27fe 75
76 fBegin=beg;
77 fEnd=end;
78 fSumAdc=sum;
79}
80
81AliPadMax::~AliPadMax()
82{
83 //
84 // destructor
85 //
86}