]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MFT/AliMuonForwardTrackPair.h
Protection against abnormal memory occupancy in the global tracking
[u/mrichter/AliRoot.git] / MFT / AliMuonForwardTrackPair.h
index 7a69e63100591a5a57435f9aad7c371c8d60f1ad..20126cb4648a9a0c3b142116ae1e01acdb6be9a5 100644 (file)
@@ -35,7 +35,6 @@ public:
   
   virtual ~AliMuonForwardTrackPair() { fMuonForwardTracks->Delete(); delete fMuonForwardTracks; }
 
-  void SetTrack(Int_t iTrack, AliMuonForwardTrack *track);
   AliMuonForwardTrack* GetTrack(Int_t iTrack) { 
     if (iTrack==0 || iTrack==1) return (AliMuonForwardTrack*) fMuonForwardTracks->At(iTrack); 
     else return NULL; 
@@ -45,6 +44,13 @@ public:
   void SetKinem(Double_t z, Int_t nClusters=-1);
   Bool_t IsKinemSet() { return fIsKinemSet; }
 
+  void SetPointOfClosestApproach();
+  void GetPointOfClosestApproach(Double_t *xyz) { 
+    xyz[0] = fXPointOfClosestApproach; 
+    xyz[1] = fYPointOfClosestApproach; 
+    xyz[2] = fZPointOfClosestApproach; 
+  }
+
   Double_t GetWeightedOffset(Double_t x, Double_t y, Double_t z);
   Double_t GetMassWithoutMFT(Double_t x, Double_t y, Double_t z, Int_t nClusters=-1);
   Double_t GetMassMC()     { return fKinemMC.M(); }
@@ -62,6 +68,8 @@ protected:
   TLorentzVector fKinemMC, fKinem;
   Bool_t fIsKinemSet;
 
+  Double_t fXPointOfClosestApproach, fYPointOfClosestApproach, fZPointOfClosestApproach;
+
   ClassDef(AliMuonForwardTrackPair,1)
     
 };