coding conventions and compilation warnings
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCClusters.cxx
CommitLineData
01f43166 1#if __GNUC__>= 3
2using namespace std;
3#endif
4
a1dbf058 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>
01f43166 20#include "AliHLTTPCClusters.h"
a1dbf058 21
01f43166 22/** ROOT macro for the implementation of ROOT specific class methods */
23//ClassImp(AliHLTTPCClusters)
24
25AliHLTTPCClusters::AliHLTTPCClusters()
26 :
27 fTotalCharge(0),
28 fPad(0),
29 fTime(0),
30 fPad2(0),
31 fTime2(0),
32 fMean(0),
33 fFlags(1),
34 fChargeFalling(0),
35 fLastCharge(0),
36 fLastMergedPad(0),
a1dbf058 37 fRowNumber(0),
01f43166 38 fFirstPad(0),
a1dbf058 39 fLastPad(0)
01f43166 40{
a1dbf058 41 // see header file for class documentation
42 // or
43 // refer to README to build package
44 // or
45 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
01f43166 46}
a1dbf058 47
01f43166 48AliHLTTPCClusters::AliHLTTPCClusters(const AliHLTTPCClusters& src)
49 :
50 fTotalCharge(src.fTotalCharge),
51 fPad(src.fPad),
52 fTime(src.fTime),
53 fPad2(src.fPad2),
54 fTime2(src.fTime2),
55 fMean(src.fMean),
56 fFlags(src.fFlags),
57 fChargeFalling(src.fChargeFalling),
58 fLastCharge(src.fLastCharge),
59 fLastMergedPad(src.fLastMergedPad),
a1dbf058 60 fRowNumber(src.fRowNumber),
01f43166 61 fFirstPad(src.fFirstPad),
a1dbf058 62 fLastPad(src.fLastPad)
01f43166 63{
a1dbf058 64 // see header file for class documentation
01f43166 65 //HLTInfo("Copy constructor called");
66}
a1dbf058 67
68AliHLTTPCClusters& AliHLTTPCClusters::operator=(const AliHLTTPCClusters& src)
69{
70 // see header file for class documentation
01f43166 71 fTotalCharge=src.fTotalCharge;
72 fPad = src.fPad;
73 fTime = src.fTime;
74 fPad2 = src.fPad2;
75 fTime2 = src.fTime2;
76 fMean = src.fMean;
77 fFlags = src.fFlags;
78 fChargeFalling = src.fChargeFalling;
79 fLastCharge = src.fLastCharge;
a1dbf058 80 fRowNumber= src.fRowNumber;
01f43166 81 fLastMergedPad = src.fLastMergedPad;
82 fFirstPad = src.fFirstPad;
01f43166 83 return (*this);
84}