New detector AD
[u/mrichter/AliRoot.git] / AD / AliADReconstructor.h
CommitLineData
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"
15
16class AliESDAD;
17class AliESDEvent;
18
19class AliADReconstructor: public AliReconstructor {
20public:
21 AliADReconstructor();
22 virtual ~AliADReconstructor();
23 virtual void Init();
24
25 virtual void Reconstruct(AliRawReader* /*rawReader*/,
26 TTree* /*clustersTree*/) const {
27 AliError("Method not implemented"); return;};
28 virtual void Reconstruct(TTree*, TTree*) const {return;};
29
30 virtual void FillESD(TTree* digitsTree, TTree* /*clustersTree*/,
31 AliESDEvent* esd) const;
32
33 virtual void FillESD(AliRawReader* /*rawReader*/, TTree* /*clustersTree*/,
34 AliESDEvent* /*esd*/) const {
35 AliError("Method not implemented"); return;};
36
37 virtual Bool_t HasDigitConversion() const { return kTRUE; }
38 virtual void ConvertDigits(AliRawReader* rawReader, TTree* digitsTree) const;
39
40
41protected:
42
43 AliESDAD* fESDAD; // AD ESD object
44
45private:
46 AliADReconstructor(const AliADReconstructor&); //Not implemented
47 AliADReconstructor& operator = (const AliADReconstructor&); //Not implemented
48
49
50 mutable TClonesArray *fDigitsArray; // clones-array for ConvertDigits() and FillESD()
51
52 ClassDef(AliADReconstructor, 1) // class for the AD reconstruction
53};
54
55#endif