]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONRawClusterV2.h
- Adding check and flagging for HG present
[u/mrichter/AliRoot.git] / MUON / AliMUONRawClusterV2.h
index b8b5b97616f3fb483d8edebcf853b92becb9e658..aca1be5c7bc4afa233ce8c8685c380ab3ba61e56 100644 (file)
 #include "AliMUONVCluster.h"
 #include <TMath.h>
 
-class AliESDMuonCluster;
-
 class AliMUONRawClusterV2 : public AliMUONVCluster {
 
  public:
   AliMUONRawClusterV2();
   AliMUONRawClusterV2(Int_t chamberId, Int_t detElemId, Int_t clusterIndex);
-  AliMUONRawClusterV2(const AliESDMuonCluster& cluster);
   virtual ~AliMUONRawClusterV2();
   AliMUONRawClusterV2(const AliMUONRawClusterV2& cluster);
   AliMUONRawClusterV2 & operator=(const AliMUONRawClusterV2& cluster);
@@ -76,7 +73,12 @@ class AliMUONRawClusterV2 : public AliMUONVCluster {
            /// 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;
   
@@ -98,8 +100,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