00001 #ifndef RunInfo_h 00002 #define RunInfo_h 00003 00004 #include <iostream> 00005 #include<vector> 00006 00007 /* 00008 * \class RunInfo 00009 * 00010 * hosting run information, above all the run start and stop time, the list of fed joining, the . 00011 * 00012 * \author Michele de Gruttola (degrutto) - INFN Naples / CERN (Oct-10-2008) 00013 * 00014 */ 00015 00016 class RunInfo { 00017 public: 00018 00019 int m_run; 00020 long long m_start_time_ll; 00021 std::string m_start_time_str; 00022 long long m_stop_time_ll; 00023 std::string m_stop_time_str; 00024 std::vector<int> m_fed_in; 00025 float m_start_current; 00026 float m_stop_current; 00027 float m_avg_current; 00028 float m_max_current; 00029 float m_min_current; 00030 float m_run_intervall_micros; 00031 std::vector<float> m_current; 00032 std::vector<float> m_times_of_currents; 00033 00034 RunInfo(); 00035 virtual ~RunInfo(){}; 00036 static RunInfo* Fake_RunInfo(); 00037 00038 void printAllValues() const; 00039 00040 00041 }; 00042 00043 00044 #endif