#include "horaslowpartition.h" |
HOraSlowPartition
class description - source file - inheritance tree (.pdf)
private:
void clearRates()
void clearRunPeriods()
void deleteGraph()
public:
HOraSlowPartition(const char* name)
HOraSlowPartition(const HOraSlowPartition&)
~HOraSlowPartition()
static TClass* Class()
const char* getEndTime() const
HOraSlowPeriod* getPeriod(Int_t)
TGraph* getRatesGraph(Int_t mStyle = 7, Int_t mColor = 4)
HOraSlowPeriod* getRun(Int_t)
HOraSlowPeriod* getRun(const char*)
TObjArray* getRunPeriods()
const char* getStartTime() const
virtual TClass* IsA() const
HOraSlowPartition& operator=(const HOraSlowPartition&)
void print(Int_t opt = 0)
void printRates()
void setEndTime(const char* t)
void setHldFileFilter(TList* l)
TObjArray* setNumPeriods(Int_t)
void setRates(TObjArray* p)
void setStartTime(const char* t)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void write(fstream& fout, Int_t opt = 0)
void writeRates(fstream& fout)
private:
TString partition Name of the data partition
TString startTime Start time of the data (format yyyy-mm-dd hh:mi:ss)
TString endTime End time of the data (format yyyy-mm-dd hh:mi:ss)
TObjArray* pRunPeriods Array of time periods or runs
TIterator* periodIter Iterator on pRunPeriods
TObjArray* pRates Array of archiver rates
TIterator* ratesIter Iterator on pRates
TGraph* pGraph Pointer to the graph showing the archiver rates
HOraSlowPartition
Class for a slowcontrol data partition
HOraSlowPartition(const char* name)
Constructor with argument name = name for the data partition
~HOraSlowPartition()
Destructor
void clearRunPeriods()
Deletes the array of periods
void clearRates()
Deletes the array of archiver rates
void deleteGraph()
Deletes the graph of the archiver rates
TObjArray* setNumPeriods(Int_t n)
Creates an array of size n for the periods
void setRates(TObjArray* p)
Sets the array of archiver rates
HOraSlowPeriod* getPeriod(Int_t i)
Returns the pointer to the period at index i in the array
HOraSlowPeriod* getRun(Int_t runId)
Returns the pointer to the period corresponding to the run with id runId
HOraSlowPeriod* getRun(const char* fname)
Returns the pointer to the period corresponding to the run with hld-filename fname
void print(Int_t opt)
Prints the data of all periods to stdout
option opt 0 = all periods
1 = only hld-files
2 = apply hld-file filter
void write(fstream& fout,Int_t opt)
Streams the data of all periods
option opt 0 = all periods
1 = only hld-files
2 = apply hld-file filter
void setHldFileFilter(TList* l)
Takes a list of hld-filenames, loops over all periods and sets a flag in the corresponding periods
Depending on the option, this filter is used to show the data or to skip the periods not in the list
void printRates()
Prints the archiver rates to stdout
void writeRates(fstream& fout)
Streams the archiver rates
TGraph* getRatesGraph(Int_t mStyle,Int_t mColor)
Returns a graph of the archiver rates
Default style: 7, default color 4 (blue)
Inline Functions
void setStartTime(const char* t)
void setEndTime(const char* t)
const char* getStartTime() const
const char* getEndTime() const
TObjArray* getRunPeriods()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HOraSlowPartition HOraSlowPartition(const HOraSlowPartition&)
HOraSlowPartition& operator=(const HOraSlowPartition&)
Last update: Fri Jan 26 12:19:52 2007
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.