New class AliESDEvent, backward compatibility with the old AliESD (Christian)
[u/mrichter/AliRoot.git] / TRD / AliTRDReconstructor.h
CommitLineData
121a60bd 1#ifndef ALITRDRECONSTRUCTOR_H
2#define ALITRDRECONSTRUCTOR_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
3bc9d03e 6/* $Id$ */
7
121a60bd 8///////////////////////////////////////////////////////////////////////////////
9// //
3bc9d03e 10// Class for TRD reconstruction //
121a60bd 11// //
12///////////////////////////////////////////////////////////////////////////////
13
121a60bd 14#include "AliReconstructor.h"
15
6965c99b 16class AliRawReader;
121a60bd 17
121a60bd 18class AliTRDReconstructor: public AliReconstructor {
3bc9d03e 19
20 public:
21
a8fbb161 22 AliTRDReconstructor():AliReconstructor() { };
23 virtual ~AliTRDReconstructor() { };
3bc9d03e 24
a8fbb161 25 virtual Bool_t HasDigitConversion() const { return kTRUE; };
25ca55ce 26 virtual void ConvertDigits(AliRawReader *rawReader, TTree *digitsTree) const;
27
a8fbb161 28 virtual Bool_t HasLocalReconstruction() const { return kTRUE; };
25ca55ce 29 virtual void Reconstruct(AliRunLoader *runLoader, AliRawReader *rawReader) const;
30 virtual void Reconstruct(AliRawReader *rawReader, TTree *clusterTree) const;
31 virtual void Reconstruct(TTree *digitsTree, TTree *clusterTree) const;
32 virtual void Reconstruct(AliRunLoader *runLoader) const;
3bc9d03e 33
34 virtual AliTracker *CreateTracker(AliRunLoader *runLoader) const;
35
af885e0f 36 virtual void FillESD(AliRunLoader *runLoader, AliRawReader *rawReader, AliESDEvent *esd) const;
37 virtual void FillESD(AliRawReader *rawReader, TTree *clusterTree, AliESDEvent *esd) const;
38 virtual void FillESD(TTree *digitsTree, TTree *clusterTree, AliESDEvent *esd) const;
39 virtual void FillESD(AliRunLoader *runLoader, AliESDEvent *esd) const;
3bc9d03e 40
25ca55ce 41 static void SetSeedingOn(Bool_t seeding) { fgkSeedingOn = seeding; }
42 static void SetStreamLevel(Int_t level) { fgStreamLevel = level; }
3bc9d03e 43
25ca55ce 44 static Bool_t SeedingOn() { return fgkSeedingOn; }
45 static Int_t StreamLevel() { return fgStreamLevel; }
3bc9d03e 46
47 private:
48
49 static Bool_t fgkSeedingOn; // Set flag for seeding during reconstruction
50 static Int_t fgStreamLevel; // Flag for streaming
51
52 ClassDef(AliTRDReconstructor,0) // Class for the TRD reconstruction
53
121a60bd 54};
55
56#endif