#ifndef ALITRDCLUSTERIZERV1HLT_H #define ALITRDCLUSTERIZERV1HLT_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ //////////////////////////////////////////////////////////////////////////// // // // TRD cluster finder // // // //////////////////////////////////////////////////////////////////////////// #include "AliTRDclusterizerV1.h" /* class AliTRDdataArrayI; */ /* class AliTRDdataArrayF; */ /* class AliTRDdigitsManager; */ /* class AliRawReader; */ class AliRawReaderMemory; class AliTRDrawData; class AliTRDclusterizerV1HLT : public AliTRDclusterizerV1 { public: AliTRDclusterizerV1HLT(); AliTRDclusterizerV1HLT(const Text_t* name, const Text_t* title); AliTRDclusterizerV1HLT(const AliTRDclusterizerV1HLT &c); virtual ~AliTRDclusterizerV1HLT(); AliTRDclusterizerV1HLT &operator=(const AliTRDclusterizerV1HLT &c); virtual void Copy(TObject &c) const; //virtual Bool_t MakeClusters(); virtual Bool_t ReadDigits(AliRawReaderMemory* rawReader); //virtual Bool_t TreeClusters(Int_t idet); virtual Bool_t InitClusterTree(); virtual Bool_t InsertClusters(TObjArray *tobjarr, Int_t idet); virtual Int_t CountClusters(); virtual Int_t GetNclusters(); virtual Bool_t ResetTree(); TTree * GetClusterTree() {return fClusterTree;} virtual Bool_t IsTreeOwner() const {return fTreeCreatedHere;} virtual void SetRawDataVersion(Int_t ival) {fRawDataVersion = ival;} protected: virtual Bool_t ReadDigits() const {return kFALSE;} //this method not to be used on HLT virtual Bool_t ReadDigits(AliRawReader* rawReader) const {return kFALSE;} //this method not to be used on HLT Bool_t fTreeCreatedHere; //flag indicating that AliTRDclusterizerV1HLT has created the cluster tree private: Int_t fNclusters; //number of clusters found - updated by ::GetNclusters() Int_t fRawDataVersion; //version of the raw data format AliTRDrawData *fRawDataSource; //! pointer to the TRD raw data stream ClassDef(AliTRDclusterizerV1HLT,1) // TRD-Cluster finder, slow simulator }; #endif