AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpHelper Class Reference

Helper class to parse slat mapping ascii files. More...

#include <AliMpHelper.h>

Inheritance diagram for AliMpHelper:

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)
 

Detailed Description

Helper class to parse slat mapping ascii files.

Helper class used to parse mapping files for St345 slats.

Author
L. Aphecetche

Definition at line 24 of file AliMpHelper.h.

Constructor & Destructor Documentation

AliMpHelper::AliMpHelper ( )

Default (empty) ctor.

Definition at line 40 of file AliMpHelper.cxx.

AliMpHelper::~AliMpHelper ( )
virtual

Dtor.

Definition at line 48 of file AliMpHelper.cxx.

Member Function Documentation

TMap * AliMpHelper::Decode ( const TString &  s)
static
Todo:
add comment

Definition at line 57 of file AliMpHelper.cxx.

Bool_t AliMpHelper::Decode ( const TMap &  m,
const TString &  key,
TString &  value 
)
static
Todo:
add comment

Definition at line 86 of file AliMpHelper.cxx.

void AliMpHelper::DecodeName ( const char *  manus,
char  sep,
TArrayI &  theList 
)
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().

void AliMpHelper::GetRange ( const char *  str,
Int_t &  begin,
Int_t &  end,
Int_t &  incr,
Int_t &  n 
)
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().


The documentation for this class was generated from the following files: