Classes moved to STEERBase.
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterizer.h
CommitLineData
8230f242 1#ifndef ALITRDCLUSTERIZER_H
2#define ALITRDCLUSTERIZER_H
f7336fa3 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
6d50f529 8////////////////////////////////////////////////////////////////////////////
9// //
10// TRD cluster finder base class //
11// //
12////////////////////////////////////////////////////////////////////////////
13
f7336fa3 14#include <TNamed.h>
793ff80c 15
16class TFile;
bdbb05bb 17class TTree;
6d50f529 18class TObjArray;
19
88cb7938 20class AliRunLoader;
6d50f529 21
bdbb05bb 22class AliTRD;
c85a4951 23class AliTRDcluster;
f7336fa3 24
25class AliTRDclusterizer : public TNamed {
26
27 public:
28
29 AliTRDclusterizer();
30 AliTRDclusterizer(const Text_t* name, const Text_t* title);
dd9a6ee3 31 AliTRDclusterizer(const AliTRDclusterizer &c);
6d50f529 32 virtual ~AliTRDclusterizer();
dd9a6ee3 33 AliTRDclusterizer &operator=(const AliTRDclusterizer &c);
34
6d50f529 35 virtual void Copy(TObject &c) const;
36 virtual Bool_t Open(const Char_t *name, Int_t nEvent = 0);
37 virtual Bool_t OpenInput(Int_t nEvent = 0);
38 virtual Bool_t OpenOutput();
25ca55ce 39 virtual Bool_t OpenOutput(TTree *clusterTree);
6d50f529 40 virtual Bool_t MakeClusters() = 0;
41 virtual Bool_t WriteClusters(Int_t det);
42 void ResetRecPoints();
34eaaa7e 43 TObjArray *RecPoints();
bdbb05bb 44
f7336fa3 45 protected:
46
6d50f529 47 Double_t CalcXposFromTimebin(Float_t timebin, Int_t idet, Int_t col, Int_t row);
3551db50 48
6d50f529 49 AliRunLoader *fRunLoader; //! Run Loader
50 TTree *fClusterTree; //! Tree with the cluster
51 TObjArray *fRecPoints; //! Array of clusters
f7336fa3 52
6d50f529 53 ClassDef(AliTRDclusterizer,4) // TRD-Cluster manager base class
f7336fa3 54
55};
56
f7336fa3 57#endif