]>
Commit | Line | Data |
---|---|---|
5e319bd5 | 1 | #ifndef ALIADRECONSTRUCTOR_H |
2 | #define ALIADRECONSTRUCTOR_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved.*/ | |
4 | /* See cxx source for full Copyright notice */ | |
5 | /* $Id: AliADReconstructor.h 20956 2007-09-26 14:22:18Z cvetan $ */ | |
6 | ||
7 | /////////////////////////////////////////////////////////////////////////// | |
8 | /// // | |
9 | /// class for AD reconstruction // | |
10 | /// // | |
11 | /////////////////////////////////////////////////////////////////////////// | |
12 | ||
13 | #include "AliReconstructor.h" | |
14 | #include "AliLog.h" | |
fcb6ff8b | 15 | #include "AliADConst.h" |
5e319bd5 | 16 | |
17 | class AliESDAD; | |
18 | class AliESDEvent; | |
fcb6ff8b | 19 | class AliADCalibData; |
5e319bd5 | 20 | |
21 | class AliADReconstructor: public AliReconstructor { | |
22 | public: | |
23 | AliADReconstructor(); | |
24 | virtual ~AliADReconstructor(); | |
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 | ||
fcb6ff8b | 42 | AliADCalibData *GetCalibData() const; |
5e319bd5 | 43 | |
44 | protected: | |
45 | ||
46 | AliESDAD* fESDAD; // AD ESD object | |
47 | ||
48 | private: | |
fcb6ff8b | 49 | AliADReconstructor(const AliADReconstructor &reconstructor); //Not implemented |
50 | AliADReconstructor& operator = (const AliADReconstructor &reconstructor); //Not implemented | |
5e319bd5 | 51 | |
fcb6ff8b | 52 | AliADCalibData* fCalibData; //! calibration data |
5e319bd5 | 53 | mutable TClonesArray *fDigitsArray; // clones-array for ConvertDigits() and FillESD() |
54 | ||
55 | ClassDef(AliADReconstructor, 1) // class for the AD reconstruction | |
56 | }; | |
57 | ||
58 | #endif |