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 */
6 ////////////////////////////////////////////////////////////////////////////
8 // HLT TRD cluster finder //
10 ////////////////////////////////////////////////////////////////////////////
12 #include "AliTRDclusterizer.h"
13 #include "AliHLTTRDCluster.h"
14 #include "AliHLTDataTypes.h"
16 class AliTRDReconstructor;
19 class AliHLTTRDClusterizer : public AliTRDclusterizer
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);
27 void Copy(TObject& c) const;
29 void SetMemBlock(AliHLTUInt8_t* ptr){fMemBlock=ptr;fNoOfClusters=0;}
30 AliHLTUInt8_t* GetMemBlock(){return fMemBlock;}
31 UInt_t GetAddedSize(){return fNoOfClusters*sizeof(AliHLTTRDCluster);}
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
40 void AddClusterToArray(AliTRDcluster *cluster);
42 AliHLTUInt8_t* fMemBlock;
44 ClassDef(AliHLTTRDClusterizer, 0)