#include <BeamInfo.h>
Public Member Functions | |
BeamInfo () | |
~BeamInfo () | |
BeamInfo (double tor101, double tortgt, double trtgtd, long long int t_ms) | |
double | get_tor101 () const |
double | get_tortgt () const |
double | get_trtgtd () const |
long long int | get_t_ms () const |
void | SetTOR101 (double val) |
void | SetTORTGT (double val) |
void | SetTRTGTD (double val) |
void | SetT_MS (long long int val) |
void | SetRecordType (uint8_t val) |
void | SetSeconds (uint32_t val) |
void | SetMilliSeconds (uint16_t val) |
void | SetNumberOfDevices (uint16_t val) |
void | Set (std::string device_name, double val) |
void | Set (std::string device_name, std::vector< double > val) |
uint8_t | GetRecordType () const |
uint32_t | GetSeconds () const |
uint16_t | GetMilliSeconds () const |
uint16_t | GetNumberOfDevices () const |
std::vector< double > | Get (std::string device_name) |
std::map< std::string, std::vector< double > > | GetDataMap () const |
Private Attributes | |
double | tor101 |
double | tortgt |
double | trtgtd |
long long int | t_ms |
uint8_t | fRecordType |
uint32_t | fSeconds |
uint16_t | fMilliSeconds |
uint16_t | fNumberOfDevices |
std::map< std::string, std::vector< double > > | fDataMap |
Friends | |
std::ostream & | operator<< (std::ostream &, const BeamInfo &) |
Definition at line 16 of file BeamInfo.h.
raw::BeamInfo::BeamInfo | ( | ) |
Definition at line 14 of file BeamInfo.cxx.
raw::BeamInfo::~BeamInfo | ( | ) |
Definition at line 27 of file BeamInfo.cxx.
raw::BeamInfo::BeamInfo | ( | double | tor101, |
double | tortgt, | ||
double | trtgtd, | ||
long long int | t_ms | ||
) |
Definition at line 30 of file BeamInfo.cxx.
std::vector<double> raw::BeamInfo::Get | ( | std::string | device_name | ) |
long long int raw::BeamInfo::get_t_ms | ( | ) | const |
Definition at line 66 of file BeamInfo.cxx.
double raw::BeamInfo::get_tor101 | ( | ) | const |
Definition at line 48 of file BeamInfo.cxx.
double raw::BeamInfo::get_tortgt | ( | ) | const |
Definition at line 54 of file BeamInfo.cxx.
double raw::BeamInfo::get_trtgtd | ( | ) | const |
Definition at line 60 of file BeamInfo.cxx.
|
inline |
Definition at line 63 of file BeamInfo.h.
|
inline |
Definition at line 59 of file BeamInfo.h.
|
inline |
Definition at line 60 of file BeamInfo.h.
|
inline |
Definition at line 57 of file BeamInfo.h.
|
inline |
Definition at line 58 of file BeamInfo.h.
void raw::BeamInfo::Set | ( | std::string | device_name, |
double | val | ||
) |
Definition at line 98 of file BeamInfo.cxx.
void raw::BeamInfo::Set | ( | std::string | device_name, |
std::vector< double > | val | ||
) |
Definition at line 105 of file BeamInfo.cxx.
|
inline |
Definition at line 51 of file BeamInfo.h.
|
inline |
Definition at line 52 of file BeamInfo.h.
|
inline |
Definition at line 49 of file BeamInfo.h.
|
inline |
Definition at line 50 of file BeamInfo.h.
void raw::BeamInfo::SetT_MS | ( | long long int | val | ) |
Definition at line 93 of file BeamInfo.cxx.
void raw::BeamInfo::SetTOR101 | ( | double | val | ) |
Definition at line 72 of file BeamInfo.cxx.
void raw::BeamInfo::SetTORTGT | ( | double | val | ) |
Definition at line 79 of file BeamInfo.cxx.
void raw::BeamInfo::SetTRTGTD | ( | double | val | ) |
Definition at line 86 of file BeamInfo.cxx.
|
friend |
Definition at line 117 of file BeamInfo.cxx.
|
private |
Definition at line 32 of file BeamInfo.h.
|
private |
Definition at line 30 of file BeamInfo.h.
|
private |
Definition at line 31 of file BeamInfo.h.
|
private |
Definition at line 28 of file BeamInfo.h.
|
private |
Definition at line 29 of file BeamInfo.h.
|
private |
Definition at line 27 of file BeamInfo.h.
|
private |
Definition at line 24 of file BeamInfo.h.
|
private |
Definition at line 25 of file BeamInfo.h.
|
private |
Definition at line 26 of file BeamInfo.h.