#include <BeamInfo.h>
Definition at line 16 of file BeamInfo.h.
raw::BeamInfo::BeamInfo |
( |
| ) |
|
raw::BeamInfo::~BeamInfo |
( |
| ) |
|
raw::BeamInfo::BeamInfo |
( |
double |
tor101, |
|
|
double |
tortgt, |
|
|
double |
trtgtd, |
|
|
long long int |
t_ms |
|
) |
| |
std::vector<double> raw::BeamInfo::Get |
( |
std::string |
device_name | ) |
|
long long int raw::BeamInfo::get_t_ms |
( |
| ) |
const |
double raw::BeamInfo::get_tor101 |
( |
| ) |
const |
double raw::BeamInfo::get_tortgt |
( |
| ) |
const |
double raw::BeamInfo::get_trtgtd |
( |
| ) |
const |
std::map<std::string, std::vector<double> > raw::BeamInfo::GetDataMap |
( |
| ) |
const |
|
inline |
Definition at line 63 of file BeamInfo.h.
std::map< std::string, std::vector< double > > fDataMap
uint16_t raw::BeamInfo::GetMilliSeconds |
( |
| ) |
const |
|
inline |
uint16_t raw::BeamInfo::GetNumberOfDevices |
( |
| ) |
const |
|
inline |
Definition at line 60 of file BeamInfo.h.
uint16_t fNumberOfDevices
uint8_t raw::BeamInfo::GetRecordType |
( |
| ) |
const |
|
inline |
uint32_t raw::BeamInfo::GetSeconds |
( |
| ) |
const |
|
inline |
void raw::BeamInfo::Set |
( |
std::string |
device_name, |
|
|
double |
val |
|
) |
| |
Definition at line 98 of file BeamInfo.cxx.
100 std::vector<double> vec;
void Set(std::string device_name, double val)
void raw::BeamInfo::Set |
( |
std::string |
device_name, |
|
|
std::vector< double > |
val |
|
) |
| |
Definition at line 105 of file BeamInfo.cxx.
111 std::pair<std::string, std::vector<double> >
p(device,val);
std::map< std::string, std::vector< double > > fDataMap
void raw::BeamInfo::SetMilliSeconds |
( |
uint16_t |
val | ) |
|
|
inline |
void raw::BeamInfo::SetNumberOfDevices |
( |
uint16_t |
val | ) |
|
|
inline |
Definition at line 52 of file BeamInfo.h.
uint16_t fNumberOfDevices
void raw::BeamInfo::SetRecordType |
( |
uint8_t |
val | ) |
|
|
inline |
void raw::BeamInfo::SetSeconds |
( |
uint32_t |
val | ) |
|
|
inline |
void raw::BeamInfo::SetT_MS |
( |
long long int |
val | ) |
|
void raw::BeamInfo::SetTOR101 |
( |
double |
val | ) |
|
Definition at line 72 of file BeamInfo.cxx.
void Set(std::string device_name, double val)
void raw::BeamInfo::SetTORTGT |
( |
double |
val | ) |
|
Definition at line 79 of file BeamInfo.cxx.
void Set(std::string device_name, double val)
void raw::BeamInfo::SetTRTGTD |
( |
double |
val | ) |
|
Definition at line 86 of file BeamInfo.cxx.
void Set(std::string device_name, double val)
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const BeamInfo & |
o |
|
) |
| |
|
friend |
Definition at line 117 of file BeamInfo.cxx.
121 os <<
"Record type:" << o.GetRecordType() << std::endl;;
122 os <<
"Timestamp: " << o.GetSeconds() <<
"\t"
123 << o.GetMilliSeconds() << std::endl;
124 os <<
"Number of Devices: " << o.GetNumberOfDevices() << std::endl;
126 const std::map<std::string, std::vector<double> > dm=o.GetDataMap();
127 std::map<std::string, std::vector<double> >::const_iterator it=dm.begin();
128 while (it!=dm.end()) {
129 os << it->first<<
": ";
130 for (
size_t i=0;i<it->second.size();i++) os <<it->second[i]<<
", ";
std::map<std::string, std::vector<double> > raw::BeamInfo::fDataMap |
|
private |
uint16_t raw::BeamInfo::fMilliSeconds |
|
private |
uint16_t raw::BeamInfo::fNumberOfDevices |
|
private |
uint8_t raw::BeamInfo::fRecordType |
|
private |
uint32_t raw::BeamInfo::fSeconds |
|
private |
long long int raw::BeamInfo::t_ms |
|
private |
double raw::BeamInfo::tor101 |
|
private |
double raw::BeamInfo::tortgt |
|
private |
double raw::BeamInfo::trtgtd |
|
private |
The documentation for this class was generated from the following files: