AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMFTTrackerMU.h
Go to the documentation of this file.
1 #ifndef AliMFTTrackerMU_H
2 #define AliMFTTrackerMU_H
3 
4 /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice */
6 
7 //====================================================================================================================================================
8 //
9 // MFT tracker
10 //
11 // Class for the creation of the "global muon tracks" built from the tracks reconstructed in the
12 // muon spectrometer and the clusters of the Muon Forward Tracker
13 //
14 // Contact author: antonio.uras@cern.ch
15 //
16 //====================================================================================================================================================
17 
18 #include "TTree.h"
19 #include "AliLog.h"
20 #include "AliGeomManager.h"
21 #include "AliESDEvent.h"
22 #include "AliESDMuonTrack.h"
23 #include "AliESDMuonGlobalTrack.h"
24 #include "AliTracker.h"
25 #include "AliRun.h"
26 #include "AliMFT.h"
27 #include "AliMUONTrackExtrap.h"
28 #include "AliMUONTrack.h"
29 #include "AliMUONESDInterface.h"
30 #include "AliMuonForwardTrack.h"
31 
32 //====================================================================================================================================================
33 
34 class AliMFTTrackerMU : public AliTracker {
35 
36 public:
37 
39 
41  virtual ~AliMFTTrackerMU();
42 
43  Int_t LoadClusters(TTree *cf);
44  void UnloadClusters();
45  Int_t Clusters2Tracks(AliESDEvent *event);
46 
47  void SetNPlanesMFT(Int_t nPlanesMFT) { fNPlanesMFT = nPlanesMFT; }
49 
50  Int_t FindClusterInPlane(Int_t planeId);
51 
52  void SetMinResearchRadiusAtPlane(Int_t plane, Double_t radius) { if (plane>=0 && plane<fNMaxPlanes) fMinResearchRadiusAtPlane[plane] = radius; }
53 
54  Double_t TryOneCluster(const AliMUONTrackParam &trackParam, AliMFTCluster *cluster);
55 
56  Bool_t IsCorrectMatch(AliMFTCluster *cluster, Int_t labelMC);
57 
58  void GetVertexFromMC();
59 
61  virtual Int_t PropagateBack(AliESDEvent* /*event*/) {return 0;}
63  virtual Int_t RefitInward(AliESDEvent* /*event*/) {return 0;}
65  virtual AliCluster *GetCluster(Int_t /*index*/) const {return 0;}
66 
69 
70 protected:
71 
72  static const Int_t fNMaxPlanes = AliMFTConstants::fNMaxPlanes; // max number of MFT planes
73  static const Double_t fRadLengthSi;
74  static const Int_t fMaxNCandidates = 1000;
75 
76  AliESDEvent *fESD;
77 
81 
82  Double_t fSigmaClusterCut; // to select the clusters in the MFT planes which are compatible with the extrapolated muon track
83  Double_t fScaleSigmaClusterCut; // to tune the cut on the compatible clusters in case of too many candidates
84 
85  Int_t fNMaxMissingMFTClusters; // max. number of MFT clusters which can be missed in the global fit procedure
86  Bool_t fIsPlaneMandatory[fNMaxPlanes]; // specifies which MFT planes cannot be missed in the global fit procedure
87 
88  Bool_t fGlobalTrackingDiverged; // to keep memory of a possible divergence in the global tracking finding
89 
90  TClonesArray *fMFTClusterArray[fNMaxPlanes];
93 
94  TClonesArray *fCandidateTracks;
95 
97 
100 
101  // uncertainty on the x position of the primary vertex (seed for the extrapolation of the MUON tracks)
102  Double_t fXExtrapVertex;
103  Double_t fYExtrapVertex;
104  Double_t fZExtrapVertex;
107 
108  Bool_t fBransonCorrection; // if TRUE, Branson Correction is applied when extrapolating the MUON tracks to the vertex region
109 
111 
112 private:
113 
114  AliMFTTrackerMU(const AliMFTTrackerMU &tracker);
115  AliMFTTrackerMU & operator=(const AliMFTTrackerMU &tracker);
116  ClassDef(AliMFTTrackerMU,2) //MFT tracker for muon tracks
117 
118 };
119 
120 //====================================================================================================================================================
121 
122 #endif
123 
TClonesArray * fMFTClusterArray[fNMaxPlanes]
AliMFT * fMFT
pointer to the ESD event
AliMuonForwardTrack * fCurrentTrack
muon track being analyzed
Bool_t fIsPlaneMandatory[fNMaxPlanes]
Definition: AliMFT.h:41
AliMFTTrackerMU & operator=(const AliMFTTrackerMU &tracker)
virtual Int_t PropagateBack(AliESDEvent *)
Dummy implementation.
void AddClustersFromUnderlyingEvent()
static const Int_t fNMaxPlanes
Track parameters in ALICE dimuon spectrometer.
static const Int_t fNMaxPlanes
virtual AliCluster * GetCluster(Int_t) const
Dummy implementation.
Double_t fYExtrapVertex
Double_t fSigmaClusterCut
static const Double_t fRadLengthSi
AliESDEvent * fESD
virtual Int_t RefitInward(AliESDEvent *)
Dummy implementation.
Double_t TryOneCluster(const AliMUONTrackParam &trackParam, AliMFTCluster *cluster)
void SetMinResearchRadiusAtPlane(Int_t plane, Double_t radius)
void SetNPlanesMFT(Int_t nPlanesMFT)
void SeparateFrontBackClusters()
TClonesArray * fMFTClusterArrayFront[fNMaxPlanes]
array of clusters for the planes of the MFT
static const Int_t fMaxNCandidates
Int_t fNMaxMissingMFTClusters
Int_t LoadClusters(TTree *cf)
void AddClustersFromPileUpEvents()
Double_t fXExtrapVertexError
Double_t fMinResearchRadiusAtPlane[fNMaxPlanes]
Class for the virtual segmentation of the ALICE Muon Forward Tracker.
TClonesArray * fMFTClusterArrayBack[fNMaxPlanes]
array of front clusters for the planes of the MFT
Double_t fYExtrapVertexError
Double_t fScaleSigmaClusterCut
Bool_t IsCorrectMatch(AliMFTCluster *cluster, Int_t labelMC)
Bool_t fGlobalTrackingDiverged
AliMFTSegmentation * fSegmentation
Int_t FindClusterInPlane(Int_t planeId)
Reconstructed track in ALICE dimuon spectrometer.
Definition: AliMUONTrack.h:24
TClonesArray * fCandidateTracks
array of back clusters for the planes of the MFT
Double_t fZExtrapVertex
AliMUONTrack * fMUONTrack
array of candidate global tracks
AliMuonForwardTrack * fFinalBestCandidate
muon extrapolated track being tested
Int_t Clusters2Tracks(AliESDEvent *event)
Double_t fXExtrapVertex
best final candidate (if any)
virtual ~AliMFTTrackerMU()
ALICE muon forward track, combining the information of the Muon Spectrometer and the Muon Forward Tra...