virtual void Clear(Option_t* = "");
- /// Set coordinates (cm)
+ /// Create a copy of the current cluster
+ virtual AliMUONRawClusterV2* Clone(const char* = "") const {return new AliMUONRawClusterV2(*this);}
+
+ /// Set coordinates (cm)
virtual void SetXYZ(Double_t x, Double_t y, Double_t z) {fX = x; fY = y; fZ = z;}
/// Return coordinate X (cm)
virtual Double_t GetX() const {return fX;}
/// Return chi2 of cluster
virtual Double_t GetChi2() const {return fChi2;}
- /// Return true as the function Compare() is implemented
+ /// Set the corresponding MC track number
+ virtual void SetMCLabel(Int_t label) {fMCLabel = label;}
+ /// Return the corresponding MC track number
+ virtual Int_t GetMCLabel() const {return fMCLabel;}
+
+ /// Return true as the function Compare() is implemented
Bool_t IsSortable() const {return kTRUE;}
Int_t Compare(const TObject *obj) const;
/// Indices of digits attached to the cluster
UInt_t *fDigitsId; //[fNDigits] Indices of digits attached to the cluster
+ Int_t fMCLabel; ///< Point to the corresponding MC track
+
- ClassDef(AliMUONRawClusterV2,1) //Cluster class for MUON
+ ClassDef(AliMUONRawClusterV2,2) //Cluster class for MUON
};
#endif