]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFReconstructor.h
Coverity 21238
[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 #include "AliTOFClusterFinder.h"
18 #include "AliTOFClusterFinderV1.h"
19
20 class TTree;
21
22 class AliESDEvent;
23 class AliRawReader;
24 class AliTOFcalib;
25
26 //class AliTOFT0maker;
27
28 class AliTOFReconstructor: public AliReconstructor {
29 public:
30   AliTOFReconstructor();
31   virtual ~AliTOFReconstructor();
32
33   virtual void         Reconstruct(AliRawReader* rawReader,
34                                    TTree* clusterTree) const;
35   virtual void         Reconstruct(TTree* digitsTree, TTree* clusterTree) const;
36
37   virtual void         ConvertDigits(AliRawReader* reader, TTree* digitsTree) const;
38
39   virtual AliTracker*  CreateTracker() const;
40
41   virtual void         FillESD(AliRawReader*, TTree*clustersTree, AliESDEvent* esd) const
42   {FillESD((TTree*)NULL,clustersTree,esd);}
43   virtual void         FillESD(TTree *, TTree *, AliESDEvent * /*esdEvent*/) const;
44
45   static const AliTOFRecoParam* GetRecoParam() { return dynamic_cast<const AliTOFRecoParam*>(AliReconstructor::GetRecoParam(3)); } // getting RecoParam obj
46
47   virtual void FillEventTimeWithTOF(AliESDEvent *event, AliESDpid *esdPID);
48
49 private:
50   AliTOFReconstructor(const AliTOFReconstructor &); //Not implemented
51   AliTOFReconstructor& operator=(const AliTOFReconstructor &); //Not implemented
52
53   AliTOFcalib    *fTOFcalib;    // pointer to TOF calib class
54   //AliTOFT0maker  *fTOFT0maker;  // pointer to TOF T0 maker class
55
56   Int_t fNumberOfTofClusters; // Number of TOF Clusters
57   Int_t fNumberOfTofTrgPads;  // Number of TOF trigger pads
58
59   AliTOFClusterFinder *fClusterFinder;
60   AliTOFClusterFinderV1 *fClusterFinderV1;
61
62   ClassDef(AliTOFReconstructor, 5)   // class for the TOF reconstruction
63 };
64
65 #endif