00001 #ifndef RunNumber_h 00002 #define RunNumber_h 00003 00004 #include <iostream> 00005 #include<vector> 00006 00007 /* 00008 * \class RunNumber 00009 * 00010 * hosting runinfo information, above all the runnumber 00011 * 00012 * \author Michele de Gruttola (degrutto) - INFN Naples / CERN (June-12-2008) 00013 * 00014 */ 00015 00016 namespace runinfo_test{ 00017 class RunNumber { 00018 public: 00019 struct Item { 00020 Item(){} 00021 ~Item(){} 00022 int m_run; 00023 long long m_id_start; 00024 long long m_id_stop; 00025 std::string m_number; 00026 std::string m_name; 00027 signed long long m_start_time_sll; 00028 std::string m_start_time_str; 00029 signed long long m_stop_time_sll; 00030 std::string m_stop_time_str; 00031 int m_lumisections; 00032 std::vector<std::string> m_subdt_joined; 00033 std::vector<int> m_subdt_in; 00034 enum subdet { PIXEL, TRACKER, ECAL, HCAL, DT, CSC,RPC }; 00035 }; 00036 00037 00038 00039 RunNumber(); 00040 virtual ~RunNumber(){} 00041 typedef std::vector<Item>::const_iterator ItemIterator; 00042 std::vector<Item> m_runnumber; 00043 }; 00044 00045 } 00046 #endif