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 AliMUONTriggerChamberEff;
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 void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const;
53 virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const;
55 virtual AliTracker* CreateTracker() const;
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 Clusterize(const AliMUONVDigitStore& digitStore, AliMUONVClusterStore& clusterStore) const;
68 AliMUONTriggerCrateStore* CrateManager() const;
69 void CreateCalibrator() const;
70 void CreateDigitMaker() const;
71 void CreateTriggerCircuit() const;
72 void CreateClusterReconstructor() const;
73 void CreateTriggerChamberEff() const;
74 void FillTreeR(AliMUONVTriggerStore* triggerStore,
75 AliMUONVClusterStore* clusterStore,
76 TTree& clustersTree) const;
78 AliMUONVDigitStore* DigitStore() const;
79 AliMUONVClusterStore* ClusterStore() const;
80 AliMUONVTriggerStore* TriggerStore() const;
83 mutable AliMUONTriggerCrateStore* fCrateManager; //!< Trigger Crate manager
84 mutable AliMUONDigitMaker* fDigitMaker; //!< Raw to Digits converter
85 AliMUONGeometryTransformer* fTransformer; //!< Geometry transformer (local<->global)
86 mutable AliMUONVDigitStore* fDigitStore; //!< Digit container
87 mutable AliMUONTriggerCircuit* fTriggerCircuit; //!< Trigger Circuit
88 mutable AliMUONCalibrationData* fCalibrationData; //!< Calibration data
89 mutable AliMUONDigitCalibrator* fDigitCalibrator; //!< Digit to calibrate digit converter
90 mutable AliMUONClusterReconstructor* fClusterReconstructor; //!< Clusterizer
91 mutable AliMUONVClusterStore* fClusterStore; //!< Cluster container
92 mutable AliMUONVTriggerStore* fTriggerStore; //!< Trigger container
93 mutable AliMUONVTrackStore* fTrackStore; //!< Track container
94 mutable AliMUONTriggerChamberEff* fTrigChamberEff; //!< pointer to trigger chamber efficiency class
96 ClassDef(AliMUONReconstructor,3) // Implementation of AliReconstructor