KaliVeda
Toolkit for HIC analysis
GTDataParameters Class Reference

Detailed Description


Id
GTDataParameters.H,v 1.7 2007/09/04 14:36:47 ebonnet Exp

Author:

Author
ebonnet

Definition at line 72 of file GTDataParameters.h.

#include <GTDataParameters.h>

Inheritance diagram for GTDataParameters:

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
 
GTDataParGetPar (const int index) const
 Return the parameter corresponding to the parameter number. More...
 
GTDataParGetPar (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...
 

Constructor & Destructor Documentation

◆ GTDataParameters()

GTDataParameters::GTDataParameters ( void  )

Default constructor. Don't create anything yet.

Definition at line 40 of file GTDataParameters.cpp.

◆ ~GTDataParameters()

GTDataParameters::~GTDataParameters ( void  )

Definition at line 52 of file GTDataParameters.cpp.

Member Function Documentation

◆ CopyParam()

char * GTDataParameters::CopyParam ( char *  Dest,
char *  Source 
) const
private

Small utility routine to copy a char string.

Definition at line 63 of file GTDataParameters.cpp.

◆ Fill()

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.

◆ GetIndex()

int GTDataParameters::GetIndex ( const TString  parName) const

Return the index number corresponding to a text label.

Definition at line 120 of file GTDataParameters.cpp.

◆ GetList()

const TList* GTDataParameters::GetList ( ) const
inline

Definition at line 85 of file GTDataParameters.h.

◆ GetMaxIndex()

Int_t GTDataParameters::GetMaxIndex ( ) const
inline

Definition at line 81 of file GTDataParameters.h.

◆ GetPar() [1/2]

GTDataPar * GTDataParameters::GetPar ( const int  index) const

Return the parameter corresponding to the parameter number.

Definition at line 152 of file GTDataParameters.cpp.

◆ GetPar() [2/2]

GTDataPar * GTDataParameters::GetPar ( const TString  parName) const

Return the parameter corresponding to the parameter name.

Definition at line 169 of file GTDataParameters.cpp.

◆ GetParName()

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.

Member Data Documentation

◆ fList

TList* GTDataParameters::fList
private

Parameters List, maybe a better structure could be made

Definition at line 91 of file GTDataParameters.h.

◆ fMaxIndex

Int_t GTDataParameters::fMaxIndex
private

but OK for now.

largest parameter number in parameter list

Definition at line 93 of file GTDataParameters.h.