]>
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 | ||
ce7090f5 | 22 | class AliLoader; |
35b120ff | 23 | class AliESD; |
b0d2c2d3 | 24 | |
25 | class AliVZEROReconstructor: public AliReconstructor { | |
26 | public: | |
ce7090f5 | 27 | AliVZEROReconstructor(); |
28 | virtual ~AliVZEROReconstructor(); | |
35b120ff | 29 | virtual void Init(AliRunLoader* runLoader); |
2e0ee64a | 30 | virtual void Reconstruct(AliRunLoader* /*runLoader*/) const { |
31 | AliError("Method not implemented"); return;}; | |
35b120ff | 32 | |
33 | virtual void Reconstruct(AliRawReader* /*rawReader*/, | |
2e0ee64a | 34 | TTree* /*clustersTree*/) const { |
35 | AliError("Method not implemented"); return;}; | |
35b120ff | 36 | virtual void Reconstruct(AliRunLoader* /*runLoader*/, |
2e0ee64a | 37 | AliRawReader* /*rawReader*/) const { |
38 | AliError("Method not implemented"); return;}; | |
35b120ff | 39 | virtual void Reconstruct(TTree*, TTree*) const {return;}; |
40 | ||
2e0ee64a | 41 | virtual void FillESD(AliRunLoader* /*runLoader*/, AliESD* /*esd*/) const { |
42 | AliInfo("Method is not used"); return;}; | |
35b120ff | 43 | |
2e0ee64a | 44 | virtual void FillESD(TTree* digitsTree, TTree* /*clustersTree*/, |
45 | AliESD* /*esd*/) const; | |
46 | ||
35b120ff | 47 | virtual void FillESD(AliRawReader* /*rawReader*/, TTree* /*clustersTree*/, |
2e0ee64a | 48 | AliESD* /*esd*/) const { |
49 | AliError("Method not implemented"); return;}; | |
35b120ff | 50 | |
51 | virtual void FillESD(AliRunLoader* /*runLoader*/, | |
2e0ee64a | 52 | AliRawReader* /*rawReader*/, AliESD* /*esd*/) const { |
53 | AliInfo("Method is not used"); return;}; | |
35b120ff | 54 | |
2e0ee64a | 55 | virtual Bool_t HasDigitConversion() const { return kTRUE; } |
56 | virtual void ConvertDigits(AliRawReader* rawReader, | |
57 | TTree* digitsTree) const; | |
58 | virtual Bool_t HasLocalReconstruction() const { return kTRUE; } | |
59 | ||
ce7090f5 | 60 | AliCDBStorage *SetStorage(const char* uri); |
61 | AliVZEROCalibData *GetCalibData() const; | |
62 | ||
63 | private: | |
ce7090f5 | 64 | AliVZEROReconstructor(const AliVZEROReconstructor& reconstructor); |
65 | AliVZEROReconstructor& operator = (const AliVZEROReconstructor& reconstructor); | |
66 | ||
35b120ff | 67 | protected: |
68 | AliESDVZERO* fESDVZERO; // ESD output object | |
69 | AliESD* fESD; // ESD object | |
70 | ||
71 | private: | |
72 | AliRunLoader* fRunLoader; //! pointer to runloader | |
73 | AliVZEROCalibData* fCalibData; //! calibration data | |
ce7090f5 | 74 | |
35b120ff | 75 | ClassDef(AliVZEROReconstructor, 0) // class for the VZERO reconstruction |
b0d2c2d3 | 76 | }; |
77 | ||
78 | #endif |