CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RunInfo.h
Go to the documentation of this file.
1 #ifndef RunInfo_h
2 #define RunInfo_h
3 
4 #include <iostream>
5 #include<vector>
6 
7 /*
8  * \class RunInfo
9  *
10  * hosting run information, above all the run start and stop time, the list of fed joining, the .
11  *
12  * \author Michele de Gruttola (degrutto) - INFN Naples / CERN (Oct-10-2008)
13  *
14 */
15 
16 class RunInfo {
17 public:
18 
19  int m_run;
20  long long m_start_time_ll;
21  std::string m_start_time_str;
22  long long m_stop_time_ll;
23  std::string m_stop_time_str;
24  std::vector<int> m_fed_in;
31  std::vector<float> m_current;
32  std::vector<float> m_times_of_currents;
33 
34  RunInfo();
35  virtual ~RunInfo(){};
36  static RunInfo* Fake_RunInfo();
37 
38  void printAllValues() const;
39 
40 
41 };
42 
43 
44 #endif
RunInfo()
Definition: RunInfo.cc:2
virtual ~RunInfo()
Definition: RunInfo.h:35
std::vector< int > m_fed_in
Definition: RunInfo.h:24
void printAllValues() const
Definition: RunInfo.cc:22
std::string m_start_time_str
Definition: RunInfo.h:21
std::vector< float > m_current
Definition: RunInfo.h:31
float m_stop_current
Definition: RunInfo.h:26
long long m_stop_time_ll
Definition: RunInfo.h:22
float m_min_current
Definition: RunInfo.h:29
float m_avg_current
Definition: RunInfo.h:27
float m_run_intervall_micros
Definition: RunInfo.h:30
float m_max_current
Definition: RunInfo.h:28
static RunInfo * Fake_RunInfo()
Definition: RunInfo.cc:4
float m_start_current
Definition: RunInfo.h:25
std::string m_stop_time_str
Definition: RunInfo.h:23
int m_run
Definition: RunInfo.h:19
std::vector< float > m_times_of_currents
Definition: RunInfo.h:32
long long m_start_time_ll
Definition: RunInfo.h:20