|
BrParameterDbManagerclass description - source file - inheritance tree class BrParameterDbManager : public TObjectprivate: Data Membersprivate: Class DescriptionBrParameterDbManager() CTOR - DO NOT USE - use Instance instead BrParameterDbManager* Instance() Get an isntance of the manager ~BrParameterDbManager() DTOR void SetDbParameterFileName(Char_t* filename) Set the parameter file name, usually "DetectorParameters.txt" is fine Bool_t Open(Char_t* filename) Open the parameter file TObject* GetDetectorParameters(const Char_t* classname, const Char_t* detector) Return a pointer to the concrete class. This is the only place where specific references to concrete class are given. But in order to avoid cyclic dependencies, references are made indirectly through the TMethodCall interface. That also makes this routine much more general. It should not have to be modified whenever a new parameter class is added. The only thing one has to take care of is that the parameter class inherits from TObject, or better yet (I think) TNamed. They must also have a constructor with 3 arguments that are Char_t *'s, eg BrDetectorParamsTof::BrDetectorParamsTof(Char_t *name,Char_t *title,Char_t *filename) BrDbObject* GetDbObject(const Char_t* classname, const Char_t* detector) Find a geometry database member with the requested detector and in the given class. void List() List the currently registered parameter objects. Inline Functionsvoid SetDebugLevel(Int_t level) void SetOptionDefaultParameters() TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) BrParameterDbManager BrParameterDbManager(BrParameterDbManager&) |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|