#include <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 |
std::vector< float > | m_times_of_currents |
RunInfo::RunInfo | ( | ) |
RunInfo * RunInfo::Fake_RunInfo | ( | ) | [static] |
Definition at line 4 of file RunInfo.cc.
References m_avg_current, 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, m_stop_time_str, and RunInfo().
Referenced by RunInfoHandler::getNewObjects().
{ RunInfo * sum = new RunInfo(); sum->m_run=-1; sum->m_start_time_ll=-1; sum->m_start_time_str="null"; sum->m_stop_time_ll=-1; sum->m_stop_time_str="null"; sum->m_start_current=-1; sum->m_stop_current=-1; sum->m_avg_current=-1; sum->m_max_current=-1; sum->m_min_current=-1; sum->m_run_intervall_micros=0; return sum; }
void RunInfo::printAllValues | ( | ) | const |
Definition at line 22 of file RunInfo.cc.
References gather_cfg::cout, 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, m_stop_time_str, and m_times_of_currents.
{ std::cout << "run number: " << m_run << std::endl; std::cout << "run start time (as timestamp): " << m_start_time_ll << std::endl; std::cout << "run start time (as date): " << m_start_time_str << std::endl; std::cout << "run stop time (as timestamp): " << m_stop_time_ll << std::endl; std::cout << "run stop time (as date): " << m_stop_time_str << std::endl; std::cout << "initial current " << m_start_current << std::endl; std::cout << "final current " << m_stop_current << std::endl; std::cout << "average current " << m_avg_current << std::endl; std::cout << "minimum current " << m_min_current << std::endl; std::cout << "maximum current " << m_max_current << std::endl; std::cout << "run time in microseconds " << m_run_intervall_micros << std::endl; std::cout << "ids of fed in run: " << std::endl; for(size_t i = 0; i < m_fed_in.size(); i++) { std::cout << "---> " << m_fed_in[i] << std::endl; } std::cout << "B current in run: " << std::endl; for(size_t i = 0; i < m_current.size(); i++) { std::cout << "---> " << m_current[i] << std::endl; } std::cout << "correspondent time (from run start) in microseconds for B currents in run: " << std::endl; for(size_t i = 0; i < m_times_of_currents.size(); i++) { std::cout << "---> " << m_times_of_currents[i] << std::endl; } }
float RunInfo::m_avg_current |
Definition at line 27 of file RunInfo.h.
Referenced by cond::ValueExtractor< RunInfo >::compute(), Fake_RunInfo(), printAllValues(), and RunInfoRead::readData().
std::vector<float> RunInfo::m_current |
Definition at line 31 of file RunInfo.h.
Referenced by printAllValues(), and RunInfoRead::readData().
std::vector<int> RunInfo::m_fed_in |
Definition at line 24 of file RunInfo.h.
Referenced by SiStripQuality::add(), L1RCTProducer::getFedVectorFromOmds(), L1RCTProducer::getFedVectorFromRunInfo(), printAllValues(), RunInfoRead::readData(), and L1TdeRCT::readFEDVector().
float RunInfo::m_max_current |
Definition at line 28 of file RunInfo.h.
Referenced by cond::ValueExtractor< RunInfo >::compute(), Fake_RunInfo(), printAllValues(), and RunInfoRead::readData().
float RunInfo::m_min_current |
Definition at line 29 of file RunInfo.h.
Referenced by cond::ValueExtractor< RunInfo >::compute(), Fake_RunInfo(), printAllValues(), and RunInfoRead::readData().
int RunInfo::m_run |
Definition at line 19 of file RunInfo.h.
Referenced by Fake_RunInfo(), printAllValues(), and RunInfoRead::readData().
Definition at line 30 of file RunInfo.h.
Referenced by cond::ValueExtractor< RunInfo >::compute(), Fake_RunInfo(), printAllValues(), and RunInfoRead::readData().
float RunInfo::m_start_current |
Definition at line 25 of file RunInfo.h.
Referenced by cond::ValueExtractor< RunInfo >::compute(), Fake_RunInfo(), printAllValues(), and RunInfoRead::readData().
long long RunInfo::m_start_time_ll |
Definition at line 20 of file RunInfo.h.
Referenced by cond::ValueExtractor< RunInfo >::compute(), Fake_RunInfo(), printAllValues(), and RunInfoRead::readData().
std::string RunInfo::m_start_time_str |
Definition at line 21 of file RunInfo.h.
Referenced by Fake_RunInfo(), printAllValues(), and RunInfoRead::readData().
float RunInfo::m_stop_current |
Definition at line 26 of file RunInfo.h.
Referenced by cond::ValueExtractor< RunInfo >::compute(), Fake_RunInfo(), printAllValues(), and RunInfoRead::readData().
long long RunInfo::m_stop_time_ll |
Definition at line 22 of file RunInfo.h.
Referenced by cond::ValueExtractor< RunInfo >::compute(), Fake_RunInfo(), printAllValues(), and RunInfoRead::readData().
std::string RunInfo::m_stop_time_str |
Definition at line 23 of file RunInfo.h.
Referenced by Fake_RunInfo(), printAllValues(), and RunInfoRead::readData().
std::vector<float> RunInfo::m_times_of_currents |
Definition at line 32 of file RunInfo.h.
Referenced by printAllValues(), and RunInfoRead::readData().