jet macros
[u/mrichter/AliRoot.git] / VZERO / AliVZEROReconstructor.h
CommitLineData
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 22class AliESDEvent;
b090e6a3 23class AliESDVZEROfriend;
b0d2c2d3 24
25class AliVZEROReconstructor: public AliReconstructor {
26public:
ce7090f5 27 AliVZEROReconstructor();
28 virtual ~AliVZEROReconstructor();
d76c31f4 29 virtual void Init();
35b120ff 30
31 virtual void Reconstruct(AliRawReader* /*rawReader*/,
2e0ee64a 32 TTree* /*clustersTree*/) const {
84dee579 33 AliError("Method not implemented"); return;};
35b120ff 34 virtual void Reconstruct(TTree*, TTree*) const {return;};
35
2e0ee64a 36 virtual void FillESD(TTree* digitsTree, TTree* /*clustersTree*/,
b14e6eb4 37 AliESDEvent* esd) const;
2e0ee64a 38
35b120ff 39 virtual void FillESD(AliRawReader* /*rawReader*/, TTree* /*clustersTree*/,
b14e6eb4 40 AliESDEvent* /*esd*/) const {
84dee579 41 AliError("Method not implemented"); return;};
35b120ff 42
2e0ee64a 43 virtual Bool_t HasDigitConversion() const { return kTRUE; }
44 virtual void ConvertDigits(AliRawReader* rawReader,
45 TTree* digitsTree) const;
84dee579 46
ce7090f5 47 AliCDBStorage *SetStorage(const char* uri);
48 AliVZEROCalibData *GetCalibData() const;
49
35b120ff 50protected:
51 AliESDVZERO* fESDVZERO; // ESD output object
84dee579 52 AliESDEvent* fESD; // ESD object
b090e6a3 53 AliESDVZEROfriend* fESDVZEROfriend; // ESD friend object (complete raw data)
35b120ff 54
55private:
ef314913 56 AliVZEROReconstructor(const AliVZEROReconstructor& reconstructor);
57 AliVZEROReconstructor& operator = (const AliVZEROReconstructor& reconstructor);
58
35b120ff 59 AliVZEROCalibData* fCalibData; //! calibration data
84dee579 60
35b120ff 61 ClassDef(AliVZEROReconstructor, 0) // class for the VZERO reconstruction
b0d2c2d3 62};
63
64#endif