1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 // $MpId: AliMpHelper.h,v 1.6 2006/05/24 13:58:24 ivana Exp $
9 /// \brief Helper class to parse slat mapping ascii files.
11 // Author: Laurent Aphecetche
13 #ifndef ALI_MP_HELPER_H
14 #define ALI_MP_HELPER_H
24 class AliMpHelper : public TObject
28 virtual ~AliMpHelper();
30 static void DecodeName(const char* manus, char sep, TArrayI& theList);
32 static void GetRange(const char* str, Int_t& begin, Int_t& end,
33 Int_t& incr, Int_t& n);
35 static TString Normalize(const char* line);
37 static TMap* Decode(const TString& s);
39 static Bool_t Decode(const TMap& m, const TString& key, TString& value);
41 ClassDef(AliMpHelper,1) // Helper for parsing slat stations mapping files