]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONRawCluster.h
Removing a comma that gcc 3.4 does not like ;-)
[u/mrichter/AliRoot.git] / MUON / AliMUONRawCluster.h
index b3670ee1b957f52fcdb72945a4f5c377ec454f74..0bc48eeafafbd7fe66e0a9274d7c54f832b575f6 100644 (file)
@@ -29,7 +29,10 @@ public:
            /// Clear method (used by TClonesArray)
    virtual void Clear(Option_t* = "") {}
    
-          /// Set coordinates (cm)
+           /// Create a copy of the current cluster
+   virtual AliMUONRawCluster* Clone(const char* = "") const {return new AliMUONRawCluster(*this);}
+   
+           /// Set coordinates (cm)
   virtual void     SetXYZ(Double_t x, Double_t y, Double_t z) {fX[0] = x; fY[0] = y; fZ[0] = z;}
            /// Return coordinate X (cm)
   virtual Double_t GetX() const {return fX[0];}
@@ -75,7 +78,12 @@ public:
            /// Return chi2 of cluster
   virtual Double_t GetChi2() const {return fChi2[0];}
    
-   /// Return radius
+           /// 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) {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;}