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 AliMUONDigitMaker;
20 class AliMUONVDigitStore;
21 class AliMUONVTriggerStore;
23 class AliMUONGeometryTransformer;
25 class AliMUONTriggerCrateStore;
26 class AliMUONTriggerCircuit;
28 class AliMUONVTriggerStore;
30 class AliMUONDigitCalibrator;
31 class AliMUONCalibrationData;
33 class AliMUONClusterReconstructor;
34 class AliMUONVClusterStore;
37 class AliMUONVTrackStore;
39 class AliMUONStopwatchGroup;
41 class AliMUONReconstructor : public AliReconstructor
44 AliMUONReconstructor();
45 virtual ~AliMUONReconstructor();
47 virtual Bool_t HasDigitConversion() const;
49 virtual void ConvertDigits(AliRawReader* rawReader, TTree* digitsTree) const;
51 virtual Bool_t HasLocalReconstruction() const;
53 virtual void Reconstruct(AliRunLoader* runLoader) const;
55 virtual void Reconstruct(AliRunLoader* runLoader, AliRawReader* rawReader) const;
57 virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const;
59 virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const;
61 virtual AliTracker* CreateTracker(AliRunLoader* runLoader) const;
65 AliMUONReconstructor(const AliMUONReconstructor&);
67 AliMUONReconstructor& operator=(const AliMUONReconstructor&);
69 void ConvertDigits(AliRawReader* rawReader,
70 AliMUONVDigitStore* digitStore,
71 AliMUONVTriggerStore* triggerStore) const;
72 void Calibrate(AliMUONVDigitStore& digitStore) const;
73 void Clusterize(const AliMUONVDigitStore& digitStore, AliMUONVClusterStore& clusterStore) const;
74 AliMUONTriggerCrateStore* CrateManager() const;
75 void CreateCalibrator() const;
76 void CreateDigitMaker() const;
77 void CreateTriggerCircuit() const;
78 void CreateClusterReconstructor() const;
79 void FillTreeR(AliMUONVTriggerStore* triggerStore,
80 AliMUONVClusterStore* clusterStore,
81 TTree& clustersTree) const;
83 AliMUONVDigitStore* DigitStore() const;
84 AliMUONVClusterStore* ClusterStore() const;
85 AliMUONVTriggerStore* TriggerStore() const;
88 mutable AliMUONTriggerCrateStore* fCrateManager; //!< Trigger Crate manager
89 mutable AliMUONDigitMaker* fDigitMaker; //!< Raw to Digits converter
90 AliMUONGeometryTransformer* fTransformer; //!< Geometry transformer (local<->global)
91 mutable AliMUONVDigitStore* fDigitStore; //!< Digit container
92 mutable TClonesArray* fTriggerCircuit; //!< Trigger Circuit
93 mutable AliMUONCalibrationData* fCalibrationData; //!< Calibration data
94 mutable AliMUONDigitCalibrator* fDigitCalibrator; //!< Digit to calibrate digit converter
95 mutable AliMUONClusterReconstructor* fClusterReconstructor; //!< Clusterizer
96 mutable AliMUONVClusterStore* fClusterStore; //!< Cluster container
97 mutable AliMUONVTriggerStore* fTriggerStore; //!< Trigger container
98 mutable AliMUONVTrackStore* fTrackStore; //!< Track container
99 AliMUONStopwatchGroup* fTimers; //!< Internal timers
101 ClassDef(AliMUONReconstructor,1) // Implementation of AliReconstructor