CMS 3D CMS Logo

RunSummary.h
Go to the documentation of this file.
1 #ifndef RunSummary_h
2 #define RunSummary_h
3 
5 
6 #include <iostream>
7 #include <vector>
8 
9 /*
10  * \class RunSummary
11  *
12  * hosting light run information, above all the run start and stop time, the list of subdetector joining, tle number of lumisections.
13  *
14  * \author Michele de Gruttola (degrutto) - INFN Naples / CERN (Sep-24-2008)
15  *
16 */
17 
18 class RunSummary {
19 public:
20  int m_run;
22  long long m_start_time_ll;
24  long long m_stop_time_ll;
27  std::vector<int> m_subdt_in;
29  long long m_nevents;
30  float m_rate;
31 
32  enum subdet { PIXEL, TRACKER, ECAL, HCAL, DT, CSC, RPC };
33 
34  RunSummary();
35  virtual ~RunSummary(){};
36  static RunSummary* Fake_RunSummary();
37 
38  void printAllValues() const;
39  std::vector<std::string> getSubdtIn() const;
40 
42 };
43 
44 #endif
RunSummary::subdet
subdet
Definition: RunSummary.h:32
RunSummary::DT
Definition: RunSummary.h:32
RunSummary::TRACKER
Definition: RunSummary.h:32
RunSummary
Definition: RunSummary.h:18
RunSummary::~RunSummary
virtual ~RunSummary()
Definition: RunSummary.h:35
RunSummary::HCAL
Definition: RunSummary.h:32
RunSummary::Fake_RunSummary
static RunSummary * Fake_RunSummary()
Definition: RunSummary.cc:4
RunSummary::ECAL
Definition: RunSummary.h:32
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
RunSummary::m_hltkey
std::string m_hltkey
Definition: RunSummary.h:28
RunSummary::printAllValues
void printAllValues() const
Definition: RunSummary.cc:14
RunSummary::RPC
Definition: RunSummary.h:32
RunSummary::m_stop_time_str
std::string m_stop_time_str
Definition: RunSummary.h:25
RunSummary::m_stop_time_ll
long long m_stop_time_ll
Definition: RunSummary.h:24
RunSummary::getSubdtIn
std::vector< std::string > getSubdtIn() const
Definition: RunSummary.cc:31
RunSummary::m_run
int m_run
Definition: RunSummary.h:20
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RunSummary::CSC
Definition: RunSummary.h:32
Serializable.h
RunSummary::m_name
std::string m_name
Definition: RunSummary.h:21
RunSummary::m_lumisections
int m_lumisections
Definition: RunSummary.h:26
RunSummary::m_nevents
long long m_nevents
Definition: RunSummary.h:29
RunSummary::PIXEL
Definition: RunSummary.h:32
RunSummary::m_subdt_in
std::vector< int > m_subdt_in
Definition: RunSummary.h:27
RunSummary::m_start_time_str
std::string m_start_time_str
Definition: RunSummary.h:23
RunSummary::m_rate
float m_rate
Definition: RunSummary.h:30
RunSummary::RunSummary
RunSummary()
Definition: RunSummary.cc:2
RunSummary::m_start_time_ll
long long m_start_time_ll
Definition: RunSummary.h:22