KaliVeda
1.13/01
Heavy-Ion Analysis Toolkit
|
To store calibration parameters in a database ,.
Definition at line 33 of file KVDBParameterSet.h.
Public Member Functions | |
KVDBParameterSet () | |
KVDBParameterSet (const Char_t *name, const Char_t *type, UShort_t pnum) | |
virtual | ~ KVDBParameterSet () |
Double_t | GetParameter (TString name) const |
Double_t | GetParameter (UShort_t i=0) const |
const KVNameValueList & | GetParameters () const |
const Char_t * | GetParamName (UShort_t i=0) const |
Int_t | GetParamNumber () const |
KVRList * | GetRuns () const |
TString | GetStringParameter (const TString &name) const |
Bool_t | HasParameter (const Char_t *name) const |
void | Print (Option_t *option="") const |
void | SetParameter (const TString &name, const char *value) |
void | SetParameter (Double_t val) |
void | SetParameter (TString name, Double_t val) |
void | SetParameter (UShort_t i, Double_t val) |
void | SetParameters (const std::vector< Double_t > *const pars) |
void | SetParameters (Double_t val,...) |
void | SetParamName (UShort_t i, const Char_t *name) |
void | SetParamNames (const Char_t *name,...) |
![]() | |
KVDBRecord () | |
KVDBRecord (const Char_t *name, const Char_t *title="") | |
virtual | ~ KVDBRecord () |
virtual KVDBKey * | AddKey (const Char_t *name, const Char_t *title, Bool_t check=kTRUE) |
virtual Bool_t | AddKey (KVDBKey *key, Bool_t check=kTRUE) |
virtual Bool_t | AddLink (const Char_t *key_name, KVDBRecord *rec, Bool_t linkback=kTRUE) |
virtual Int_t | Compare (const TObject *obj) const |
virtual KVDBKey * | GetKey (const Char_t *key) const |
virtual TList * | GetKeys () const |
virtual KVDBRecord * | GetLink (const Char_t *key, const Char_t *link) const |
Returns the record named "link" in the table named "key". More... | |
virtual KVRList * | GetLinks (const Char_t *key) const |
Returns the list of records linked to this record in table "key". More... | |
virtual Int_t | GetNumber () const |
virtual KVDBTable * | GetTable () const |
virtual void | ls (Option_t *option="*") const |
virtual void | RemoveAllLinks (const Char_t *key) |
Remove all links between this record and the records in the DB table"key_name". More... | |
virtual void | RemoveLink (const Char_t *key_name, KVDBRecord *rec, Bool_t linkback=kTRUE) |
Remove the link between this record and the record "rec" in the DB table"key_name". More... | |
virtual void | SetNumber (Int_t n) |
virtual void | SetTable (const KVDBTable *table) |
![]() | |
TFolder () | |
TFolder (const char *name, const char *title) | |
virtual | ~TFolder () |
virtual void | Add (TObject *obj) |
TFolder * | AddFolder (const char *name, const char *title, TCollection *collection=0) |
virtual void | Browse (TBrowser *b) |
virtual void | Clear (Option_t *option="") |
virtual void | Copy (TObject &) const |
virtual const char * | FindFullPathName (const char *name) const |
virtual const char * | FindFullPathName (const TObject *obj) const |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
virtual TObject * | FindObjectAny (const char *name) const |
TCollection * | GetListOfFolders () const |
Bool_t | IsFolder () const |
Bool_t | IsOwner () const |
virtual Int_t | Occurence (const TObject *obj) const |
virtual void | RecursiveRemove (TObject *obj) |
virtual void | Remove (TObject *obj) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
virtual void | SetOwner (Bool_t owner=kTRUE) |
![]() | |
TNamed () | |
TNamed (const char *name, const char *title) | |
TNamed (const TNamed &named) | |
TNamed (const TString &name, const TString &title) | |
virtual | ~TNamed () |
virtual TObject * | Clone (const char *newname="") const |
virtual void | FillBuffer (char *&buffer) |
virtual const char * | GetName () const |
virtual const char * | GetTitle () const |
virtual ULong_t | Hash () const |
virtual Bool_t | IsSortable () const |
TNamed & | operator= (const TNamed &rhs) |
virtual void | SetName (const char *name) |
virtual void | SetNameTitle (const char *name, const char *title) |
virtual void | SetTitle (const char *title="") |
virtual Int_t | Sizeof () const |
![]() | |
TObject () | |
TObject (const TObject &object) | |
virtual | ~TObject () |
void | AbstractMethod (const char *method) const |
virtual void | AppendPad (Option_t *option="") |
ULong_t | CheckedHash () |
virtual const char * | ClassName () 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 TObject * | DrawClone (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=0) |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
virtual Option_t * | GetDrawOption () const |
virtual const char * | GetIconName () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual Option_t * | GetOption () const |
virtual UInt_t | GetUniqueID () const |
virtual Bool_t | HandleTimer (TTimer *timer) |
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 Bool_t | IsEqual (const TObject *obj) const |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
R__ALWAYS_INLINE Bool_t | IsZombie () 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 * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
virtual void | Paint (Option_t *option="") |
virtual void | Pop () |
virtual Int_t | Read (const char *name) |
void | ResetBit (UInt_t f) |
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 | 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=0, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Protected Attributes | |
KVNameValueList | fParameters |
parameters More... | |
Int_t | fParamNumber |
number of parameters More... | |
![]() | |
TString | fFullPathTable |
full path to parent table in folder structure More... | |
Int_t | fNumber |
number which can be used to identify/sort record More... | |
![]() | |
TCollection * | fFolders |
Bool_t | fIsOwner |
![]() | |
TString | fName |
TString | fTitle |
![]() | |
kOnlyPrepStep | |
Additional Inherited Members | |
![]() | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
![]() | |
static Longptr_t | GetDtorOnly () |
static Bool_t | GetObjectStat () |
static void | SetDtorOnly (void *obj) |
static void | SetObjectStat (Bool_t stat) |
![]() | |
kBitMask | |
kCanDelete | |
kCannotPick | |
kHasUUID | |
kInconsistent | |
kInvalidObject | |
kIsOnHeap | |
kIsReferenced | |
kMustCleanup | |
kNoContextMenu | |
kNotDeleted | |
kObjInCanvas | |
kOverwrite | |
kSingleKey | |
kWriteDelete | |
kZombie | |
![]() | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
void | MakeZombie () |
#include <KVDBParameterSet.h>
KVDBParameterSet::KVDBParameterSet | ( | ) |
Definition at line 32 of file KVDBParameterSet.cpp.
Initialise a KVDBRecord for a set of "pnum" parameters. The names of the parameters are "par_1", "par_2", etc. The KVDBKey "Runs" is initialised to cross-reference the runs for which this set of parameters is valid.
Definition at line 45 of file KVDBParameterSet.cpp.
|
virtual |
Definition at line 125 of file KVDBParameterSet.cpp.
Definition at line 74 of file KVDBParameterSet.h.
|
inline |
Definition at line 56 of file KVDBParameterSet.h.
Definition at line 79 of file KVDBParameterSet.h.
|
inline |
Definition at line 44 of file KVDBParameterSet.h.
|
inline |
Definition at line 84 of file KVDBParameterSet.h.
Definition at line 134 of file KVDBParameterSet.cpp.
Definition at line 52 of file KVDBParameterSet.h.
Reimplemented from KVDBRecord.
Definition at line 192 of file KVDBParameterSet.cpp.
Definition at line 152 of file KVDBParameterSet.cpp.
Definition at line 93 of file KVDBParameterSet.h.
Definition at line 143 of file KVDBParameterSet.cpp.
Definition at line 88 of file KVDBParameterSet.h.
Definition at line 100 of file KVDBParameterSet.cpp.
Be cautious when using this method, if the number of arguments is lower than the expected number of parameters a segmantation fault will occur !!!!! exceeding argument won't be considered at all
Definition at line 77 of file KVDBParameterSet.cpp.
Definition at line 116 of file KVDBParameterSet.cpp.
Be cautious when using this method, if the number of arguments is lower than the expected number of parameters a segmantation fault will occur !!!!! exceeding argument won't be considered at all
Definition at line 164 of file KVDBParameterSet.cpp.
|
protected |
parameters
Definition at line 36 of file KVDBParameterSet.h.
|
protected |
number of parameters
Definition at line 35 of file KVDBParameterSet.h.