![]() |
AliRoot Core
a565103 (a565103)
|
Helper class to parse slat mapping ascii files. More...
#include <AliMpHelper.h>
Public Member Functions | |
AliMpHelper () | |
virtual | ~AliMpHelper () |
Static Public Member Functions | |
static void | DecodeName (const char *manus, char sep, TArrayI &theList) |
static void | GetRange (const char *str, Int_t &begin, Int_t &end, Int_t &incr, Int_t &n) |
static TString | Normalize (const char *line) |
static TMap * | Decode (const TString &s) |
static Bool_t | Decode (const TMap &m, const TString &key, TString &value) |
Helper class to parse slat mapping ascii files.
Helper class used to parse mapping files for St345 slats.
Definition at line 24 of file AliMpHelper.h.
AliMpHelper::AliMpHelper | ( | ) |
Default (empty) ctor.
Definition at line 40 of file AliMpHelper.cxx.
|
virtual |
Dtor.
Definition at line 48 of file AliMpHelper.cxx.
|
static |
Definition at line 57 of file AliMpHelper.cxx.
|
static |
Definition at line 86 of file AliMpHelper.cxx.
|
static |
From a string of the form "i-j;k;l;m-n" returns an integer array containing all the integers from i to j, then k, l and then from m to n.
Definition at line 103 of file AliMpHelper.cxx.
Referenced by AliMpTriggerReader::BuildSlat(), AliMpDDLStore::ReadBusPatchInfo(), AliMpDDLStore::ReadBusPatchSpecial(), AliMUONGlobalCrateConfig::ReadData(), AliMpRegionalTrigger::ReadData(), AliMpDDLStore::ReadDDLs(), and AliMpSt345Reader::ReadSlat().
|
static |
From a string of the form "m-n" returns a range (begin,end), its ordering (incr=+-1) and its size (abs(begin-end)+1)
Definition at line 148 of file AliMpHelper.cxx.
Referenced by DecodeName().
|
static |
Remove multiple blanks, and blanks in the begining/end.
Definition at line 182 of file AliMpHelper.cxx.
Referenced by AliMpDDLStore::ReadBusPatchInfo(), AliMpDDLStore::ReadBusPatchSpecial(), AliMUONGlobalCrateConfig::ReadData(), AliMUONRegionalTriggerConfig::ReadData(), AliMpRegionalTrigger::ReadData(), AliMpManuStore::ReadData(), AliMpDDLStore::ReadDDLs(), AliMpTriggerReader::ReadLines(), and AliMpSt345Reader::ReadSlat().