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