]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIVZERORECONSTRUCTOR_H | |
2 | #define ALIVZERORECONSTRUCTOR_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved.*/ | |
4 | /* See cxx source for full Copyright notice */ | |
5 | /* $Id$ */ | |
6 | ||
7 | /////////////////////////////////////////////////////////////////////////// | |
8 | /// // | |
9 | /// class for VZERO reconstruction // | |
10 | /// // | |
11 | /////////////////////////////////////////////////////////////////////////// | |
12 | ||
13 | #include "AliReconstructor.h" | |
14 | #include "AliCDBManager.h" | |
15 | #include "AliCDBStorage.h" | |
16 | #include "AliCDBEntry.h" | |
17 | ||
18 | #include "AliVZEROCalibData.h" | |
19 | #include "AliLog.h" | |
20 | #include "AliESDVZERO.h" | |
21 | ||
22 | class AliESDEvent; | |
23 | ||
24 | class AliVZEROReconstructor: public AliReconstructor { | |
25 | public: | |
26 | AliVZEROReconstructor(); | |
27 | virtual ~AliVZEROReconstructor(); | |
28 | virtual void Init(); | |
29 | ||
30 | virtual void Reconstruct(AliRawReader* /*rawReader*/, | |
31 | TTree* /*clustersTree*/) const { | |
32 | AliError("Method not implemented"); return;}; | |
33 | virtual void Reconstruct(TTree*, TTree*) const {return;}; | |
34 | ||
35 | virtual void FillESD(TTree* digitsTree, TTree* /*clustersTree*/, | |
36 | AliESDEvent* esd) const; | |
37 | ||
38 | virtual void FillESD(AliRawReader* /*rawReader*/, TTree* /*clustersTree*/, | |
39 | AliESDEvent* /*esd*/) const { | |
40 | AliError("Method not implemented"); return;}; | |
41 | ||
42 | virtual Bool_t HasDigitConversion() const { return kTRUE; } | |
43 | virtual void ConvertDigits(AliRawReader* rawReader, | |
44 | TTree* digitsTree) const; | |
45 | ||
46 | AliCDBStorage *SetStorage(const char* uri); | |
47 | AliVZEROCalibData *GetCalibData() const; | |
48 | ||
49 | protected: | |
50 | AliESDVZERO* fESDVZERO; // ESD output object | |
51 | AliESDEvent* fESD; // ESD object | |
52 | ||
53 | private: | |
54 | AliVZEROReconstructor(const AliVZEROReconstructor& reconstructor); | |
55 | AliVZEROReconstructor& operator = (const AliVZEROReconstructor& reconstructor); | |
56 | ||
57 | private: | |
58 | AliVZEROCalibData* fCalibData; //! calibration data | |
59 | ||
60 | ClassDef(AliVZEROReconstructor, 0) // class for the VZERO reconstruction | |
61 | }; | |
62 | ||
63 | #endif |