Pluto » PLUTO » PDataBase

class PDataBase: public TObject

Function Members (Methods)

public:
virtual~PDataBase()
voidTObject::AbstractMethod(const char* method) const
Int_tAddEntry(const char* name)
Bool_tAddEntry(Int_t key, const char* name)
Int_tAddListEntry(const char* name, const char* count, const char* link, const char* newname)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
ULong_tTObject::CheckedHash()
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
char*GetDescription(const char* paramname)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tGetEntry(const char* name)
Int_tGetEntryInt(const char* paramname, Int_t value)
Int_tGetEntryInt(Int_t pkey, Int_t value)
voidGetFastParamDouble(const char* paramname, Int_t* pkey)
voidGetFastParamInt(const char* paramname, Int_t* pkey)
voidGetFastParamString(const char* paramname, Int_t* pkey)
voidGetFastParamTObj(const char* paramname, Int_t* pkey)
virtual const char*TObject::GetIconName() const
const char*GetName(Int_t key)
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Int_tGetParamDouble(const char* paramname)
Bool_tGetParamDouble(Int_t key, const char* paramname, Double_t** result)
Bool_tGetParamDouble(Int_t key, Int_t pkey, Double_t** result)
Bool_tGetParamDouble(const char* name, const char* paramname, Double_t** result)
Bool_tGetParamDouble(const char* paramname1, Int_t value1, const char* paramname2, Double_t** result)
Bool_tGetParamDouble(Int_t pkey1, Int_t value1, Int_t pkey2, Double_t** result)
Int_tGetParamInt(const char* paramname, Int_t length = -1)
Bool_tGetParamInt(Int_t key, Int_t pkey, Int_t** result)
Bool_tGetParamInt(Int_t key, Int_t pkey, Int_t* result)
Bool_tGetParamInt(const char* name, const char* paramname, Int_t** result)
Bool_tGetParamInt(Int_t key, const char* paramname, Int_t** result, Int_t length = -1)
Bool_tGetParamInt(const char* paramname1, Int_t value1, const char* paramname2, Int_t** result)
Bool_tGetParamInt(Int_t pkey1, Int_t value1, Int_t pkey2, Int_t** result)
Int_tGetParamString(const char* paramname)
Bool_tGetParamString(Int_t key, const char* paramname, const char** result)
Bool_tGetParamString(Int_t key, Int_t pkey, const char** result)
Bool_tGetParamString(const char* name, const char* paramname, const char** result)
Bool_tGetParamString(const char* paramname1, Int_t value1, const char* paramname2, const char** result)
Bool_tGetParamString(Int_t pkey1, Int_t value1, Int_t pkey2, const char** result)
Int_tGetParamTObj(const char* paramname)
Bool_tGetParamTObj(Int_t key, const char* paramname, TObject** result)
Bool_tGetParamTObj(Int_t key, Int_t pkey, TObject** result)
Bool_tGetParamTObj(const char* name, const char* paramname, TObject** result)
Bool_tGetParamTObj(const char* paramname1, Int_t value1, const char* paramname2, TObject** result)
Bool_tGetParamTObj(Int_t pkey1, Int_t value1, Int_t pkey2, TObject** result)
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
Bool_tTObject::HasInconsistentHash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
Bool_tListEntries(Int_t key = -1, Int_t option = 0, const char* pattern = __null)
virtual voidTObject::ls(Option_t* option = "") const
Bool_tMakeListIterator(Int_t key, const char* count, const char* link, Int_t* listkey)
Bool_tMakeListIterator(Int_t key, Int_t count, Int_t link, Int_t* listkey)
Int_tMakeParamDouble(const char* paramname, const char* descr)
Int_tMakeParamInt(const char* paramname, const char* descr)
Int_tMakeParamString(const char* paramname, const char* descr)
Int_tMakeParamTObj(const char* paramname, const char* descr)
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
PDataBase&operator=(const PDataBase&)
PDataBase&operator=(PDataBase&&)
virtual voidTObject::Paint(Option_t* option = "")
PDataBase()
PDataBase(const PDataBase&)
PDataBase(PDataBase&&)
voidPerformance()
virtual voidTObject::Pop()
virtual voidPrint(const Option_t* delme = __null) const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetFastKey(Int_t pkey, Int_t maxkey)
static voidTObject::SetObjectStat(Bool_t stat)
Bool_tSetParamDouble(Int_t key, const char* paramname, Double_t* result)
Bool_tSetParamDouble(const char* name, const char* paramname, Double_t result)
Bool_tSetParamInt(Int_t key, const char* paramname, Int_t* result)
Bool_tSetParamInt(const char* name, const char* paramname, Int_t result)
Bool_tSetParamString(Int_t key, const char* paramname, char* result)
Bool_tSetParamString(const char* name, const char* paramname, char* result)
Bool_tSetParamTObj(Int_t key, const char* paramname, TObject* result)
Bool_tSetParamTObj(Int_t key, Int_t pp, TObject* result)
Bool_tSetParamTObj(const char* name, const char* paramname, TObject* result)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
Bool_tCheckEntry(Int_t key)
virtual Bool_tCheckTObjectHashConsistency() const
Int_tConvertParamKey(const char*& newparamname, Int_t key)

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static TObject::(anonymous)TObject::kInconsistent
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EDeprecatedStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
private:
Double_t*doubles[5000][20]
Int_t*ints[5000][150]
Int_tlastkey
const char*param_double_descr[20]the parameter long description
const char*param_double_name[20]the parameter name matching the ID
Int_tparam_double_pointer
const char*param_int_descr[150]
Int_t*param_int_key[150]
Int_tparam_int_key_max[150]
const char*param_int_name[150]
Int_tparam_int_pointer
const char*param_string_descr[20]
const char*param_string_name[20]
Int_tparam_string_pointer
const char*param_tobj_descr[150]
const char*param_tobj_name[150]
Int_tparam_tobj_pointer
const char*strings[5000][20]
TObject*tobjs[5000][10]

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Bool_t CheckEntry(Int_t key)
Int_t ConvertParamKey(const char*& newparamname, Int_t key)
PDataBase()
constructor
void Performance(void)
void SetFastKey(Int_t pkey, Int_t maxkey)
return value of the makeParam's: the param_id of -1 on failure
Int_t MakeParamDouble(const char* paramname, const char* descr)
Int_t MakeParamInt(const char* paramname, const char* descr)
Int_t GetParamDouble(const char* paramname)
Int_t GetParamString(const char* paramname)
Int_t GetParamInt(const char* paramname, Int_t length = -1)
Int_t GetParamTObj(const char* paramname)
char * GetDescription(const char* paramname)
void GetFastParamInt(const char* paramname, Int_t* pkey)
void GetFastParamString(const char* paramname, Int_t* pkey)
void GetFastParamDouble(const char* paramname, Int_t* pkey)
void GetFastParamTObj(const char* paramname, Int_t* pkey)
const char * GetName(Int_t key)
getting particle/decay properties from data base
return kFALSE if 1.) key not existing or 2.) Param not existing or 3.) Param not used for entry
Bool_t GetParamDouble(Int_t key, const char* paramname, Double_t** result)
Bool_t GetParamString(Int_t key, const char* paramname, const char** result)
Bool_t GetParamInt(Int_t key, const char* paramname, Int_t** result, Int_t length = -1)
Bool_t GetParamTObj(Int_t key, const char* paramname, TObject** result)
Bool_t GetParamInt(Int_t key, Int_t pkey, Int_t** result)
same as above but with the pkey as obtained by the getFastParam's
Bool_t GetParamString(Int_t key, Int_t pkey, const char** result)
Bool_t GetParamDouble(Int_t key, Int_t pkey, Double_t** result)
Bool_t GetParamTObj(Int_t key, Int_t pkey, TObject** result)
Bool_t GetParamInt(Int_t key, Int_t pkey, Int_t* result)
setting value instead of pointer
Bool_t GetParamInt(const char* name, const char* paramname, Int_t** result)
getting param by primary name
return GetParamInt(GetEntry(name), paramname, result)
Bool_t GetParamDouble(const char* name, const char* paramname, Double_t** result)
return GetParamDouble(GetEntry(name), paramname, result)
Bool_t GetParamString(const char* name, const char* paramname, const char** result)
return GetParamString(GetEntry(name), paramname, result)
Bool_t GetParamTObj(const char* name, const char* paramname, TObject** result)
return GetParamTObj(GetEntry(name), paramname, result)
Bool_t GetParamInt(const char* paramname1, Int_t value1, const char* paramname2, Int_t** result)
Getting param by matching integer value
Bool_t GetParamDouble(const char* paramname1, Int_t value1, const char* paramname2, Double_t** result)
Bool_t GetParamString(const char* paramname1, Int_t value1, const char* paramname2, const char** result)
Bool_t GetParamTObj(const char* paramname1, Int_t value1, const char* paramname2, TObject** result)
Bool_t SetParamDouble(Int_t key, const char* paramname, Double_t* result)
Bool_t SetParamString(Int_t key, const char* paramname, char* result)
Bool_t SetParamInt(Int_t key, const char* paramname, Int_t* result)
Bool_t SetParamTObj(Int_t key, const char* paramname, TObject* result)
Bool_t SetParamTObj(Int_t key, Int_t pp, TObject* result)
faster:
Bool_t SetParamDouble(const char* name, const char* paramname, Double_t result)
Bool_t SetParamInt(const char* name, const char* paramname, Int_t result)
Bool_t SetParamString(const char* name, const char* paramname, char* result)
Bool_t SetParamTObj(const char* name, const char* paramname, TObject* result)
Bool_t AddEntry(Int_t key, const char* name)
Dealing with the entries
Int_t AddEntry(const char* name)
Int_t GetEntry(const char* name)
Int_t GetEntryInt(const char* paramname, Int_t value)
Int_t GetEntryInt(Int_t pkey, Int_t value)
Int_t AddListEntry(const char* name, const char* count, const char* link, const char* newname)
listings
Bool_t MakeListIterator(Int_t key, const char* count, const char* link, Int_t* listkey)
Bool_t MakeListIterator(Int_t key, Int_t count, Int_t link, Int_t* listkey)
Bool_t ListEntries(Int_t key = -1, Int_t option = 0, const char* pattern = __null)
void Print(const Option_t* delme = __null) const