]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTrackParam.h
Adding a warning when requesting histogramming
[u/mrichter/AliRoot.git] / MUON / AliMUONTrackParam.h
index 4523bff8e695ec94d7022c88d357fa6fdf32f431..1fa228611c1a1a90073dc81b8a3674ffad38c609 100644 (file)
@@ -18,7 +18,6 @@
 #include <TMatrixD.h>
 
 class AliMUONVCluster;
-class AliESDMuonTrack;
 
 class AliMUONTrackParam : public TObject 
 {
@@ -29,14 +28,6 @@ class AliMUONTrackParam : public TObject
   AliMUONTrackParam(const AliMUONTrackParam& theMUONTrackParam);
   AliMUONTrackParam& operator=(const  AliMUONTrackParam& theMUONTrackParam);
 
-  void GetParamFrom(const AliESDMuonTrack& esdMuonTrack);
-  void SetParamFor(AliESDMuonTrack& esdMuonTrack) const;
-  void GetParamFromUncorrected(const AliESDMuonTrack& esdMuonTrack);
-  void SetParamForUncorrected(AliESDMuonTrack& esdMuonTrack) const;
-  
-  void GetCovFrom(const AliESDMuonTrack& esdMuonTrack);
-  void SetCovFor(AliESDMuonTrack& esdMuonTrack) const;
-
   // Get and Set methods for data
        /// return Z coordinate (cm)
   Double_t GetZ() const {return fZ;}
@@ -106,19 +97,13 @@ class AliMUONTrackParam : public TObject
   
         /// get pointeur to associated cluster
   AliMUONVCluster* GetClusterPtr() const {return fClusterPtr;}
-       /// set pointeur to associated cluster
-  void             SetClusterPtr(AliMUONVCluster* cluster, Bool_t owner = kFALSE) {fClusterPtr = cluster; fOwnCluster = owner;}
+  void             SetClusterPtr(AliMUONVCluster* cluster, Bool_t owner = kFALSE);
   
        /// return kTRUE if the associated cluster can be removed from the track it belongs to
   Bool_t IsRemovable() const {return fRemovable;}
        /// set the flag telling whether the associated cluster can be removed from the track it belongs to or not
   void   SetRemovable(Bool_t removable) {fRemovable = removable;}
   
-       /// return kTRUE if the associated cluster alone in its chamber
-  Bool_t IsAloneInChamber() const {return fAloneInChamber;}
-       /// set the flag telling whether the associated hi alone in its chamber or not
-  void   SetAloneInChamber(Bool_t aloneInChamber) {fAloneInChamber = aloneInChamber;}
-  
   /// return the chi2 of the track when the associated cluster was attached
   Double_t GetTrackChi2() const {return fTrackChi2;}
        /// set the chi2 of the track when the associated cluster was attached
@@ -132,6 +117,8 @@ class AliMUONTrackParam : public TObject
   Bool_t IsSortable () const {return kTRUE;}
   Int_t Compare(const TObject* trackParam) const;
 
+  Bool_t CompatibleTrackParam(const AliMUONTrackParam &trackParam, Double_t sigma2Cut, Double_t &normChi2) const;
+
   virtual void Print(Option_t* opt="") const;
  
   virtual void Clear(Option_t* opt="");
@@ -168,8 +155,6 @@ class AliMUONTrackParam : public TObject
   
   Bool_t fRemovable; //!< kTRUE if the associated cluster can be removed from the track it belongs to
   
-  Bool_t fAloneInChamber; //!< kTRUE if the associated cluster is alone in its chamber
-
   Double_t fTrackChi2; //!< Chi2 of the track when the associated cluster was attached
   Double_t fLocalChi2; //!< Local chi2 of the associated cluster with respect to the track