]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/AliHLTTPCClusters.cxx
TPC KrCF and Cluster property plotting (Kenneth & Gaute)
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCClusters.cxx
1 #if __GNUC__>= 3
2 using namespace std;
3 #endif
4
5 // see header file for class documentation
6 // or
7 // refer to README to build package
8 // or
9 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
10
11 //#include <cerrno>
12 //#include "AliHLTTPCPadArray.h"
13 //#include "AliHLTTPCPad.h"
14 //#include "AliHLTStdIncludes.h"
15 //#include "AliHLTTPCTransform.h"
16 //#include "AliTPCRawStream.h"
17 //#include "AliRawReaderMemory.h"
18 //#include "AliHLTTPCDigitReader.h"
19 //#include <vector>
20 #include "AliHLTTPCClusters.h"
21
22 /** ROOT macro for the implementation of ROOT specific class methods */
23 //ClassImp(AliHLTTPCClusters)
24
25 AliHLTTPCClusters::AliHLTTPCClusters()
26   :
27   AliHLTLogging(),
28   fTotalCharge(0),
29   fPad(0),
30   fTime(0),
31   fPad2(0),
32   fTime2(0),
33   fMean(0),
34   fFlags(1),
35   fChargeFalling(0),
36   fLastCharge(0),
37   fLastMergedPad(0),
38   fRowNumber(0),
39   fFirstPad(0),
40   fLastPad(0),
41   fQMax(0)
42 {
43   // see header file for class documentation
44   // or
45   // refer to README to build package
46   // or
47   // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
48 }
49
50 AliHLTTPCClusters::AliHLTTPCClusters(const AliHLTTPCClusters& src)
51   :
52   AliHLTLogging(),
53   fTotalCharge(src.fTotalCharge),
54   fPad(src.fPad),
55   fTime(src.fTime),
56   fPad2(src.fPad2),
57   fTime2(src.fTime2),
58   fMean(src.fMean),
59   fFlags(src.fFlags),
60   fChargeFalling(src.fChargeFalling),
61   fLastCharge(src.fLastCharge),
62   fLastMergedPad(src.fLastMergedPad),
63   fRowNumber(src.fRowNumber),
64   fFirstPad(src.fFirstPad),
65   fLastPad(src.fLastPad),
66   fQMax(src.fQMax)
67 {
68   // see header file for class documentation
69   //HLTInfo("Copy constructor called");
70 }
71
72 AliHLTTPCClusters& AliHLTTPCClusters::operator=(const AliHLTTPCClusters& src)
73 {
74   // see header file for class documentation
75   fTotalCharge=src.fTotalCharge;
76   fPad = src.fPad;
77   fTime = src.fTime;
78   fPad2 = src.fPad2;
79   fTime2 = src.fTime2;
80   fMean = src.fMean;
81   fFlags = src.fFlags;
82   fChargeFalling = src.fChargeFalling;
83   fLastCharge = src.fLastCharge;
84   fRowNumber= src.fRowNumber;
85   fLastMergedPad = src.fLastMergedPad;
86   fFirstPad = src.fFirstPad;
87   fQMax = src.fQMax;
88   return (*this);
89 }