]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/AliHLTTPCClusters.cxx
bugfix: corrected buffer size check
[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 {
42   // see header file for class documentation
43   // or
44   // refer to README to build package
45   // or
46   // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
47 }
48
49 AliHLTTPCClusters::AliHLTTPCClusters(const AliHLTTPCClusters& src)
50   :
51   AliHLTLogging(),
52   fTotalCharge(src.fTotalCharge),
53   fPad(src.fPad),
54   fTime(src.fTime),
55   fPad2(src.fPad2),
56   fTime2(src.fTime2),
57   fMean(src.fMean),
58   fFlags(src.fFlags),
59   fChargeFalling(src.fChargeFalling),
60   fLastCharge(src.fLastCharge),
61   fLastMergedPad(src.fLastMergedPad),
62   fRowNumber(src.fRowNumber),
63   fFirstPad(src.fFirstPad),
64   fLastPad(src.fLastPad)
65 {
66   // see header file for class documentation
67   //HLTInfo("Copy constructor called");
68 }
69
70 AliHLTTPCClusters& AliHLTTPCClusters::operator=(const AliHLTTPCClusters& src)
71 {
72   // see header file for class documentation
73   fTotalCharge=src.fTotalCharge;
74   fPad = src.fPad;
75   fTime = src.fTime;
76   fPad2 = src.fPad2;
77   fTime2 = src.fTime2;
78   fMean = src.fMean;
79   fFlags = src.fFlags;
80   fChargeFalling = src.fChargeFalling;
81   fLastCharge = src.fLastCharge;
82   fRowNumber= src.fRowNumber;
83   fLastMergedPad = src.fLastMergedPad;
84   fFirstPad = src.fFirstPad;
85   return (*this);
86 }