RunInfo

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
#ifndef RunInfo_h
#define RunInfo_h

#include "CondFormats/Serialization/interface/Serializable.h"

#include <iostream>
#include <vector>

/*
 *  \class RunInfo
 *  
 *  hosting run information, above all the run start and stop time, the list of fed joining, the .  
 *
 *  \author Michele de Gruttola (degrutto) - INFN Naples / CERN (Oct-10-2008)
 *
*/

class RunInfo {
public:
  int m_run;
  long long m_start_time_ll;
  std::string m_start_time_str;
  long long m_stop_time_ll;
  std::string m_stop_time_str;
  std::vector<int> m_fed_in;
  float m_start_current;
  float m_stop_current;
  float m_avg_current;
  float m_max_current;
  float m_min_current;
  float m_run_intervall_micros;
  std::vector<float> m_current;
  std::vector<float> m_times_of_currents;

  RunInfo();
  virtual ~RunInfo() {}
  static RunInfo* Fake_RunInfo();

  void printAllValues() const;

  COND_SERIALIZABLE;
};

#endif