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 TListGetList () 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...
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 
virtual ~TObject ()
 
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void Copy (TObject &object) const
 
virtual void Delete (Option_t *option="")
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual void Draw (Option_t *option="")
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *option="") const
 
virtual void Dump () const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual const char * GetName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
virtual ULong_t Hash () const
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
virtual void Inspect () const
 
void InvertBit (UInt_t f)
 
virtual TClassIsA () const
 
Bool_t IsDestructed () const
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 
void MayNotUse (const char *method) const
 
virtual Bool_t Notify ()
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *vp)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, void *vp)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Paint (Option_t *option="")
 
virtual void Pop ()
 
virtual void Print (Option_t *option="") const
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetDrawOption (Option_t *option="")
 
virtual void SetUniqueID (UInt_t uid)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 

Private Member Functions

char * CopyParam (char *Dest, char *Source) const
 Small utility routine to copy a char string. More...
 

Private Attributes

TListfList
 
Int_t fMaxIndex
 but OK for now. More...
 

Additional Inherited Members

- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

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.