]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFReconstructor.h
Compilation warnings
[u/mrichter/AliRoot.git] / TOF / AliTOFReconstructor.h
1 #ifndef ALITOFRECONSTRUCTOR_H
2 #define ALITOFRECONSTRUCTOR_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id$ */
8
9 ///////////////////////////////////////////////////////////////////////////////
10 //                                                                           //
11 // class for TOF reconstruction                                              //
12 //                                                                           //
13 ///////////////////////////////////////////////////////////////////////////////
14
15 #include "AliReconstructor.h"
16 #include "AliTOFRecoParam.h"
17
18 class TTree;
19
20 class AliESDEvent;
21 class AliRawReader;
22 class AliTOFcalib;
23
24 class AliTOFReconstructor: public AliReconstructor {
25 public:
26   AliTOFReconstructor();
27   AliTOFReconstructor(const AliTOFReconstructor &source); // copy constructor
28   AliTOFReconstructor& operator=(const AliTOFReconstructor &source); // ass. op.
29   virtual ~AliTOFReconstructor();
30
31   virtual void         Reconstruct(AliRawReader* rawReader,
32                                    TTree* clusterTree) const;
33   virtual void         Reconstruct(TTree* digitsTree, TTree* clusterTree) const;
34
35   virtual void         ConvertDigits(AliRawReader* reader, TTree* digitsTree) const;
36
37   virtual AliTracker*  CreateTracker() const;
38
39   virtual void         FillESD(AliRawReader*, TTree*clustersTree, AliESDEvent*esd) const
40   {FillESD((TTree*)NULL,clustersTree,esd);}
41   virtual void         FillESD(TTree*, TTree*, AliESDEvent*) const {}
42
43   static const AliTOFRecoParam* GetRecoParam() { return dynamic_cast<const AliTOFRecoParam*>(AliReconstructor::GetRecoParam(3)); } // getting RecoParam obj
44
45 private:
46   AliTOFcalib    *fTOFcalib;    // pointer to TOF calib class
47
48   ClassDef(AliTOFReconstructor, 3)   // class for the TOF reconstruction
49 };
50
51 #endif