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