1 #ifndef ALITRDCLUSTERIZERV1HLT_H
2 #define ALITRDCLUSTERIZERV1HLT_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 "AliTRDclusterizerV1.h"
14 /* class AliTRDdataArrayI; */
15 /* class AliTRDdataArrayF; */
16 /* class AliTRDdigitsManager; */
17 /* class AliRawReader; */
19 class AliRawReaderMemory;
22 class AliTRDclusterizerV1HLT : public AliTRDclusterizerV1
26 AliTRDclusterizerV1HLT();
27 AliTRDclusterizerV1HLT(const Text_t* name, const Text_t* title);
28 AliTRDclusterizerV1HLT(const AliTRDclusterizerV1HLT &c);
29 virtual ~AliTRDclusterizerV1HLT();
30 AliTRDclusterizerV1HLT &operator=(const AliTRDclusterizerV1HLT &c);
32 virtual void Copy(TObject &c) const;
33 //virtual Bool_t MakeClusters();
34 virtual Bool_t ReadDigits(AliRawReaderMemory* rawReader);
35 //virtual Bool_t TreeClusters(Int_t idet);
36 virtual Bool_t InitClusterTree();
37 virtual Bool_t InsertClusters(TObjArray *tobjarr, Int_t idet);
38 virtual Int_t CountClusters();
39 virtual Int_t GetNclusters();
41 virtual Bool_t ResetTree();
43 TTree * GetClusterTree() {return fClusterTree;}
44 virtual Bool_t IsTreeOwner() const {return fTreeCreatedHere;}
45 virtual void SetRawDataVersion(Int_t ival) {fRawDataVersion = ival;}
48 virtual Bool_t ReadDigits() const {return kFALSE;} //this method not to be used on HLT
49 virtual Bool_t ReadDigits(AliRawReader* rawReader) const {return kFALSE;} //this method not to be used on HLT
51 Bool_t fTreeCreatedHere; //flag indicating that AliTRDclusterizerV1HLT has created the cluster tree
55 Int_t fNclusters; //number of clusters found - updated by ::GetNclusters()
56 Int_t fRawDataVersion; //version of the raw data format
57 AliTRDrawData *fRawDataSource; //! pointer to the TRD raw data stream
59 ClassDef(AliTRDclusterizerV1HLT,1) // TRD-Cluster finder, slow simulator