]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSReconstructor.h
Merging THbtp and HBTP in one library. Comiplation on Windows/Cygwin
[u/mrichter/AliRoot.git] / ITS / AliITSReconstructor.h
1 #ifndef ALIITSRECONSTRUCTOR_H
2 #define ALIITSRECONSTRUCTOR_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 // class for ITS reconstruction                                              //
10 //                                                                           //
11 ///////////////////////////////////////////////////////////////////////////////
12
13 #include "AliReconstructor.h"
14 #include "AliITSRecoParam.h"
15
16 class AliITSgeom;
17 class AliTracker;
18 class AliITStrackerMI;
19 class AliITSpidESD;
20 class AliITSDetTypeRec;
21
22 class AliITSReconstructor: public AliReconstructor {
23 public:
24   AliITSReconstructor();
25   virtual ~AliITSReconstructor();
26   AliITSReconstructor(const AliITSReconstructor &ob); // copy constructor
27   AliITSReconstructor& operator=(const AliITSReconstructor & ob); // ass. op.
28   virtual void         Init();
29   
30   virtual void         Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const;
31   virtual void         Reconstruct(TTree* digitsTree, TTree* clustersTree) const;
32
33   virtual AliTracker*  CreateTracker() const;
34   virtual AliVertexer* CreateVertexer() const;
35
36   virtual void         FillESD(TTree* /*digitsTree*/, TTree* clustersTree, 
37                                AliESDEvent* esd) const; 
38   virtual void         FillESD(AliRawReader* /*rawReader*/, TTree* clustersTree, 
39                                AliESDEvent* esd) const
40   {FillESD((TTree*)NULL, clustersTree, esd);}
41
42   static void SetRecoParam(AliITSRecoParam * param){ fgRecoParam = param;}
43   static const AliITSRecoParam* GetRecoParam(){ return fgRecoParam;}
44   static const AliITSRecoParam* GetRecoParamDefault()
45                                 { return fgRecoParamDefault;}
46
47 private:
48   //data
49   static AliITSRecoParam *fgRecoParamDefault; // def. reco. parameters
50   static AliITSRecoParam *fgRecoParam; // reconstruction parameters
51   AliITSpidESD           *fItsPID;      // Pid for ITS
52   AliITSDetTypeRec       *fDetTypeRec;  // reconstructor
53
54   ClassDef(AliITSReconstructor, 4)   // class for the ITS reconstruction
55 };
56
57 #endif