1 #ifndef ALIMUONRECONSTRUCTOR_H
2 #define ALIMUONRECONSTRUCTOR_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONReconstructor
11 /// \brief Implementation of AliReconstructor for MUON (both tracker and trigger)
13 // Author Laurent Aphecetche, Subatech
15 #ifndef ALIRECONSTRUCTOR_H
16 # include "AliReconstructor.h"
19 class AliMUONCalibrationData;
20 class AliMUONDigitCalibrator;
21 class AliMUONDigitMaker;
22 class AliMUONGeometryTransformer;
24 class AliMUONTriggerCircuit;
25 class AliMUONVClusterFinder;
26 class AliMUONVClusterServer;
27 class AliMUONVClusterStore;
28 class AliMUONVDigitStore;
29 class AliMUONVTrackStore;
30 class AliMUONVTriggerStore;
31 class AliMUONVTriggerStore;
34 #include "AliMUONRecoParam.h"
36 class AliMUONReconstructor : public AliReconstructor
39 AliMUONReconstructor();
40 virtual ~AliMUONReconstructor();
42 virtual Bool_t HasDigitConversion() const;
44 virtual void ConvertDigits(AliRawReader* rawReader, TTree* digitsTree) const;
46 virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const;
48 virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const;
50 virtual AliTracker* CreateTracker() const;
53 static const AliMUONRecoParam* GetRecoParam() { return dynamic_cast<const AliMUONRecoParam*>(AliReconstructor::GetRecoParam(7)); }
55 static AliMUONVClusterFinder* CreateClusterFinder(const char* clusterFinderType);
59 AliMUONReconstructor(const AliMUONReconstructor&);
61 AliMUONReconstructor& operator=(const AliMUONReconstructor&);
63 void ConvertDigits(AliRawReader* rawReader,
64 AliMUONVDigitStore* digitStore,
65 AliMUONVTriggerStore* triggerStore) const;
66 void Calibrate(AliMUONVDigitStore& digitStore) const;
67 void CreateCalibrator() const;
68 void CreateDigitMaker() const;
69 void CreateTriggerCircuit() const;
70 void CreateClusterServer() const;
71 void FillTreeR(AliMUONVTriggerStore* triggerStore,
72 TTree& clustersTree) const;
74 AliMUONVDigitStore* DigitStore() const;
75 AliMUONVTriggerStore* TriggerStore() const;
79 mutable AliMUONDigitMaker* fDigitMaker; //!< Raw to Digits converter
80 AliMUONGeometryTransformer* fTransformer; //!< Geometry transformer (local<->global)
81 mutable AliMUONVDigitStore* fDigitStore; //!< Digit container
82 mutable AliMUONTriggerCircuit* fTriggerCircuit; //!< Trigger Circuit
83 mutable AliMUONCalibrationData* fCalibrationData; //!< Calibration data
84 mutable AliMUONDigitCalibrator* fDigitCalibrator; //!< Digit to calibrate digit converter
85 mutable AliMUONVClusterServer* fClusterServer; //!< Clusterizer
86 mutable AliMUONVTriggerStore* fTriggerStore; //!< Trigger container
87 mutable AliMUONVTrackStore* fTrackStore; //!< Track container
88 mutable AliMUONVClusterStore* fClusterStore; //!< cluster store (when not in combined tracking mode)
90 ClassDef(AliMUONReconstructor,8) // Implementation of AliReconstructor