]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TRD/AliHLTTRDClusterizer.h
updated cluster histo component for ITS (Gaute)
[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
18ada816 27 void Copy(TObject& c) const;
dc2e6604 28 void SetMemBlock(AliHLTUInt8_t* ptr){fMemBlock=ptr;fNoOfClusters=0;}
29 AliHLTUInt8_t* GetMemBlock(){return fMemBlock;}
30 UInt_t GetAddedSize(){return fNoOfClusters*sizeof(AliHLTTRDCluster);}
31
32 protected:
dc2e6604 33 void AddClusterToArray(AliTRDcluster *cluster);
18ada816 34
35 TClonesArray* RecPoints(){return 0x0;} //these are functions in the parents class. must not be used in hlt!
36 void SetClustersOwner(Bool_t /*own*/){} //if used accidentally it may give an compilation error because are protected,
37 //but the error can also appear in run time
dc2e6604 38
39 AliHLTUInt8_t* fMemBlock;
40
41 ClassDef(AliHLTTRDClusterizer, 0)
42};
43
44#endif