BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrDbMagnetVolume


class description - source file - inheritance tree

class BrDbMagnetVolume : public BrDbTable

    private:
void SetFieldFilename(const Char_t* name) void SetName(const Char_t* name) void SetRevisionId(Int_t revision) public:
BrDbMagnetVolume BrDbMagnetVolume() BrDbMagnetVolume BrDbMagnetVolume(const Char_t* name, Int_t validstart, Int_t validstop, Int_t fromstart, Int_t fromend, Int_t date, Double_t zmin, Double_t zmax, BrDbMagnetVolume::EFieldTypes fieldType = kFieldTypeAnalytical, const Char_t* fieldFilename = "0", BrDbMagnetVolume::ERunTypes runType = kTypeData) BrDbMagnetVolume BrDbMagnetVolume(BrDbMagnetVolume&) void ~BrDbMagnetVolume() static TClass* Class() static BrDbQuery* Create() Double_t GetBackEdge() const Int_t GetDate() const const Char_t* GetFieldFilename() const Int_t GetFieldType() const Int_t GetFromEnd() const Int_t GetFromStart() const Double_t GetFrontEdge() const virtual const Char_t* GetName() const Int_t GetRevisionId() const Int_t GetRunType() const Int_t GetValidStart() const Int_t GetValidStop() const virtual BrDbQuery* Insert() virtual TClass* IsA() const static TObjArray* MultipleInstance(TSQLResult*) virtual void ShowMembers(TMemberInspector& insp, char* parent) static BrDbMagnetVolume* SingleInstance(TSQLRow*) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Char_t fName[64] Magnet name Int_t fValidStart Start time that these values are valid (UNIX time) Int_t fValidStop Stop time for these values to be valid (UNIX time) Int_t fFromStart Start time for basis for revsion Int_t fFromEnd End time for basis for revsion Int_t fDate Date of creation Double_t fFrontEdge Z of front edge Double_t fBackEdge Z of back edge Int_t fFieldType Type of field; Char_t fFieldFilename[64] Name of file containing field data if field Int_t fRunType Type of run this entry used for, ie data or simul. Int_t fRevisionId RevisionId public:
static const BrDbMagnetVolume::EFieldTypes kFieldTypeAnalytical static const BrDbMagnetVolume::ERunTypes kTypeData static const BrDbMagnetVolume::ERunTypes kTypeSimulation static const Char_t* kTableName

Class Description

 BrDbMagnetVolume is a class that maps onto the BRAHMS DB
 magnet parameter tables.  This table has only information on the magnet
 which goes beyond the information contained in BrDbDetectorVolume.
 At the moment (3-May-2001), that is frontEdge and backEdge.
 It is anticipated that in the future, this class might also be
 extended to contain field maps.



BrDbMagnetVolume(void)
 Empty default constructor.

BrDbMagnetVolume(const Char_t *name, Int_t validstart, Int_t validstop, Int_t fromstart, Int_t fromend, Int_t date, Double_t frontEdge, Double_t backEdge, EFieldTypes fieldType, const Char_t *fieldFilename, ERunTypes runType)
 Constructor.

BrDbQuery* Create(void)
 Returns a SQL query string suitable for creation of this table in
 a database.

BrDbMagnetVolume* SingleInstance(TSQLRow* row)
 Returns an instance of a BrDbMagnetVolume. User needs to store this
 object immediately.

TObjArray* MultipleInstance(TSQLResult* res)
 Returns an (1D) array of BrDbMagnetVolume'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

void SetFieldFilename(const Char_t *name)
Set the detector name



Inline Functions


                    void SetRevisionId(Int_t revision)
           const Char_t* GetName() const
                   Int_t GetValidStart() const
                   Int_t GetValidStop() const
                   Int_t GetFromStart() const
                   Int_t GetFromEnd() const
                   Int_t GetDate() const
                Double_t GetFrontEdge() const
                Double_t GetBackEdge() const
                   Int_t GetFieldType() const
           const Char_t* GetFieldFilename() const
                   Int_t GetRunType() const
                   Int_t GetRevisionId() const
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
        BrDbMagnetVolume BrDbMagnetVolume(BrDbMagnetVolume&)
                    void ~BrDbMagnetVolume()

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2002/06/06 23:04:22 $ by hagel $

Validate HTML
Validate CSS