#include <CondFormats/RunInfo/interface/RunInfo.h>
Public Member Functions | |
void | printAllValues () const |
RunInfo () | |
virtual | ~RunInfo () |
Static Public Member Functions | |
static RunInfo * | Fake_RunInfo () |
Public Attributes | |
float | m_avg_current |
std::vector< float > | m_current |
std::vector< int > | m_fed_in |
float | m_max_current |
float | m_min_current |
int | m_run |
float | m_run_intervall_micros |
float | m_start_current |
long long | m_start_time_ll |
std::string | m_start_time_str |
float | m_stop_current |
long long | m_stop_time_ll |
std::string | m_stop_time_str |
Definition at line 16 of file RunInfo.h.
RunInfo::RunInfo | ( | ) |
RunInfo * RunInfo::Fake_RunInfo | ( | ) | [static] |
Definition at line 4 of file RunInfo.cc.
References m_run, m_start_time_str, m_stop_time_str, RunInfo(), and sum().
Referenced by RunInfoHandler::getNewObjects().
00004 { 00005 RunInfo * sum = new RunInfo(); 00006 sum->m_run=-1; 00007 sum->m_start_time_str="null"; 00008 sum->m_stop_time_str="null"; 00009 return sum; 00010 }
void RunInfo::printAllValues | ( | ) | const |
Definition at line 14 of file RunInfo.cc.
References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), i, m_avg_current, m_current, m_fed_in, m_max_current, m_min_current, m_run, m_run_intervall_micros, m_start_current, m_start_time_ll, m_start_time_str, m_stop_current, m_stop_time_ll, and m_stop_time_str.
Referenced by edmtest::RunInfoESAnalyzer::analyze().
00014 { 00015 std::cout<<"run number: " <<m_run << std::endl; 00016 std::cout<<"run start time as timestamp: "<<m_start_time_ll<<std::endl; 00017 std::cout<<"run start time as date: "<<m_start_time_str<<std::endl; 00018 std::cout<<"run stop time as timestamp: "<<m_stop_time_ll<< std::endl; 00019 std::cout<<"run stop time as date: "<<m_stop_time_str<<std::endl; 00020 std::cout<<"initial current "<<m_start_current<<std::endl; 00021 std::cout<<"final current "<<m_stop_current<<std::endl; 00022 std::cout<<"average current "<<m_avg_current<<std::endl; 00023 std::cout<<"min current "<<m_min_current<<std::endl; 00024 std::cout<<"max current "<<m_max_current<<std::endl; 00025 std::cout<<"run time intervall in microseconds "<<m_run_intervall_micros<<std::endl; 00026 std::cout<<"ids of fed in run: "<<std::endl; 00027 for (size_t i =0; i<m_fed_in.size(); i++){ 00028 std::cout<<"---> "<<m_fed_in[i]<<std::endl; 00029 } 00030 std::cout<<"B current in run: "<<std::endl; 00031 for (size_t i =0; i<m_current.size(); i++){ 00032 std::cout<<"---> "<<m_current[i]<<std::endl; 00033 } 00034 00035 }
float RunInfo::m_avg_current |
std::vector<float> RunInfo::m_current |
std::vector<int> RunInfo::m_fed_in |
float RunInfo::m_max_current |
float RunInfo::m_min_current |
float RunInfo::m_start_current |
long long RunInfo::m_start_time_ll |
std::string RunInfo::m_start_time_str |
float RunInfo::m_stop_current |
long long RunInfo::m_stop_time_ll |
std::string RunInfo::m_stop_time_str |