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