class HOraSlowReader: public TObject

_HADES_CLASS_DESCRIPTION


 HOraSlowReader

 Class to read slowcontrol data from Oracle


Function Members (Methods)

public:
HOraSlowReader()
HOraSlowReader(const HOraSlowReader&)
virtual~HOraSlowReader()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
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
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
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
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
Bool_tisOpen()
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
Bool_topen()
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)
HOraSlowReader&operator=(const HOraSlowReader&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
voidprint()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
Bool_treadArchiverRates(HOraSlowPartition*)
Bool_treadChannelMetaData(HOraSlowPartition*, HOraSlowChannel*)
Bool_treadChannelRunSum(HOraSlowPartition*, HOraSlowChannel*)
Bool_treadOnlineRawData(HOraSlowChannel*, const Char_t*, const Char_t*)
Bool_treadPartition(HOraSlowPartition*)
Bool_treadRawData(HOraSlowChannel*, const Char_t*, const Char_t*)
Bool_treadRunPeriods(HOraSlowPartition*)
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)
static voidTObject::SetObjectStat(Bool_t stat)
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 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:
Int_treadChannelId(HOraSlowChannel*)
Bool_treadOnlineArchiverRates(HOraSlowPartition*)
Int_treadOnlineChannelId(HOraSlowChannel*)
Bool_treadOnlineChannelMetaData(HOraSlowChannel*)
Bool_treadOnlineChannelRunSum(HOraSlowPartition*, HOraSlowChannel*)
Bool_treadOnlinePeriods(TObjArray*, Int_t, Int_t, Int_t)
Int_treadOnlineRawF(HOraSlowChannel*, const Char_t*, const Char_t*)
Int_treadOnlineRawI(HOraSlowChannel*, const Char_t*, const Char_t*)
Bool_treadOnlineRunPeriods(HOraSlowPartition*)
Bool_treadPeriods(Char_t*, TObjArray*, Int_t, Int_t, Int_t)
Int_treadRawF(HOraSlowChannel*, const Char_t*, const Char_t*)
Int_treadRawI(HOraSlowChannel*, const Char_t*, const Char_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:
HDbConn*pConnpointer to the connection class

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HOraSlowReader()
 Constructor
~HOraSlowReader()
 Destructor
Bool_t open()
 Opens an Oracle connection (default user account hades_ana)
void close()
 Disconnects from Oracle
Bool_t isOpen()
void print()
 Prints information about the database connection
Bool_t readPartition(HOraSlowPartition* )
 Reads the start time and end time of the data partion
Bool_t readArchiverRates(HOraSlowPartition* )
 Reads the archiver rates in the time range specified in partition
Bool_t readRunPeriods(HOraSlowPartition* )
 Reads the run periods in the partition range
Bool_t readPeriods(Char_t* , TObjArray* , Int_t , Int_t , Int_t )
 Private function to read the run periods in the partition range
EXEC SQL BEGIN DECLARE SECTION;
Int_t readChannelId(HOraSlowChannel* )
 Reads the channel id and data type of a channel
Bool_t readChannelRunSum(HOraSlowPartition* , HOraSlowChannel* )
 Reads the summary information of a channel for the given partition
Bool_t readChannelMetaData(HOraSlowPartition* , HOraSlowChannel* )
 Reads the meta information of a channel for the given partition
Bool_t readRawData(HOraSlowChannel* , const Char_t* , const Char_t* )
 Reads the raw data of a channel in the specified time range
Int_t readRawF(HOraSlowChannel* , const Char_t* , const Char_t* )
 Private funtion to reads the raw data of a channel (data type Float_t)
 in the specified time range
EXEC SQL BEGIN DECLARE SECTION;
Int_t readRawI(HOraSlowChannel* , const Char_t* , const Char_t* )
 Private funtion to reads the raw data of a channel (data type Int_t)
 in the specified time range
EXEC SQL BEGIN DECLARE SECTION;
Bool_t readOnlineArchiverRates(HOraSlowPartition* )
 Reads the online archiver rates in the time range specified in partition
EXEC SQL WHENEVER SQLERROR GOTO errorfound;
Bool_t readOnlineRunPeriods(HOraSlowPartition* )
 Reads the run periods in the online partition
Bool_t readOnlinePeriods(TObjArray* , Int_t , Int_t , Int_t )
 Private function to read the run periods in the online partition
EXEC SQL BEGIN DECLARE SECTION;
Bool_t readOnlineChannelRunSum(HOraSlowPartition* , HOraSlowChannel* )
 Reads the summary information of an onlive archived channel
Bool_t readOnlineChannelMetaData(HOraSlowChannel* )
 Reads the meta information of an online archived channel
Int_t readOnlineChannelId(HOraSlowChannel* )
 Reads the channel id and data type of an online archived channel
Bool_t readOnlineRawData(HOraSlowChannel* , const Char_t* , const Char_t* )
 Reads the raw data of an online archived channel in the specified time range
Int_t readOnlineRawF(HOraSlowChannel* , const Char_t* , const Char_t* )
 Private funtion to reads the online stored raw data of a channel
 (data type Float_t) in the specified time range
EXEC SQL BEGIN DECLARE SECTION;
Int_t readOnlineRawI(HOraSlowChannel* , const Char_t* , const Char_t* )
 Private funtion to reads the online stored raw data of a channel
 (data type Int_t) in the specified time range
EXEC SQL BEGIN DECLARE SECTION;
HOraSlowReader()

Last change: Sat May 22 13:05:52 2010
Last generated: 2010-05-22 13:05

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.