|
BrDbVolumePlatformMapclass description - source file - inheritance tree class BrDbVolumePlatformMap : public BrDbTablepublic: Data Membersprivate: Class DescriptionBrDbVolumePlatformMap is a class that maps the various brahms detector volumes in the geometry db to the platform they are sitting on. This is necessary because detector volumes will be sorted by spectrometer angle and when asking for the angle from the run db, it will be necessary to know whether we will sort on the FS angle or the MRS angle. So the idea is to first take the volume requested, extract the platform it is sitting on from this table, then request the proper angle from the run db using this information. Finally one can obtain the detector volumes sorted by the proper angle from the geometry db. BrDbVolumePlatformMap(void) Empty default constructor. BrDbVolumePlatformMap(const Char_t *name, EPlatformType platformType) Constructor. BrDbQuery* Create(void) Returns a SQL query string suitable for creation of this table in a database. BrDbVolumePlatformMap* SingleInstance(TSQLRow* row) Returns an instance of a BrDbVolumePlatformMap. User needs to store this object immediately. TObjArray* MultipleInstance(TSQLResult* res) Returns an (1D) array of BrDbVolumePlatformMap's matching Query that made the TSQLResult. User need to store this immediately. BrDbQuery* Insert(void) void SetName(const Char_t *name) Set the detector name Inline Functionsconst Char_t* GetName() const Int_t GetPlatformType() const TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) BrDbVolumePlatformMap BrDbVolumePlatformMap(BrDbVolumePlatformMap&) void ~BrDbVolumePlatformMap() |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|