1 #ifndef ALITRDCLUSTERIZERHLT_H
2 #define ALITRDCLUSTERIZERHLT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 ////////////////////////////////////////////////////////////////////////////
8 // TRD cluster finder //
10 ////////////////////////////////////////////////////////////////////////////
12 #include "AliTRDclusterizer.h"
14 /* class AliTRDdataArrayI; */
15 /* class AliTRDdataArrayF; */
16 /* class AliTRDdigitsManager; */
19 class AliRawReaderMemory;
23 class AliTRDclusterizerHLT : public AliTRDclusterizer
27 AliTRDclusterizerHLT();
28 AliTRDclusterizerHLT(const Text_t* name, const Text_t* title, AliTRDReconstructor* reconstructor);
29 AliTRDclusterizerHLT(const AliTRDclusterizerHLT &c);
30 virtual ~AliTRDclusterizerHLT();
31 AliTRDclusterizerHLT &operator=(const AliTRDclusterizerHLT &c);
33 virtual void Copy(TObject &c) const;
34 //virtual Bool_t MakeClusters();
35 virtual Bool_t ReadDigits(AliRawReaderMemory* rawReader);
36 using AliTRDclusterizer::ReadDigits;
37 //virtual Bool_t TreeClusters(Int_t idet);
38 virtual Bool_t InitClusterTree();
39 virtual Bool_t InsertClusters(TClonesArray *tobjarr, Int_t idet);
40 virtual Int_t CountClusters();
41 virtual Int_t GetNclusters();
43 virtual Bool_t ResetTree();
45 TTree * GetClusterTree() {return fClusterTree;}
46 virtual Bool_t IsTreeOwner() const {return fTreeCreatedHere;}
48 virtual void SetRawVersion(Int_t iver);
51 virtual Bool_t ReadDigits() const {return kFALSE;} //this method not to be used on HLT
52 virtual Bool_t ReadDigits(AliRawReader* rawReader) const {if (!rawReader); return kFALSE;} //this method not to be used on HLT
54 Bool_t fTreeCreatedHere; //flag indicating that AliTRDclusterizerHLT has created the cluster tree
58 Int_t fNclusters; //number of clusters found - updated by ::GetNclusters()
59 AliTRDrawData *fRawDataSource; //! pointer to the TRD raw data stream
60 AliTRDfeeParam *fFeeParams; //! fee parameters - this is singleton so watch out! with delete
62 ClassDef(AliTRDclusterizerHLT,1) // TRD-Cluster finder, slow simulator