1 #ifndef ALITRDCLUSTERIZER_H
2 #define ALITRDCLUSTERIZER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
12 ///////////////////////////////////////////////////////
13 // Finds and handles cluster //
14 ///////////////////////////////////////////////////////
16 class AliTRDclusterizer : public TNamed {
21 AliTRDclusterizer(const Text_t* name, const Text_t* title);
22 AliTRDclusterizer(const AliTRDclusterizer &c);
23 virtual ~AliTRDclusterizer();
24 AliTRDclusterizer &operator=(const AliTRDclusterizer &c);
26 virtual void Copy(TObject &c);
27 virtual Bool_t Open(const Char_t *name, Int_t nEvent = 0);
28 virtual Bool_t Open(const Char_t *inname, const Char_t *outname, Int_t nEvent = 0);
29 virtual Bool_t OpenInput(const Char_t *name, Int_t nEvent = 0);
30 virtual Bool_t OpenOutput(const Char_t *name);
31 virtual Bool_t MakeClusters() = 0;
32 virtual Bool_t WriteClusters(Int_t det);
34 void SetVerbose(Int_t v = 1) { fVerbose = v; };
38 TFile *fInputFile; //! AliROOT input file
39 TFile *fOutputFile; //! AliROOT output file
40 TTree *fClusterTree; //! Tree with the cluster
41 AliTRD *fTRD; //! The TRD object
43 Int_t fEvent; //! Event number
44 Int_t fVerbose; // Sets the verbose level
46 ClassDef(AliTRDclusterizer,2) // TRD-Cluster manager base class