#include "hscschannel.h"

HScsChannel


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

class HScsChannel : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
HScsChannel

    public:
HScsChannel(const char* name) HScsChannel(const HScsChannel&) ~HScsChannel() static TClass* Class() void clear() const char* getChannelType() const Double_t getMaxVal() Double_t getMean() Double_t getMinVal() Int_t getNumRawData() Double_t getPreviousVal() TObjArray* getRawData() Double_t getSigma() Int_t getStatus() Int_t getValuePrecision() virtual TClass* IsA() const HScsChannel& operator=(const HScsChannel&) void print() void setChannelType(const char* s) void setMaxValue(Double_t v) void setMean(Double_t v) void setMinValue(Double_t v) void setPreviousVal(Double_t v) void setRawData(TObjArray*) void setSigma(Double_t v) void setStatus(Int_t n) void setValuePrecision(Int_t n) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void write(fstream&)

Data Members

    private:
TString channelType Type of the channel Int_t valPrecision Precision of the values Double_t mean Mean value (weighted mean over run) Double_t sigma Sigma of mean value Double_t minVal Minimum value Double_t maxVal Maximum value Double_t previousVal Last value before actual run start Int_t status Status flag TObjArray* pRawData Array of raw data

Class Description


  HScsRawChannel

  Class for the raw data of a slowcontrol channel
  The timestamp is stored in two UInt_t variables fDate and fTime
  for direct comparison with the time in the event header


  HScsChannel

  Class for the summary data of a slowcontrol channel
  Contains the raw data in a TObjArray



HScsChannel(const char* name)
 Constructor with channel name

~HScsChannel()
 Destructor (deletes the array of raw data)

void clear()
 Clears the data and deletes the array of raw data

void setRawData(TObjArray* pArray)
 Sets the array of raw data
 An existing array is deleted before.

Int_t getNumRawData()
 Returns the number of raw data

void print()
 Prints the data to stdout

void write(fstream& fout)
 Writes the data to fstream



Inline Functions


                void setChannelType(const char* s)
                void setValuePrecision(Int_t n)
                void setMean(Double_t v)
                void setSigma(Double_t v)
                void setMinValue(Double_t v)
                void setMaxValue(Double_t v)
                void setPreviousVal(Double_t v)
                void setStatus(Int_t n)
         const char* getChannelType() const
               Int_t getValuePrecision()
            Double_t getMean()
            Double_t getSigma()
            Double_t getMinVal()
            Double_t getMaxVal()
            Double_t getPreviousVal()
               Int_t getStatus()
          TObjArray* getRawData()
             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
                void StreamerNVirtual(TBuffer& b)
         HScsChannel HScsChannel(const HScsChannel&)
        HScsChannel& operator=(const HScsChannel&)


Last update: Mon Feb 5 16:52:51 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.