]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFReconstructor.h
added the possibility to manage the trigger time window
[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 //class AliTOFT0maker;
24
25 class AliTOFReconstructor: public AliReconstructor {
26 public:
27   AliTOFReconstructor();
28   virtual ~AliTOFReconstructor();
29
30   virtual void         Reconstruct(AliRawReader* rawReader,
31                                    TTree* clusterTree) const;
32   virtual void         Reconstruct(TTree* digitsTree, TTree* clusterTree) const;
33
34   virtual void         ConvertDigits(AliRawReader* reader, TTree* digitsTree) const;
35
36   virtual AliTracker*  CreateTracker() const;
37
38   virtual void         FillESD(AliRawReader*, TTree*clustersTree, AliESDEvent* esd) const
39   {FillESD((TTree*)NULL,clustersTree,esd);}
40   virtual void         FillESD(TTree *, TTree *, AliESDEvent * /*esdEvent*/) const;
41
42   static const AliTOFRecoParam* GetRecoParam() { return dynamic_cast<const AliTOFRecoParam*>(AliReconstructor::GetRecoParam(3)); } // getting RecoParam obj
43
44   virtual void FillEventTimeWithTOF(AliESDEvent *event, AliESDpid *esdPID);
45
46 private:
47   AliTOFReconstructor(const AliTOFReconstructor &); //Not implemented
48   AliTOFReconstructor& operator=(const AliTOFReconstructor &); //Not implemented
49
50   AliTOFcalib    *fTOFcalib;    // pointer to TOF calib class
51   //AliTOFT0maker  *fTOFT0maker;  // pointer to TOF T0 maker class
52
53   ClassDef(AliTOFReconstructor, 3)   // class for the TOF reconstruction
54 };
55
56 #endif