#include "horaslowchannel.h"

HOraSlowChannel


class description - source file - inheritance tree (.pdf)

class HOraSlowChannel : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
HOraSlowChannel
    private:
void clearRawData() void clearRunSumData() void deleteGraph() void deleteRawGraph() public:
HOraSlowChannel(const char* name) HOraSlowChannel(const HOraSlowChannel&) ~HOraSlowChannel() static TClass* Class() Int_t getChannelId() const char* getChannelType() const Int_t getMaxPrecision() TObjArray* getMetaData() TObjArray* getRawData() TGraph* getRawDataGraph(Int_t mStyle = 7, Int_t mColor = 4) TObjArray* getRunSumData() TGraphAsymmErrors* getRunSumMeanMinMaxGraph(Int_t opt = 0, Int_t mStyle = 7, Int_t mColor = 2) TGraphErrors* getRunSumMeanSigmaGraph(Int_t opt = 0, Int_t mStyle = 7, Int_t mColor = 4) virtual TClass* IsA() const HOraSlowChannel& operator=(const HOraSlowChannel&) void printMetaData() void printRawData() void printRunSumData(Int_t opt = 0) Bool_t readRawData(Int_t) Bool_t readRawData(const char*, const char*) void setChannelId(Int_t n) void setChannelType(const char* s) void setMaxPrecision(Int_t n) void setMetaData(TObjArray*) void setPartition(HOraSlowPartition*) void setRawData(TObjArray*, const char*, const char*) void setRunSumData(TObjArray*) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void writeMetaData(fstream&) void writeRawData(fstream&) void writeRunSumData(fstream&, Int_t opt = 0)

Data Members

    private:
Int_t channelId Id of the channel in Oracle TString channelType Type of the channel Int_t maxPrecision Maximum precision of the values in the actual timerange TObjArray* pRunSumData Array of summary data (object type HOraSlowChanRunSum) TObjArray* pMetaData Array of meta data (object type HOraSlowChanMata) TIterator* runSumDataIter Iterator on the array of summary data TGraph* pGraph Graph of the summary data TGraph* pRawGraph Graph of the raw data HOraSlowPartition* partition Pointer to the actual partition TObjArray* pRawData Array of the raw data TString rawStart Start time of the raw data TString rawEnd End time of the raw data TIterator* rawIter Iterator on the array of raw data

Class Description


 HOraSlowChannel

 Class for a slowcontrol channel



HOraSlowChannel(const char* name)
 Constructor with argument channel name

~HOraSlowChannel()
 Destructor

void deleteGraph()
 Deletes the graph of the summary data

void deleteRawGraph()
 Deletes the graph of the raw data

void clearRunSumData()
 Clears all

void clearRawData()
 Deletes the raw data and the corresponding graph

void setPartition(HOraSlowPartition* p)
 Sets the partition pointer and clears all summary data

void setRunSumData(TObjArray* p)
 Sets the pointer to the array of summary data and creates the iterator

void setRawData(TObjArray* p,const char* t1,const char* t2)
 Sets the pointer to the array of raw data in the time interval t1 - t2
 and creates the iterator

void setMetaData(TObjArray* p)
 Sets the pointer to the array of meta data

void printMetaData()
 Prints the meta data to stdout

void writeMetaData(fstream& fout)
 Streams the meta data

void printRunSumData(Int_t opt)
 Prints the summary data to stdout
 option opt 0 = all periods
            1 = only hld-files
            2 = apply hld-file filter

void writeRunSumData(fstream& fout,Int_t opt)
 Streams the summary data to stdout
 option opt 0 = all periods
            1 = only hld-files
            2 = apply hld-file filter

Bool_t readRawData(Int_t index)
 Reads the raw data of a period specified by the array index

Bool_t readRawData(const char* t1, const char* t2)
 Reads the raw data of a period specified by a time range t1 - t2

void printRawData()
 Prints the raw data to stdout

void writeRawData(fstream& fout)
 Streams the raw data

TGraphErrors* getRunSumMeanSigmaGraph(Int_t opt, Int_t mStyle,Int_t mColor)
 Returns a graph with mean and sigma values
 Default style: 7, default color 4 (blue)
 option opt 0 = all periods
            1 = only hld-files
            2 = apply hld-file filter
 The x-axis is the index of the periods

TGraphAsymmErrors* getRunSumMeanMinMaxGraph(Int_t opt, Int_t mStyle,Int_t mColor)
 Returns a graph with the mean value and the min and max values as error bar
 Default style: 7, default color 2 (red)
 option opt 0 = all periods
            1 = only hld-files
            2 = apply hld-file filter
 The x-axis is the index of the periods

TGraph* getRawDataGraph(Int_t mStyle,Int_t mColor)
 Returns a graph of the raw data
 Default style: 7, default color 4 (blue)



Inline Functions


                    void setChannelId(Int_t n)
                    void setChannelType(const char* s)
                    void setMaxPrecision(Int_t n)
                   Int_t getChannelId()
             const char* getChannelType() const
                   Int_t getMaxPrecision()
              TObjArray* getRunSumData()
              TObjArray* getMetaData()
              TObjArray* getRawData()
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
         HOraSlowChannel HOraSlowChannel(const HOraSlowChannel&)
        HOraSlowChannel& operator=(const HOraSlowChannel&)


Last update: 13/04/2005 by Ilse Koenig


ROOT page - Class index - Class Hierarchy - Top of the page

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.