test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
21  int m_run;
23  long long m_start_time_ll;
25  long long m_stop_time_ll;
28  std::vector<int> m_subdt_in;
30  long long m_nevents;
31  float m_rate;
32 
33  enum subdet { PIXEL, TRACKER, ECAL, HCAL, DT, CSC,RPC };
34 
35  RunSummary();
36  virtual ~RunSummary(){};
37  static RunSummary* Fake_RunSummary();
38 
39  void printAllValues() const;
40  std::vector<std::string> getSubdtIn() const;
41 
42 
44 };
45 
46 
47 #endif
float m_rate
Definition: RunSummary.h:31
static RunSummary * Fake_RunSummary()
Definition: RunSummary.cc:4
std::vector< int > m_subdt_in
Definition: RunSummary.h:28
std::string m_stop_time_str
Definition: RunSummary.h:26
long long m_stop_time_ll
Definition: RunSummary.h:25
std::string m_hltkey
Definition: RunSummary.h:29
long long m_nevents
Definition: RunSummary.h:30
void printAllValues() const
Definition: RunSummary.cc:16
int m_lumisections
Definition: RunSummary.h:27
long long m_start_time_ll
Definition: RunSummary.h:23
#define COND_SERIALIZABLE
Definition: Serializable.h:30
std::string m_name
Definition: RunSummary.h:22
virtual ~RunSummary()
Definition: RunSummary.h:36
std::string m_start_time_str
Definition: RunSummary.h:24
std::vector< std::string > getSubdtIn() const
Definition: RunSummary.cc:33