]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONStringIntMap.h
- ESD can be used instead of AliMUONTrack objects to access the reconstructed variables.
[u/mrichter/AliRoot.git] / MUON / AliMUONStringIntMap.h
index d8cd2840e486c5dde1729f2f33c8d83f0ac741f3..810206e404838b27cc02b96eec1af5b998d49177 100644 (file)
@@ -7,7 +7,7 @@
 /// \class AliMUONStringIntMap
 /// \brief Substitutes map <string, int> which ALICE does not allow to use 
 ///
-/// Author: Ivana Hrivnacova, IPN Orsay
+/// \author Ivana Hrivnacova, IPN Orsay
 
 #ifndef ALI_MUON_STRING_INT_MAP_H
 #define ALI_MUON_STRING_INT_MAP_H
@@ -24,6 +24,9 @@ class AliMUONStringIntMap : public TObject
     
     // methods
     Bool_t  Add(const TString& first, Int_t second);
+    Bool_t  Set(const TString& first, Int_t second);
+    Int_t Contains(const TString& first) const;
+    
     Int_t   Get(const TString& first) const;
     Int_t   GetNofItems() const;
     virtual void Clear(Option_t* /*option*/ ="");
@@ -32,15 +35,13 @@ class AliMUONStringIntMap : public TObject
     
   protected:
     AliMUONStringIntMap(const AliMUONStringIntMap& rhs);
-
-    // operators  
     AliMUONStringIntMap& operator = (const AliMUONStringIntMap& rhs);
  
   private:
     // data members
-    Int_t      fNofItems;    // number of items
-    TObjArray  fFirstArray;  // first item array
-    TArrayI    fSecondArray; // second item array
+    Int_t      fNofItems;    ///< number of items
+    TObjArray  fFirstArray;  ///< first item array
+    TArrayI    fSecondArray; ///< second item array
  
   ClassDef(AliMUONStringIntMap,1)  // motif map
 };