CMS 3D CMS Logo

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