CMS 3D CMS Logo

RunInfo.cc

Go to the documentation of this file.
00001 #include "CondFormats/RunInfo/interface/RunInfo.h"
00002 RunInfo::RunInfo(){}
00003 
00004 RunInfo * RunInfo::Fake_RunInfo(){
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 }
00011 
00012 
00013 
00014 void RunInfo::printAllValues() const{
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   }
00036 
00037 

Generated on Tue Jun 9 17:26:45 2009 for CMSSW by  doxygen 1.5.4