CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
float m_rate
Definition: RunSummary.h:30
static RunSummary * Fake_RunSummary()
Definition: RunSummary.cc:4
std::vector< int > m_subdt_in
Definition: RunSummary.h:27
std::string m_stop_time_str
Definition: RunSummary.h:25
long long m_stop_time_ll
Definition: RunSummary.h:24
std::string m_hltkey
Definition: RunSummary.h:28
long long m_nevents
Definition: RunSummary.h:29
void printAllValues() const
Definition: RunSummary.cc:14
int m_lumisections
Definition: RunSummary.h:26
long long m_start_time_ll
Definition: RunSummary.h:22
#define COND_SERIALIZABLE
Definition: Serializable.h:39
std::string m_name
Definition: RunSummary.h:21
virtual ~RunSummary()
Definition: RunSummary.h:35
std::string m_start_time_str
Definition: RunSummary.h:23
std::vector< std::string > getSubdtIn() const
Definition: RunSummary.cc:31