]>
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; | |
d137c50b | 21 | class AliTRDfeeParam; |
051a0e2d | 22 | |
23 | class AliTRDclusterizerHLT : public AliTRDclusterizer | |
24 | { | |
25 | public: | |
26 | ||
27 | AliTRDclusterizerHLT(); | |
28 | AliTRDclusterizerHLT(const Text_t* name, const Text_t* title); | |
29 | AliTRDclusterizerHLT(const AliTRDclusterizerHLT &c); | |
30 | virtual ~AliTRDclusterizerHLT(); | |
31 | AliTRDclusterizerHLT &operator=(const AliTRDclusterizerHLT &c); | |
32 | ||
33 | virtual void Copy(TObject &c) const; | |
34 | //virtual Bool_t MakeClusters(); | |
35 | virtual Bool_t ReadDigits(AliRawReaderMemory* rawReader); | |
d76bc02a | 36 | using AliTRDclusterizer::ReadDigits; |
051a0e2d | 37 | //virtual Bool_t TreeClusters(Int_t idet); |
38 | virtual Bool_t InitClusterTree(); | |
39 | virtual Bool_t InsertClusters(TObjArray *tobjarr, Int_t idet); | |
40 | virtual Int_t CountClusters(); | |
41 | virtual Int_t GetNclusters(); | |
42 | ||
43 | virtual Bool_t ResetTree(); | |
44 | ||
45 | TTree * GetClusterTree() {return fClusterTree;} | |
46 | virtual Bool_t IsTreeOwner() const {return fTreeCreatedHere;} | |
47 | ||
d137c50b | 48 | virtual void SetRawVersion(Int_t iver); |
49 | ||
051a0e2d | 50 | protected: |
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 | |
53 | ||
54 | Bool_t fTreeCreatedHere; //flag indicating that AliTRDclusterizerHLT has created the cluster tree | |
55 | ||
56 | private: | |
57 | ||
58 | Int_t fNclusters; //number of clusters found - updated by ::GetNclusters() | |
d137c50b | 59 | AliTRDrawData *fRawDataSource; //! pointer to the TRD raw data stream |
60 | AliTRDfeeParam *fFeeParams; //! fee parameters - this is singleton so watch out! with delete | |
051a0e2d | 61 | |
62 | ClassDef(AliTRDclusterizerHLT,1) // TRD-Cluster finder, slow simulator | |
63 | ||
64 | }; | |
65 | ||
66 | #endif |