/// 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];}
/// 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;}