![]() |
KaliVeda
Toolkit for HIC analysis
|
Author:
Definition at line 72 of file GTDataParameters.h.
#include <GTDataParameters.h>
Public Member Functions | |
GTDataParameters (void) | |
Default constructor. Don't create anything yet. More... | |
~GTDataParameters (void) | |
int | Fill (const char *buffParam) |
int | GetIndex (const TString parName) const |
Return the index number corresponding to a text label. More... | |
const TList * | GetList () const |
Int_t | GetMaxIndex () const |
GTDataPar * | GetPar (const int index) const |
Return the parameter corresponding to the parameter number. More... | |
GTDataPar * | GetPar (const TString parName) const |
Return the parameter corresponding to the parameter name. More... | |
const char * | GetParName (const int index) const |
Return the text label name corresponding to a parameter number. More... | |
Private Member Functions | |
char * | CopyParam (char *Dest, char *Source) const |
Small utility routine to copy a char string. More... | |
Private Attributes | |
TList * | fList |
Int_t | fMaxIndex |
but OK for now. More... | |
GTDataParameters::GTDataParameters | ( | void | ) |
Default constructor. Don't create anything yet.
Definition at line 40 of file GTDataParameters.cpp.
GTDataParameters::~GTDataParameters | ( | void | ) |
Definition at line 52 of file GTDataParameters.cpp.
|
private |
Small utility routine to copy a char string.
Definition at line 63 of file GTDataParameters.cpp.
int GTDataParameters::Fill | ( | const char * | buffParam | ) |
Data from the parameter buffet (buffParam) have been read from disk and is parsed by this routine who create the list of labels and corresponding index. Returns largest parameter number (not necessarily same as total number of parameters)
Definition at line 86 of file GTDataParameters.cpp.
int GTDataParameters::GetIndex | ( | const TString | parName | ) | const |
Return the index number corresponding to a text label.
Definition at line 120 of file GTDataParameters.cpp.
|
inline |
Definition at line 85 of file GTDataParameters.h.
|
inline |
Definition at line 81 of file GTDataParameters.h.
GTDataPar * GTDataParameters::GetPar | ( | const int | index | ) | const |
Return the parameter corresponding to the parameter number.
Definition at line 152 of file GTDataParameters.cpp.
GTDataPar * GTDataParameters::GetPar | ( | const TString | parName | ) | const |
Return the parameter corresponding to the parameter name.
Definition at line 169 of file GTDataParameters.cpp.
const char * GTDataParameters::GetParName | ( | const int | index | ) | const |
Return the text label name corresponding to a parameter number.
Definition at line 136 of file GTDataParameters.cpp.
|
private |
Parameters List, maybe a better structure could be made
Definition at line 91 of file GTDataParameters.h.
|
private |
but OK for now.
largest parameter number in parameter list
Definition at line 93 of file GTDataParameters.h.