]>
Commit | Line | Data |
---|---|---|
051a0e2d | 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 */ | |
5 | ||
6 | //////////////////////////////////////////////////////////////////////////// | |
7 | // // | |
8 | // TRD cluster finder // | |
9 | // // | |
10 | //////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #include "AliTRDclusterizer.h" | |
13 | ||
14 | /* class AliTRDdataArrayI; */ | |
15 | /* class AliTRDdataArrayF; */ | |
16 | /* class AliTRDdigitsManager; */ | |
051a0e2d | 17 | |
a1b2201f | 18 | class AliRawReader; |
051a0e2d | 19 | class AliRawReaderMemory; |
20 | class AliTRDrawData; | |
21 | ||
22 | class AliTRDclusterizerHLT : public AliTRDclusterizer | |
23 | { | |
24 | public: | |
25 | ||
26 | AliTRDclusterizerHLT(); | |
27 | AliTRDclusterizerHLT(const Text_t* name, const Text_t* title); | |
28 | AliTRDclusterizerHLT(const AliTRDclusterizerHLT &c); | |
29 | virtual ~AliTRDclusterizerHLT(); | |
30 | AliTRDclusterizerHLT &operator=(const AliTRDclusterizerHLT &c); | |
31 | ||
32 | virtual void Copy(TObject &c) const; | |
33 | //virtual Bool_t MakeClusters(); | |
34 | virtual Bool_t ReadDigits(AliRawReaderMemory* rawReader); | |
d76bc02a | 35 | using AliTRDclusterizer::ReadDigits; |
051a0e2d | 36 | //virtual Bool_t TreeClusters(Int_t idet); |
37 | virtual Bool_t InitClusterTree(); | |
38 | virtual Bool_t InsertClusters(TObjArray *tobjarr, Int_t idet); | |
39 | virtual Int_t CountClusters(); | |
40 | virtual Int_t GetNclusters(); | |
41 | ||
42 | virtual Bool_t ResetTree(); | |
43 | ||
44 | TTree * GetClusterTree() {return fClusterTree;} | |
45 | virtual Bool_t IsTreeOwner() const {return fTreeCreatedHere;} | |
46 | ||
47 | protected: | |
48 | virtual Bool_t ReadDigits() const {return kFALSE;} //this method not to be used on HLT | |
49 | virtual Bool_t ReadDigits(AliRawReader* rawReader) const {if (!rawReader); return kFALSE;} //this method not to be used on HLT | |
50 | ||
51 | Bool_t fTreeCreatedHere; //flag indicating that AliTRDclusterizerHLT has created the cluster tree | |
52 | ||
53 | private: | |
54 | ||
55 | Int_t fNclusters; //number of clusters found - updated by ::GetNclusters() | |
56 | AliTRDrawData *fRawDataSource; //! pointer to the TRD raw data stream | |
57 | ||
58 | ClassDef(AliTRDclusterizerHLT,1) // TRD-Cluster finder, slow simulator | |
59 | ||
60 | }; | |
61 | ||
62 | #endif |