]>
Commit | Line | Data |
---|---|---|
cac2eb58 | 1 | #ifndef ALIMUONRECONSTRUCTOR_H |
2 | #define ALIMUONRECONSTRUCTOR_H | |
22899106 | 3 | |
cac2eb58 | 4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
22899106 | 5 | * See cxx source for full Copyright notice */ |
cac2eb58 | 6 | |
22899106 | 7 | // $Id$ |
cac2eb58 | 8 | |
692de412 | 9 | /// \ingroup rec |
10 | /// \class AliMUONReconstructor | |
22899106 | 11 | /// \brief Implementation of AliReconstructor for MUON (both tracker and trigger) |
12 | /// | |
13 | // Author Laurent Aphecetche, Subatech | |
692de412 | 14 | |
22899106 | 15 | #ifndef ALIRECONSTRUCTOR_H |
16 | # include "AliReconstructor.h" | |
17 | #endif | |
cac2eb58 | 18 | |
2cf44ef3 | 19 | class AliMUONDigitMaker; |
22899106 | 20 | class AliMUONVDigitStore; |
21 | class AliMUONVTriggerStore; | |
22 | ||
9c4b1ee7 | 23 | class AliMUONGeometryTransformer; |
6a518391 | 24 | |
22899106 | 25 | class AliMUONTriggerCircuit; |
6a518391 | 26 | class TClonesArray; |
22899106 | 27 | class AliMUONVTriggerStore; |
b2d7df0b | 28 | |
22899106 | 29 | class AliMUONDigitCalibrator; |
30 | class AliMUONCalibrationData; | |
9c4b1ee7 | 31 | |
22899106 | 32 | class AliMUONTracker; |
33 | class AliMUONVTrackStore; | |
b2d7df0b | 34 | |
3304fa09 | 35 | class AliMUONRecoParam; |
36 | ||
c5ce806f | 37 | class AliMUONVClusterFinder; |
38 | ||
39 | class AliMUONVClusterServer; | |
40 | ||
22899106 | 41 | class AliMUONReconstructor : public AliReconstructor |
42 | { | |
43 | public: | |
44 | AliMUONReconstructor(); | |
45 | virtual ~AliMUONReconstructor(); | |
46 | ||
47 | virtual Bool_t HasDigitConversion() const; | |
48 | ||
49 | virtual void ConvertDigits(AliRawReader* rawReader, TTree* digitsTree) const; | |
50 | ||
22899106 | 51 | virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const; |
52 | ||
53 | virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const; | |
54 | ||
d76c31f4 | 55 | virtual AliTracker* CreateTracker() const; |
3304fa09 | 56 | |
15d30ed4 | 57 | static const AliMUONRecoParam* GetRecoParam(); |
3304fa09 | 58 | |
9bf6860b | 59 | static AliMUONVClusterFinder* CreateClusterFinder(const char* clusterFinderType); |
60 | ||
22899106 | 61 | private: |
62 | /// Not implemented | |
63 | AliMUONReconstructor(const AliMUONReconstructor&); | |
64 | /// Not implemented | |
65 | AliMUONReconstructor& operator=(const AliMUONReconstructor&); | |
66 | ||
67 | void ConvertDigits(AliRawReader* rawReader, | |
68 | AliMUONVDigitStore* digitStore, | |
69 | AliMUONVTriggerStore* triggerStore) const; | |
70 | void Calibrate(AliMUONVDigitStore& digitStore) const; | |
22899106 | 71 | void CreateCalibrator() const; |
72 | void CreateDigitMaker() const; | |
73 | void CreateTriggerCircuit() const; | |
c5ce806f | 74 | void CreateClusterServer() const; |
22899106 | 75 | void FillTreeR(AliMUONVTriggerStore* triggerStore, |
22899106 | 76 | TTree& clustersTree) const; |
77 | ||
78 | AliMUONVDigitStore* DigitStore() const; | |
22899106 | 79 | AliMUONVTriggerStore* TriggerStore() const; |
9bf6860b | 80 | |
22899106 | 81 | private: |
92c23b09 | 82 | |
22899106 | 83 | mutable AliMUONDigitMaker* fDigitMaker; //!< Raw to Digits converter |
84 | AliMUONGeometryTransformer* fTransformer; //!< Geometry transformer (local<->global) | |
85 | mutable AliMUONVDigitStore* fDigitStore; //!< Digit container | |
32ab62c9 | 86 | mutable AliMUONTriggerCircuit* fTriggerCircuit; //!< Trigger Circuit |
22899106 | 87 | mutable AliMUONCalibrationData* fCalibrationData; //!< Calibration data |
88 | mutable AliMUONDigitCalibrator* fDigitCalibrator; //!< Digit to calibrate digit converter | |
c5ce806f | 89 | mutable AliMUONVClusterServer* fClusterServer; //!< Clusterizer |
22899106 | 90 | mutable AliMUONVTriggerStore* fTriggerStore; //!< Trigger container |
91 | mutable AliMUONVTrackStore* fTrackStore; //!< Track container | |
22899106 | 92 | |
3304fa09 | 93 | static AliMUONRecoParam* fgRecoParam; //!< parameters used to tune the MUON reconstruction |
94 | ||
9bf6860b | 95 | ClassDef(AliMUONReconstructor,6) // Implementation of AliReconstructor |
cac2eb58 | 96 | }; |
97 | ||
98 | #endif |