TPC cluster finder speeded up, can process unsorted data (Kenneth); not yet enabled...
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCClusters.cxx
CommitLineData
01f43166 1#if __GNUC__>= 3
2using namespace std;
3#endif
4
5#include <cerrno>
6#include "AliHLTTPCPadArray.h"
7#include "AliHLTTPCPad.h"
8#include "AliHLTStdIncludes.h"
9#include "AliHLTTPCTransform.h"
10#include "AliTPCRawStream.h"
11#include "AliRawReaderMemory.h"
12#include "AliHLTTPCDigitReader.h"
13#include <vector>
14#include "AliHLTTPCClusters.h"
15/** ROOT macro for the implementation of ROOT specific class methods */
16//ClassImp(AliHLTTPCClusters)
17
18AliHLTTPCClusters::AliHLTTPCClusters()
19 :
20 fTotalCharge(0),
21 fPad(0),
22 fTime(0),
23 fPad2(0),
24 fTime2(0),
25 fMean(0),
26 fFlags(1),
27 fChargeFalling(0),
28 fLastCharge(0),
29 fLastMergedPad(0),
30 fFirstPad(0),
31 fLastPad(0),
32 fRowNumber(0)
33{
34
35}
36AliHLTTPCClusters::AliHLTTPCClusters(const AliHLTTPCClusters& src)
37 :
38 fTotalCharge(src.fTotalCharge),
39 fPad(src.fPad),
40 fTime(src.fTime),
41 fPad2(src.fPad2),
42 fTime2(src.fTime2),
43 fMean(src.fMean),
44 fFlags(src.fFlags),
45 fChargeFalling(src.fChargeFalling),
46 fLastCharge(src.fLastCharge),
47 fLastMergedPad(src.fLastMergedPad),
48 fFirstPad(src.fFirstPad),
49 fLastPad(src.fLastPad),
50 fRowNumber(src.fRowNumber)
51{
52 //HLTInfo("Copy constructor called");
53}
54AliHLTTPCClusters& AliHLTTPCClusters::operator=(const AliHLTTPCClusters& src){
55 fTotalCharge=src.fTotalCharge;
56 fPad = src.fPad;
57 fTime = src.fTime;
58 fPad2 = src.fPad2;
59 fTime2 = src.fTime2;
60 fMean = src.fMean;
61 fFlags = src.fFlags;
62 fChargeFalling = src.fChargeFalling;
63 fLastCharge = src.fLastCharge;
64 fLastMergedPad = src.fLastMergedPad;
65 fFirstPad = src.fFirstPad;
66 fRowNumber= src.fRowNumber;
67 return (*this);
68}