]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONRawCluster.h
The logics of handling the geometry file for simulation has changed. The variables...
[u/mrichter/AliRoot.git] / MUON / AliMUONRawCluster.h
index 4f385f2b67a1c1fea733f7dae56410760940925d..0bc48eeafafbd7fe66e0a9274d7c54f832b575f6 100644 (file)
@@ -30,7 +30,7 @@ public:
    virtual void Clear(Option_t* = "") {}
    
            /// Create a copy of the current cluster
-   virtual AliMUONRawCluster* CreateCopy() const {return new AliMUONRawCluster(*this);}
+   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;}
@@ -78,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;}