]>
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 | |
9ec6a948 | 19 | class AliMUONCalibrationData; |
20 | class AliMUONDigitCalibrator; | |
2cf44ef3 | 21 | class AliMUONDigitMaker; |
9c4b1ee7 | 22 | class AliMUONGeometryTransformer; |
3304fa09 | 23 | class AliMUONRecoParam; |
9ec6a948 | 24 | class AliMUONTracker; |
25 | class AliMUONTriggerCircuit; | |
c5ce806f | 26 | class AliMUONVClusterFinder; |
c5ce806f | 27 | class AliMUONVClusterServer; |
9ec6a948 | 28 | class AliMUONVClusterStore; |
29 | class AliMUONVDigitStore; | |
30 | class AliMUONVTrackStore; | |
31 | class AliMUONVTriggerStore; | |
32 | class AliMUONVTriggerStore; | |
33 | class TClonesArray; | |
c5ce806f | 34 | |
22899106 | 35 | class AliMUONReconstructor : public AliReconstructor |
36 | { | |
37 | public: | |
38 | AliMUONReconstructor(); | |
39 | virtual ~AliMUONReconstructor(); | |
40 | ||
41 | virtual Bool_t HasDigitConversion() const; | |
42 | ||
43 | virtual void ConvertDigits(AliRawReader* rawReader, TTree* digitsTree) const; | |
44 | ||
22899106 | 45 | virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const; |
46 | ||
47 | virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const; | |
48 | ||
d76c31f4 | 49 | virtual AliTracker* CreateTracker() const; |
3304fa09 | 50 | |
15d30ed4 | 51 | static const AliMUONRecoParam* GetRecoParam(); |
3304fa09 | 52 | |
9bf6860b | 53 | static AliMUONVClusterFinder* CreateClusterFinder(const char* clusterFinderType); |
54 | ||
22899106 | 55 | private: |
56 | /// Not implemented | |
57 | AliMUONReconstructor(const AliMUONReconstructor&); | |
58 | /// Not implemented | |
59 | AliMUONReconstructor& operator=(const AliMUONReconstructor&); | |
60 | ||
61 | void ConvertDigits(AliRawReader* rawReader, | |
62 | AliMUONVDigitStore* digitStore, | |
63 | AliMUONVTriggerStore* triggerStore) const; | |
64 | void Calibrate(AliMUONVDigitStore& digitStore) const; | |
22899106 | 65 | void CreateCalibrator() const; |
66 | void CreateDigitMaker() const; | |
67 | void CreateTriggerCircuit() const; | |
c5ce806f | 68 | void CreateClusterServer() const; |
22899106 | 69 | void FillTreeR(AliMUONVTriggerStore* triggerStore, |
22899106 | 70 | TTree& clustersTree) const; |
71 | ||
72 | AliMUONVDigitStore* DigitStore() const; | |
22899106 | 73 | AliMUONVTriggerStore* TriggerStore() const; |
9bf6860b | 74 | |
22899106 | 75 | private: |
92c23b09 | 76 | |
22899106 | 77 | mutable AliMUONDigitMaker* fDigitMaker; //!< Raw to Digits converter |
78 | AliMUONGeometryTransformer* fTransformer; //!< Geometry transformer (local<->global) | |
79 | mutable AliMUONVDigitStore* fDigitStore; //!< Digit container | |
32ab62c9 | 80 | mutable AliMUONTriggerCircuit* fTriggerCircuit; //!< Trigger Circuit |
22899106 | 81 | mutable AliMUONCalibrationData* fCalibrationData; //!< Calibration data |
82 | mutable AliMUONDigitCalibrator* fDigitCalibrator; //!< Digit to calibrate digit converter | |
c5ce806f | 83 | mutable AliMUONVClusterServer* fClusterServer; //!< Clusterizer |
22899106 | 84 | mutable AliMUONVTriggerStore* fTriggerStore; //!< Trigger container |
85 | mutable AliMUONVTrackStore* fTrackStore; //!< Track container | |
9ec6a948 | 86 | mutable AliMUONVClusterStore* fClusterStore; //!< cluster store (when not in combined tracking mode) |
22899106 | 87 | |
3304fa09 | 88 | static AliMUONRecoParam* fgRecoParam; //!< parameters used to tune the MUON reconstruction |
9ec6a948 | 89 | |
90 | ClassDef(AliMUONReconstructor,7) // Implementation of AliReconstructor | |
cac2eb58 | 91 | }; |
92 | ||
93 | #endif |