File indexing completed on 2024-09-07 04:35:40
0001 #ifndef RunSummary_h
0002 #define RunSummary_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 class RunSummary {
0019 public:
0020 int m_run;
0021 std::string m_name;
0022 long long m_start_time_ll;
0023 std::string m_start_time_str;
0024 long long m_stop_time_ll;
0025 std::string m_stop_time_str;
0026 int m_lumisections;
0027 std::vector<int> m_subdt_in;
0028 std::string m_hltkey;
0029 long long m_nevents;
0030 float m_rate;
0031
0032 enum subdet { PIXEL, TRACKER, ECAL, HCAL, DT, CSC, RPC };
0033
0034 RunSummary();
0035 virtual ~RunSummary() {}
0036 static RunSummary* Fake_RunSummary();
0037
0038 void printAllValues() const;
0039 std::vector<std::string> getSubdtIn() const;
0040
0041 COND_SERIALIZABLE;
0042 };
0043
0044 #endif