Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:47:27

0001 #ifndef RunInfo_h
0002 #define RunInfo_h
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include <iostream>
0007 #include <vector>
0008 
0009 /*
0010  *  \class RunInfo
0011  *  
0012  *  hosting run information, above all the run start and stop time, the list of fed joining, the .  
0013  *
0014  *  \author Michele de Gruttola (degrutto) - INFN Naples / CERN (Oct-10-2008)
0015  *
0016 */
0017 
0018 class RunInfo {
0019 public:
0020   int m_run;
0021   long long m_start_time_ll;
0022   std::string m_start_time_str;
0023   long long m_stop_time_ll;
0024   std::string m_stop_time_str;
0025   std::vector<int> m_fed_in;
0026   float m_start_current;
0027   float m_stop_current;
0028   float m_avg_current;
0029   float m_max_current;
0030   float m_min_current;
0031   float m_run_intervall_micros;
0032   std::vector<float> m_current;
0033   std::vector<float> m_times_of_currents;
0034 
0035   RunInfo();
0036   virtual ~RunInfo(){};
0037   static RunInfo* Fake_RunInfo();
0038 
0039   void printAllValues() const;
0040 
0041   COND_SERIALIZABLE;
0042 };
0043 
0044 #endif