ROOT logo
#ifndef HORASLOWPERIOD_H
#define HORASLOWPERIOD_H

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

class HOraSlowPeriod : public TObject {
private:
  Int_t      periodId;   // Oracle id of the period
  TString    startTime;  // Start time of the period 
  TString    endTime;    // End time of the period 
  Int_t      runId;      // Id of the corresponding run
  TString    filename;   // Hld-filename of the corresponding run
  Int_t      filterFlag; // Flag for the Hld-file filter
public:
  HOraSlowPeriod();
  ~HOraSlowPeriod() {}
  void setPeriodId(Int_t n) {periodId=n;}
  void setStartTime(const Char_t* s) {startTime=s;}
  void setEndTime(const Char_t* s) {endTime=s;}
  void setRunId(Int_t n) {runId=n;}
  void setFilename(const Char_t* s) {filename=s;}
  void setFilterFlag(Int_t f) {filterFlag=f;}
  Int_t getPeriodId() {return periodId;}
  const Char_t* getStartTime() {return startTime.Data();}
  const Char_t* getEndTime() {return endTime.Data();}
  Int_t getDuration();
  Int_t getRunId() {return runId;}
  const Char_t* getFilename() {return filename.Data();}
  Int_t getFilterFlag() {return filterFlag;}
  void print();
  void write(fstream&);
private:
  ClassDef(HOraSlowPeriod,0) // Slowcontrol run period
};

#endif  /* !HORASLOWPERIOD */
 horaslowperiod.h:1
 horaslowperiod.h:2
 horaslowperiod.h:3
 horaslowperiod.h:4
 horaslowperiod.h:5
 horaslowperiod.h:6
 horaslowperiod.h:7
 horaslowperiod.h:8
 horaslowperiod.h:9
 horaslowperiod.h:10
 horaslowperiod.h:11
 horaslowperiod.h:12
 horaslowperiod.h:13
 horaslowperiod.h:14
 horaslowperiod.h:15
 horaslowperiod.h:16
 horaslowperiod.h:17
 horaslowperiod.h:18
 horaslowperiod.h:19
 horaslowperiod.h:20
 horaslowperiod.h:21
 horaslowperiod.h:22
 horaslowperiod.h:23
 horaslowperiod.h:24
 horaslowperiod.h:25
 horaslowperiod.h:26
 horaslowperiod.h:27
 horaslowperiod.h:28
 horaslowperiod.h:29
 horaslowperiod.h:30
 horaslowperiod.h:31
 horaslowperiod.h:32
 horaslowperiod.h:33
 horaslowperiod.h:34
 horaslowperiod.h:35
 horaslowperiod.h:36
 horaslowperiod.h:37
 horaslowperiod.h:38
 horaslowperiod.h:39
 horaslowperiod.h:40
 horaslowperiod.h:41