]>
Commit | Line | Data |
---|---|---|
196471e9 | 1 | #ifndef ALIMUONTRACKER_H |
2 | #define ALIMUONTRACKER_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
e41c38cf | 6 | // $Id$ |
196471e9 | 7 | |
6b092dfc | 8 | /// \ingroup rec |
196471e9 | 9 | /// \class AliMUONTracker |
10 | /// \brief MUON base Tracker | |
d81d2e8e | 11 | /// |
9bf6860b | 12 | // Authors: Christian Finck, Laurent Aphecetche, SUBATECH Nantes |
196471e9 | 13 | |
14 | #include "AliTracker.h" | |
e64fdf8a | 15 | |
196471e9 | 16 | class AliCluster; |
af885e0f | 17 | class AliESDEvent; |
e64fdf8a | 18 | class AliMUONDigitMaker; |
19 | class AliMUONGeometryTransformer; | |
a0dc65b4 | 20 | class AliMUONRecoParam; |
e64fdf8a | 21 | class AliMUONTrackHitPattern; |
32ab62c9 | 22 | class AliMUONTriggerCircuit; |
9bf6860b | 23 | class AliMUONVClusterServer; |
e64fdf8a | 24 | class AliMUONVClusterStore; |
9bf6860b | 25 | class AliMUONVDigitStore; |
196471e9 | 26 | class AliMUONVTrackReconstructor; |
e64fdf8a | 27 | class AliMUONVTrackStore; |
28 | class AliMUONVTriggerStore; | |
9bf6860b | 29 | class AliMUONVTriggerTrackStore; |
196471e9 | 30 | |
31 | class AliMUONTracker : public AliTracker | |
32 | { | |
33 | public: | |
34 | ||
a0dc65b4 | 35 | AliMUONTracker(const AliMUONRecoParam* recoParam, |
36 | AliMUONVClusterServer* clusterServer, | |
2e2d0c44 | 37 | AliMUONVDigitStore& digitStore, |
1fef78c8 | 38 | const AliMUONDigitMaker* digitMaker=0, |
e64fdf8a | 39 | const AliMUONGeometryTransformer* transformer=0, |
683cb6c5 | 40 | const AliMUONTriggerCircuit* triggerCircuit=0); |
196471e9 | 41 | virtual ~AliMUONTracker(); |
196471e9 | 42 | |
af885e0f | 43 | virtual Int_t Clusters2Tracks(AliESDEvent* esd); |
e64fdf8a | 44 | |
e64fdf8a | 45 | virtual Int_t LoadClusters(TTree* clustersTree); |
46 | ||
e64fdf8a | 47 | virtual void UnloadClusters(); |
48 | ||
21973f26 | 49 | /// Return reco parameters |
72dae9ff | 50 | const AliMUONRecoParam* GetRecoParam() const { return fkRecoParam; } |
a0dc65b4 | 51 | |
71a2d3aa | 52 | /// Dummy implementation |
af885e0f | 53 | virtual Int_t PropagateBack(AliESDEvent* /*event*/) {return 0;} |
71a2d3aa | 54 | /// Dummy implementation |
af885e0f | 55 | virtual Int_t RefitInward(AliESDEvent* /*event*/) {return 0;} |
71a2d3aa | 56 | /// Dummy implementation |
196471e9 | 57 | virtual AliCluster *GetCluster(Int_t /*index*/) const {return 0;} |
196471e9 | 58 | |
a0dc65b4 | 59 | static AliMUONVTrackReconstructor* CreateTrackReconstructor(const AliMUONRecoParam* recoParam, AliMUONVClusterServer* clusterServer); |
9bf6860b | 60 | |
196471e9 | 61 | private: |
71a2d3aa | 62 | /// Not implemented |
63 | AliMUONTracker(const AliMUONTracker& rhs); | |
64 | /// Not implemented | |
65 | AliMUONTracker& operator=(const AliMUONTracker& rhs); | |
66 | ||
1fef78c8 | 67 | AliMUONVClusterStore* ClusterStore() const; |
68 | ||
9bf6860b | 69 | AliMUONVTriggerTrackStore* TriggerTrackStore() const; |
3304fa09 | 70 | |
72dae9ff | 71 | void FillESD(const AliMUONVTrackStore& trackStore, AliESDEvent* esd) const; |
e64fdf8a | 72 | |
9bf6860b | 73 | void SetupClusterServer(AliMUONVClusterServer& clusterServer); |
74 | ||
e64fdf8a | 75 | private: |
72dae9ff | 76 | const AliMUONDigitMaker* fkDigitMaker; //!< digit maker (not owner) |
77 | const AliMUONGeometryTransformer* fkTransformer; //!< geometry transformer (not owner) | |
78 | const AliMUONTriggerCircuit* fkTriggerCircuit; //!< trigger circuit (not owner) | |
e64fdf8a | 79 | AliMUONTrackHitPattern* fTrackHitPatternMaker; //!< trigger hit pattern maker |
3304fa09 | 80 | AliMUONVTrackReconstructor* fTrackReco; //!< track reconstructor |
1fef78c8 | 81 | mutable AliMUONVClusterStore* fClusterStore; //!< cluster container |
e64fdf8a | 82 | AliMUONVTriggerStore* fTriggerStore; //!< trigger information |
9bf6860b | 83 | AliMUONVClusterServer* fClusterServer; //!< to get clusters |
84 | Bool_t fIsOwnerOfClusterServer; //!< whether we are owner of the cluster server | |
72dae9ff | 85 | const AliMUONVDigitStore& fkDigitStore; //!< digit info to fill in ESD |
9bf6860b | 86 | mutable AliMUONVClusterStore* fInputClusterStore; //!< cluster container |
87 | mutable AliMUONVTriggerTrackStore* fTriggerTrackStore; //!< trigger track store | |
72dae9ff | 88 | const AliMUONRecoParam* fkRecoParam; //!< pointer to reco param |
e64fdf8a | 89 | |
196471e9 | 90 | ClassDef(AliMUONTracker,0) //tracker base class for MUON |
91 | }; | |
92 | #endif |