]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ACORDE/AliACORDEReconstructor.h
bug-fix and increase in the range of the axis for in cone mc pt sum 2D histos
[u/mrichter/AliRoot.git] / ACORDE / AliACORDEReconstructor.h
1 #ifndef ALIACORDERECONSTRUCTOR_H
2 #define ALIACORDERECONSTRUCTOR_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved.*/
4 /* See cxx source for full Copyright notice                              */
5 /* $Id: AliACORDEReconstructor.h 20956 2007-09-26 14:22:18Z cvetan $  */
6
7 ///////////////////////////////////////////////////////////////////////////
8 ///                                                                      //
9 /// class for ACORDE reconstruction                                       //
10 ///                                                                      //
11 ///////////////////////////////////////////////////////////////////////////
12
13 #include "AliReconstructor.h"
14 #include "AliLog.h"
15 #include "AliACORDERecoParam.h"
16
17 class AliACORDECalibData;
18 class AliESDACORDE;
19 class AliESDEvent;
20
21 class AliACORDEReconstructor: public AliReconstructor {
22 public:
23   AliACORDEReconstructor();
24   virtual ~AliACORDEReconstructor();
25   virtual void   Init();
26   
27   virtual void   Reconstruct(AliRawReader* /*rawReader*/, 
28                              TTree* /*clustersTree*/) const {
29     AliError("Method not implemented"); return;};
30   virtual void   Reconstruct(TTree*, TTree*) const {return;};
31   
32   virtual void   FillESD(TTree* digitsTree, TTree* /*clustersTree*/, 
33                          AliESDEvent* esd) const;
34
35   virtual void   FillESD(AliRawReader* /*rawReader*/, TTree* /*clustersTree*/, 
36                          AliESDEvent* /*esd*/) const { 
37     AliError("Method not implemented"); return;};
38   
39   virtual Bool_t HasDigitConversion() const { return kTRUE; }
40   virtual void ConvertDigits(AliRawReader* rawReader, TTree* digitsTree) const;
41
42   AliACORDECalibData *GetCalibData() const; 
43
44   AliACORDERecoParam *GetRecoParam() const;
45
46
47 protected:
48
49   AliESDACORDE*        fESDACORDE;      // ACORDE ESD object  
50   AliACORDERecoParam* fAcordeRecoParam; // Pointer to the ACORDE's RecoParam
51
52 private:
53   AliACORDEReconstructor(const AliACORDEReconstructor&); //Not implemented
54   AliACORDEReconstructor& operator = (const AliACORDEReconstructor&); //Not implemented
55   
56   AliACORDECalibData* fCalibData;      //! calibration data
57
58   mutable TClonesArray *fDigitsArray;  // clones-array for ConvertDigits() and FillESD()
59
60   ClassDef(AliACORDEReconstructor, 1)  // class for the ACORDE reconstruction
61 };
62
63 #endif