Reflecting DCS numbering change (Laurent)
[u/mrichter/AliRoot.git] / MUON / AliMUONReconstructor.h
CommitLineData
cac2eb58 1#ifndef ALIMUONRECONSTRUCTOR_H
2#define ALIMUONRECONSTRUCTOR_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
30178c30 7// Revision of includes 07/05/2004
cac2eb58 8
692de412 9/// \ingroup rec
10/// \class AliMUONReconstructor
11/// \brief Class for the MUON reconstruction
12
cac2eb58 13#include "AliReconstructor.h"
14
b2d7df0b 15class AliMUONCalibrationData;
16class AliMUONData;
17class TTask;
2cf44ef3 18class AliMUONDigitMaker;
96fdfe9a 19class AliMUONTriggerCrateStore;
20class TClonesArray;
9c4b1ee7 21class AliMUONGeometryTransformer;
f9247068 22class AliMUONClusterReconstructor;
b2d7df0b 23
30178c30 24class AliMUONReconstructor: public AliReconstructor
25{
8789635b 26 public:
27 AliMUONReconstructor();
28 virtual ~AliMUONReconstructor();
cac2eb58 29
b2d7df0b 30 virtual void Init(AliRunLoader* runLoader);
31
337c9041 32 virtual void Reconstruct(TTree* /*digitsTree*/,
33 TTree* /*clustersTree*/) const {return;}
34 virtual void Reconstruct(AliRawReader* /*rawReader*/,
35 TTree* /*clustersTree*/) const {return;}
8789635b 36 virtual void Reconstruct(AliRunLoader* runLoader) const;
337c9041 37 virtual void Reconstruct(AliRunLoader* runLoader,
38 AliRawReader* rawReader) const;
cf464691 39
337c9041 40 virtual void FillESD(TTree* /*digitsTree*/, TTree* /*clustersTree*/,
41 AliESD* /*esd*/) const {return;}
42 virtual void FillESD(AliRawReader* /*rawReader*/, TTree* /*clustersTree*/,
43 AliESD* /*esd*/) const {return;}
8789635b 44 virtual void FillESD(AliRunLoader* runLoader, AliESD* esd) const;
a2da7817 45 virtual void FillESD(AliRunLoader* runLoader,
46 AliRawReader* /*rawReader*/, AliESD* esd) const;
884a73f1 47
9c4b1ee7 48 enum {kNone, kOriginal, kKalman, kCombi};
49
b2d7df0b 50private:
51
52 TTask* GetCalibrationTask(AliMUONData* data) const;
f9247068 53 AliMUONClusterReconstructor* CreateClusterReconstructor(AliMUONData*) const;
54
96fdfe9a 55 AliMUONReconstructor(const AliMUONReconstructor& right);
56 AliMUONReconstructor& operator = (const AliMUONReconstructor& right);
b2d7df0b 57
58private:
829425a5 59 AliRunLoader* fRunLoader; //!< pointer to runloader
60 AliMUONDigitMaker* fDigitMaker; //!< pointer to the digit maker class
2cf44ef3 61
829425a5 62 mutable AliMUONCalibrationData* fCalibrationData; //!< pointer to calibration data
b2d7df0b 63
96fdfe9a 64 AliMUONTriggerCrateStore* fCrateManager; //!< Crate array
65
66 TClonesArray* fTriggerCircuit; //!< trigger circuit
67
9c4b1ee7 68 AliMUONGeometryTransformer* fTransformer; //!< pointer to transformation
aa6ecf89 69
cac2eb58 70 ClassDef(AliMUONReconstructor, 0) // class for the MUON reconstruction
71};
72
73#endif