]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDReconstructor.h
pedestal values subtracted
[u/mrichter/AliRoot.git] / TRD / AliTRDReconstructor.h
1 #ifndef ALITRDRECONSTRUCTOR_H
2 #define ALITRDRECONSTRUCTOR_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 ///////////////////////////////////////////////////////////////////////////////
9 //                                                                           //
10 // Class for TRD reconstruction                                              //
11 //                                                                           //
12 ///////////////////////////////////////////////////////////////////////////////
13
14 #include "AliReconstructor.h"
15
16 class AliRawReader;
17 class AliTRDrecoParam;
18 class AliTRDReconstructor: public AliReconstructor 
19 {
20
21  public:
22
23   AliTRDReconstructor():AliReconstructor()                              { };
24   AliTRDReconstructor(const AliTRDReconstructor &r):AliReconstructor(r) { };
25   virtual ~AliTRDReconstructor();
26   AliTRDReconstructor& operator = (const AliTRDReconstructor& /*r*/) 
27                                                                  { return *this;            };
28
29   virtual Bool_t           HasDigitConversion() const            { return kFALSE;           };
30   virtual void             ConvertDigits(AliRawReader *rawReader, TTree *digitsTree) const;
31
32   virtual void             Reconstruct(AliRawReader *rawReader, TTree *clusterTree) const;
33   virtual void             Reconstruct(TTree *digitsTree, TTree *clusterTree) const;
34   static  AliTRDrecoParam *RecoParam()                           { return fgRecoParam;      }
35   virtual AliTracker      *CreateTracker() const;
36
37   virtual void             FillESD(AliRawReader */*rawReader*/, TTree *clusterTree, AliESDEvent *esd) const
38                                                                  { FillESD((TTree * )NULL
39                                                                  , clusterTree
40                                                                  , esd);                    }
41   virtual void             FillESD(TTree *digitsTree, TTree *clusterTree, AliESDEvent *esd) const;
42
43   static  void             SetRecoParam(AliTRDrecoParam *reco)   { fgRecoParam   = reco;    }
44
45
46  private:
47
48   static  AliTRDrecoParam *fgRecoParam;   //  Reconstruction parameters
49
50   ClassDef(AliTRDReconstructor,0)         //  Class for the TRD reconstruction
51
52 };
53
54 #endif