]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONRawClusterV2.h
o add Reset function to CalPad and CalROC o Add functionality to AliTPCdataQA - Reset...
[u/mrichter/AliRoot.git] / MUON / AliMUONRawClusterV2.h
index 5087ebb885f97debfdc38acdb3cb8d44e5add968..3afe04d11e9af66320a5e6bd2b5f97330943b868 100644 (file)
@@ -67,13 +67,20 @@ class AliMUONRawClusterV2 : public AliMUONVCluster {
   virtual Int_t    GetNDigits() const {return fNDigits;}
            /// Return Id of digits i
   virtual UInt_t   GetDigitId(Int_t i) const {return (i < fNDigits && fDigitsId) ? fDigitsId[i] : 0;}
+           /// Return the array of digits'id
+  virtual const UInt_t* GetDigitsId() const {return fDigitsId;}
   
            /// Set chi2 of cluster
   virtual void     SetChi2( Double_t chi2) {fChi2 = chi2;}
            /// 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;
   
@@ -95,8 +102,10 @@ private:
   /// 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