Berkeley Nuclear Data Software
|
#include <BeamCurrentLogManager.h>
Public Member Functions | |
void | readFile (std::string a_currentLog) |
double | getIntegral (double a_t1, double a_t2) |
std::vector< double > | plotCurrent (double a_t1, double a_t2) |
double | getBeamOff (double a_ti) |
Public Attributes | |
std::vector< CurrentLogEntry > | m_current |
this class is intended to manage reading and integrating beam current logs from the 88-inch cyclotron experiments
double BeamCurrentLogManager::getBeamOff | ( | double | a_ti | ) |
double BeamCurrentLogManager::getIntegral | ( | double | a_t1, |
double | a_t2 | ||
) |
returns the integrated current in coulombs between t1 and t2 summing the current
std::vector< double > BeamCurrentLogManager::plotCurrent | ( | double | a_t1, |
double | a_t2 | ||
) |
void BeamCurrentLogManager::readFile | ( | std::string | a_currentLog | ) |
this function reads a csv from the arduino logger of the current integrator storing the results as a vector of pairs corresponding to time since epoch and the current value
std::vector< CurrentLogEntry > BeamCurrentLogManager::m_current |