class HGeomOraIo: public HGeomIo

_HADES_CLASS_DESCRIPTION

 HGeomOraIo

 Class for geometry I/O from Oracle
 (uses the Oracle C/C++ precompiler)


Function Members (Methods)

public:
HGeomOraIo()
HGeomOraIo(const HGeomOraIo&)
virtual~HGeomOraIo()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
Int_tcheckRunidExistence(Int_t)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual voidclose()
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Int_tgetCurrentRunId()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
const Char_t*getHistoryDate()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
const Char_t*getSimulRefRun()
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tisOpen()
virtual Bool_tTObject::IsSortable() const
virtual Bool_tisWritable()
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
Bool_topen()
virtual Bool_topen(const Char_t*, const Text_t* status = "in")
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
HGeomOraIo&operator=(const HGeomOraIo&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidprint()
virtual voidTObject::Print(Option_t* option = "") const
virtual Bool_tread(HGeomMedia*)
virtual Bool_tread(HGeomHit*)
virtual Int_tTObject::Read(const char* name)
virtual Bool_tread(HGeomSet*, HGeomMedia*)
virtual Bool_treadGeomConfig(HGeomInterface*)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual Bool_tsetHistoryDate(const Char_t*)
static voidTObject::SetObjectStat(Bool_t stat)
Bool_tsetRunId(Int_t)
virtual Bool_tsetSimulRefRun(const Char_t*)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Bool_twrite(HGeomMedia*)
virtual Bool_twrite(HGeomSet*)
Bool_twrite(HGeomHit*)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
const Char_t*calcRefTransform(HGeomNode*, HGeomTransform&)
Int_tcreateHitVersion(const Char_t* part, const Char_t* hitSet)
Int_tcreateVersion(const Char_t*, TString&, TString&)
Bool_tinsertMaterialData(Int_t, HGeomMedium*)
Bool_tinsertOpticalData(Int_t, HGeomMedium*)
Bool_tinsertVolumePoints(Int_t, HGeomNode*)
Int_treadGeomSetup()
Bool_treadMaterialComposition(HGeomMedia*, TObjArray*, Int_t)
Bool_treadOpticalProperties(HGeomMedia*, TObjArray*, Int_t)
Bool_treadPoints(TObjArray*, Int_t)
Bool_treadTarget(HGeomSet*, HGeomMedia*, Int_t, Int_t)
Bool_treadTransform(TList*)
Bool_treadVolumes(HGeomSet*, HGeomMedia*, TObjArray*, Int_t)

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
private:
TList*detVersionslist of detector versions
Double_tmaxSincelower limit for actual time range of versions
Double_tminUntilupper limit for actual time range of versions
HGeomOraConn*pConnpointer to the connection class

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HGeomOraIo()
 Constructor
~HGeomOraIo()
 default constructor closes an open connection
Bool_t open()
 opens a read-only default connection
Bool_t open(const Char_t* , const Text_t* status = "in")
 opens a database connection for user given by name
 accepts also user@dbName
 asks for password
void close()
 closes the connection with automatic ROLLBACK
void print()
 prints information about the database connection
Bool_t isOpen()
 Returns kTRUE, if the connection is open
Bool_t isWritable()
 Returns kTRUE for non-default connections with possible write access
Bool_t setSimulRefRun(const Char_t* )
 Sets the simulation reference run
const Char_t* getSimulRefRun()
 Returns the name of the simulation reference run
Bool_t setRunId(Int_t )
 Sets the run id
Int_t getCurrentRunId()
 returns the actual run id
Bool_t setHistoryDate(const Char_t* )
 Sets the date to retrieve historic data
 Returns kFALSE when the date string cannot be converted to a valid date.
const Char_t* getHistoryDate()
 Returns the history date
Bool_t readGeomConfig(HGeomInterface* )
 Reads the geometry configuration and versions
Bool_t read(HGeomMedia* media)
 Reads the media
Bool_t readMaterialComposition(HGeomMedia* , TObjArray* , Int_t )
 Reads the material composition
EXEC SQL BEGIN DECLARE SECTION;
Bool_t readOpticalProperties(HGeomMedia* , TObjArray* , Int_t )
 Reads the optical parameters
EXEC SQL BEGIN DECLARE SECTION;
Int_t readGeomSetup()
 Reads the geometry configuration and versions
Bool_t read(HGeomSet* , HGeomMedia* )
 Reads the geometry of a detector part
Bool_t readTarget(HGeomSet* , HGeomMedia* , Int_t , Int_t )
 Reads the target geometry
Bool_t readVolumes(HGeomSet* , HGeomMedia* , TObjArray* , Int_t )
 Reads the volumes
EXEC SQL BEGIN DECLARE SECTION;
Bool_t readPoints(TObjArray* , Int_t )
 Reads the points
EXEC SQL BEGIN DECLARE SECTION;
Bool_t readTransform(TList* )
 Reads the transformations
EXEC SQL BEGIN DECLARE SECTION;
Bool_t read(HGeomHit* hits)
 Reads the hit definition
Int_t createVersion(const Char_t* , TString& , TString& )
 Creates a new version in Oracle
 Returns version number or -1 if error occurred
Bool_t write(HGeomMedia* media)
 Writes the media to the LAOD tables in Oracle
Bool_t insertMaterialData(Int_t , HGeomMedium* )
 Writes the materials to the LAOD tables in Oracle
Bool_t insertOpticalData(Int_t , HGeomMedium* )
 Writes the optical parameters to the LAOD tables in Oracle
Bool_t write(HGeomSet* set)
 Writes the geometry of a detector part to the LAOD tables in Oracle
Bool_t insertVolumePoints(Int_t , HGeomNode* )
 Writes the points to the LAOD tables in Oracle
const Char_t* calcRefTransform(HGeomNode* , HGeomTransform& )
 Calculates the transformation in the reference coordinate system
Int_t checkRunidExistence(Int_t )
 Checks, if a run id exixts already (used by the run id generator)
Int_t createHitVersion(const Char_t* part, const Char_t* hitSet)
 Create a new version for the hits in Oracle
 Returns version number or -1 if error occurred
Bool_t write(HGeomHit* hits)
 Stores the hit definition in Oracle
HGeomOraIo()

Last change: Sat May 22 12:56:29 2010
Last generated: 2010-05-22 12:56

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.