/// \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
// 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*/ ="");
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
};