ROOT logo
#ifndef HORASLOWCHANMETA_H
#define HORASLOWCHANMETA_H

using namespace std;
#include "TObject.h"
#include "TString.h"
#include <iostream>
#include <iomanip>
#include <fstream>

class HOraSlowChanMeta : public TObject {
private:
  Double_t lowGraphLimit;  // lower limit for the EPICS graph
  Double_t highGraphLimit; // upper limit for the EPICS graph
  Double_t lowWarnLimit;   // lower limit for the EPICS warning
  Double_t highWarnLimit;  // upper limit for the EPICS warning 
  Double_t lowAlarmLimit;  // lower limit for the EPICS alarm
  Double_t highAlarmLimit; // upper limit for the EPICS alarm
  TString units;           // units of the values
  Int_t precision;         // precision of the values
  TString startTime;       // time since these values are valid
public:
  HOraSlowChanMeta();
  ~HOraSlowChanMeta() {}
  void setLowGraphLimit(Double_t v) {lowGraphLimit=v;}
  void setHighGraphLimit(Double_t v) {highGraphLimit=v;}
  void setLowWarnLimit(Double_t v) {lowWarnLimit=v;}
  void setHighWarnLimit(Double_t v) {highWarnLimit=v;}
  void setLowAlarmLimit(Double_t v) {lowAlarmLimit=v;}
  void setHighAlarmLimit(Double_t v) {highAlarmLimit=v;}
  void setUnits(const Char_t* s) {units=s;}
  void setPrecision(Int_t v) {precision=v;}
  void setStartTime(const Char_t* t) {startTime=t;}
  Double_t getLowGraphLimit() {return lowGraphLimit;}
  Double_t getHighGraphLimit() {return highGraphLimit;}
  Double_t getLowWarnLimit() {return lowWarnLimit;}
  Double_t getHighWarnLimit() {return highWarnLimit;}
  Double_t getLowAlarmLimit() {return lowAlarmLimit;}
  Double_t getHighAlarmLimit() {return highAlarmLimit;}
  const Char_t* getUnits() {return units;}
  Int_t getPrecision() {return precision;}
  const Char_t* getStartTime() {return startTime.Data();}
  void clear();
  void print();
  void write(fstream&);
private:
  ClassDef(HOraSlowChanMeta,0) // Slowcontrol meta data of a channel
};

#endif  /* !HORASLOWCHANMETA */
 horaslowchanmeta.h:1
 horaslowchanmeta.h:2
 horaslowchanmeta.h:3
 horaslowchanmeta.h:4
 horaslowchanmeta.h:5
 horaslowchanmeta.h:6
 horaslowchanmeta.h:7
 horaslowchanmeta.h:8
 horaslowchanmeta.h:9
 horaslowchanmeta.h:10
 horaslowchanmeta.h:11
 horaslowchanmeta.h:12
 horaslowchanmeta.h:13
 horaslowchanmeta.h:14
 horaslowchanmeta.h:15
 horaslowchanmeta.h:16
 horaslowchanmeta.h:17
 horaslowchanmeta.h:18
 horaslowchanmeta.h:19
 horaslowchanmeta.h:20
 horaslowchanmeta.h:21
 horaslowchanmeta.h:22
 horaslowchanmeta.h:23
 horaslowchanmeta.h:24
 horaslowchanmeta.h:25
 horaslowchanmeta.h:26
 horaslowchanmeta.h:27
 horaslowchanmeta.h:28
 horaslowchanmeta.h:29
 horaslowchanmeta.h:30
 horaslowchanmeta.h:31
 horaslowchanmeta.h:32
 horaslowchanmeta.h:33
 horaslowchanmeta.h:34
 horaslowchanmeta.h:35
 horaslowchanmeta.h:36
 horaslowchanmeta.h:37
 horaslowchanmeta.h:38
 horaslowchanmeta.h:39
 horaslowchanmeta.h:40
 horaslowchanmeta.h:41
 horaslowchanmeta.h:42
 horaslowchanmeta.h:43
 horaslowchanmeta.h:44
 horaslowchanmeta.h:45
 horaslowchanmeta.h:46
 horaslowchanmeta.h:47
 horaslowchanmeta.h:48
 horaslowchanmeta.h:49
 horaslowchanmeta.h:50