]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONRawCluster.h
Initialisation corrected.
[u/mrichter/AliRoot.git] / MUON / AliMUONRawCluster.h
index 84ae5eee5a06f183f8f6c91b66dcffe1c2646b18..5a15f059c4fa04c9adca6a290fc338dc8f935b80 100644 (file)
@@ -78,8 +78,13 @@ public:
            /// Return chi2 of cluster
   virtual Double_t GetChi2() const {return fChi2[0];}
    
-   /// Return radius
-   Float_t      GetRadius(Int_t i) {return TMath::Sqrt(fX[i]*fX[i]+fY[i]*fY[i]);}
+           /// Set the corresponding MC track number
+  virtual void     SetMCLabel(Int_t label) {SetTrack(0, label);}
+           /// Return the corresponding MC track number
+  virtual Int_t    GetMCLabel() const {return GetTrack(0);}
+  
+  /// Return radius
+   Float_t      GetRadius(Int_t i) const {return TMath::Sqrt(fX[i]*fX[i]+fY[i]*fY[i]);}
    /// Return true as the function Compare() is implemented
    Bool_t       IsSortable() const {return kTRUE;}
    Int_t        Compare(const TObject *obj) const;