BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrDbVolumePlatformMap


class description - source file - inheritance tree

class BrDbVolumePlatformMap : public BrDbTable


    public:
BrDbVolumePlatformMap BrDbVolumePlatformMap() BrDbVolumePlatformMap BrDbVolumePlatformMap(const Char_t* volName, BrDbVolumePlatformMap::EPlatformType platformType) BrDbVolumePlatformMap BrDbVolumePlatformMap(BrDbVolumePlatformMap&) void ~BrDbVolumePlatformMap() static TClass* Class() static BrDbQuery* Create() virtual const Char_t* GetName() const Int_t GetPlatformType() const virtual BrDbQuery* Insert() virtual TClass* IsA() const static TObjArray* MultipleInstance(TSQLResult*) void SetName(const Char_t* name) virtual void ShowMembers(TMemberInspector& insp, char* parent) static BrDbVolumePlatformMap* SingleInstance(TSQLRow*) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Char_t fName[64] Volume name Int_t fPlatformType platform type public:
static const BrDbVolumePlatformMap::EPlatformType kFFS static const BrDbVolumePlatformMap::EPlatformType kBFS static const BrDbVolumePlatformMap::EPlatformType kMRS static const BrDbVolumePlatformMap::EPlatformType kGlobal static const BrDbVolumePlatformMap::EPlatformType kNone static const BrDbVolumePlatformMap::EPlatformType kUnknown static const Char_t* kTableName

Class Description

 BrDbVolumePlatformMap 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 Functions


                const 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>
Last Update on 2001/08/03 11:12:38 $ by hagel $

Validate HTML
Validate CSS