LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#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 17 of file BeamInfo.cxx.
raw::BeamInfo::~BeamInfo | ( | ) |
Definition at line 30 of file BeamInfo.cxx.
raw::BeamInfo::BeamInfo | ( | double | tor101, |
double | tortgt, | ||
double | trtgtd, | ||
long long int | t_ms | ||
) |
Definition at line 33 of file BeamInfo.cxx.
std::vector<double> raw::BeamInfo::Get | ( | std::string | device_name | ) |
Referenced by GetNumberOfDevices().
long long int raw::BeamInfo::get_t_ms | ( | ) | const |
Definition at line 69 of file BeamInfo.cxx.
References t_ms.
double raw::BeamInfo::get_tor101 | ( | ) | const |
Definition at line 51 of file BeamInfo.cxx.
References tor101.
double raw::BeamInfo::get_tortgt | ( | ) | const |
Definition at line 57 of file BeamInfo.cxx.
References tortgt.
double raw::BeamInfo::get_trtgtd | ( | ) | const |
Definition at line 63 of file BeamInfo.cxx.
References trtgtd.
|
inline |
Definition at line 63 of file BeamInfo.h.
References fDataMap, and operator<<.
Referenced by raw::operator<<().
|
inline |
Definition at line 59 of file BeamInfo.h.
References fMilliSeconds.
Referenced by raw::operator<<().
|
inline |
Definition at line 60 of file BeamInfo.h.
References fNumberOfDevices, and Get().
Referenced by raw::operator<<().
|
inline |
|
inline |
void raw::BeamInfo::Set | ( | std::string | device_name, |
double | val | ||
) |
Definition at line 101 of file BeamInfo.cxx.
Referenced by SetNumberOfDevices(), SetTOR101(), SetTORTGT(), and SetTRTGTD().
void raw::BeamInfo::Set | ( | std::string | device_name, |
std::vector< double > | val | ||
) |
Definition at line 108 of file BeamInfo.cxx.
References fDataMap.
|
inline |
Definition at line 51 of file BeamInfo.h.
|
inline |
|
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 96 of file BeamInfo.cxx.
References t_ms.
void raw::BeamInfo::SetTOR101 | ( | double | val | ) |
Definition at line 75 of file BeamInfo.cxx.
void raw::BeamInfo::SetTORTGT | ( | double | val | ) |
Definition at line 82 of file BeamInfo.cxx.
void raw::BeamInfo::SetTRTGTD | ( | double | val | ) |
Definition at line 89 of file BeamInfo.cxx.
|
friend |
Definition at line 120 of file BeamInfo.cxx.
Referenced by GetDataMap().
|
private |
Definition at line 32 of file BeamInfo.h.
Referenced by GetDataMap(), and Set().
|
private |
Definition at line 30 of file BeamInfo.h.
Referenced by GetMilliSeconds().
|
private |
Definition at line 31 of file BeamInfo.h.
Referenced by GetNumberOfDevices().
|
private |
Definition at line 28 of file BeamInfo.h.
Referenced by GetRecordType().
|
private |
Definition at line 29 of file BeamInfo.h.
Referenced by GetSeconds().
|
private |
Definition at line 27 of file BeamInfo.h.
Referenced by get_t_ms(), and SetT_MS().
|
private |
Definition at line 24 of file BeamInfo.h.
Referenced by get_tor101(), and SetTOR101().
|
private |
Definition at line 25 of file BeamInfo.h.
Referenced by get_tortgt(), and SetTORTGT().
|
private |
Definition at line 26 of file BeamInfo.h.
Referenced by get_trtgtd(), and SetTRTGTD().