00001 #ifndef RunSummary_h 00002 #define RunSummary_h 00003 00004 #include <iostream> 00005 #include<vector> 00006 00007 /* 00008 * \class RunSummary 00009 * 00010 * hosting light run information, above all the run start and stop time, the list of subdetector joining, tle number of lumisections. 00011 * 00012 * \author Michele de Gruttola (degrutto) - INFN Naples / CERN (Sep-24-2008) 00013 * 00014 */ 00015 00016 class RunSummary { 00017 public: 00018 00019 int m_run; 00020 std::string m_name; 00021 long long m_start_time_ll; 00022 std::string m_start_time_str; 00023 long long m_stop_time_ll; 00024 std::string m_stop_time_str; 00025 int m_lumisections; 00026 std::vector<int> m_subdt_in; 00027 std::string m_hltkey; 00028 long long m_nevents; 00029 float m_rate; 00030 00031 enum subdet { PIXEL, TRACKER, ECAL, HCAL, DT, CSC,RPC }; 00032 00033 RunSummary(); 00034 virtual ~RunSummary(){}; 00035 static RunSummary* Fake_RunSummary(); 00036 00037 void printAllValues() const; 00038 std::vector<std::string> getSubdtIn() const; 00039 00040 }; 00041 00042 00043 #endif