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