#ifndef PIXELTIMEINFO_H #define PIXELTIMEINFO_H #include #include"Pixel.h" using namespace std; struct CalibParTime{double aT;double bT;}; class PixelTimeInfo: public Pixel { public: PixelTimeInfo(); PixelTimeInfo(int index, double time); double GetTime() const{return f_Time;} void Set(int index); void Print() const; static void OpenCalibFile(); static void CloseCalibFile(); void CalibratePixel(int index)const; private: int f_Time;// this is the Time info CalibParTime f_ParTime; //struct instance of calibration parameters //static file stream for Time calibration static ifstream f_calibFileTime; }; #endif