File indexing completed on 2024-04-06 12:02:31
0001 #ifndef RunNumber_h
0002 #define RunNumber_h
0003
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005
0006 #include <iostream>
0007 #include <vector>
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 namespace runinfo_test {
0019 class RunNumber {
0020 public:
0021 struct Item {
0022 Item() {}
0023 ~Item() {}
0024 int m_run;
0025 long long m_id_start;
0026 long long m_id_stop;
0027 std::string m_number;
0028 std::string m_name;
0029 signed long long m_start_time_sll;
0030 std::string m_start_time_str;
0031 signed long long m_stop_time_sll;
0032 std::string m_stop_time_str;
0033 int m_lumisections;
0034 std::vector<std::string> m_subdt_joined;
0035 std::vector<int> m_subdt_in;
0036 enum subdet { PIXEL, TRACKER, ECAL, HCAL, DT, CSC, RPC };
0037
0038 COND_SERIALIZABLE;
0039 };
0040
0041 RunNumber();
0042 virtual ~RunNumber() {}
0043 typedef std::vector<Item>::const_iterator ItemIterator;
0044 std::vector<Item> m_runnumber;
0045
0046 COND_SERIALIZABLE;
0047 };
0048
0049 }
0050 #endif