HLT TRD update by Konstantin
[u/mrichter/AliRoot.git] / HLT / TRD / AliHLTTRDClusterizer.h
CommitLineData
dc2e6604 1#ifndef ALIHLTTRDCLUSTERIZER_H
2#define ALIHLTTRDCLUSTERIZER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6////////////////////////////////////////////////////////////////////////////
7// //
8// HLT TRD cluster finder //
9// //
10////////////////////////////////////////////////////////////////////////////
11
12#include "AliTRDclusterizer.h"
13#include "AliHLTTRDCluster.h"
14#include "AliHLTDataTypes.h"
15
16class AliTRDReconstructor;
17class TClonesArray;
18
19class AliHLTTRDClusterizer : public AliTRDclusterizer
20{
21 public:
22 AliHLTTRDClusterizer(const AliTRDReconstructor *const rec = 0x0);
23 AliHLTTRDClusterizer(const Text_t *const name, const Text_t *const title, const AliTRDReconstructor *const rec = 0x0);
24 AliHLTTRDClusterizer(const AliHLTTRDClusterizer& c);
25 AliHLTTRDClusterizer& operator=(const AliHLTTRDClusterizer& c);
26
27 void Copy(TObject& c) const;
28
29 void SetMemBlock(AliHLTUInt8_t* ptr){fMemBlock=ptr;fNoOfClusters=0;}
30 AliHLTUInt8_t* GetMemBlock(){return fMemBlock;}
31 UInt_t GetAddedSize(){return fNoOfClusters*sizeof(AliHLTTRDCluster);}
32
33 protected:
34 TClonesArray* RecPoints(){return 0x0;} //these are functions in the parents class. must not be used in hlt!
35 void SetClustersOwner(Bool_t own){ //if used accidentally it may give an compilation error because are protected,
36 if(own){ /*get rid of warning*/} //but the error can also appear in run time
37 }
38
39
40 void AddClusterToArray(AliTRDcluster *cluster);
41
42 AliHLTUInt8_t* fMemBlock;
43
44 ClassDef(AliHLTTRDClusterizer, 0)
45};
46
47#endif