PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
Controls the poll2 command interpreter and data acquisition system. More...
Go to the source code of this file.
Data Structures | |
class | MCA_args |
struct | UDP_Packet |
struct | data_pack |
class | Poll |
Macros | |
#define | maxEventSize 4095 |
#define | POLL2_CORE_VERSION "1.4.14" |
#define | POLL2_CORE_DATE "Aug. 17th, 2016" |
#define | MAX_ORPH_DATA 1464 |
Typedefs | |
typedef PixieInterface::word_t | word_t |
typedef word_t | eventdata_t[maxEventSize] |
Functions | |
bool | IsNumeric (const std::string &input_, const std::string &prefix_="", const std::string &msg_="") |
std::string | humanReadable (double size) |
Convert a rate number to more useful form. More... | |
std::string | pad_string (const std::string &input_, unsigned int length_) |
Pad a string with periods until it is the specified length_. More... | |
std::string | yesno (bool value_) |
Return a string containing "yes" for value_==true and "no" for value_==false. More... | |
Controls the poll2 command interpreter and data acquisition system.
The Poll class is used to control the command interpreter and data acqusition systems. Command input and the command line interface of poll2 are handled by the external library CTerminal. Pixie16 data acquisition is handled by interfacing with the PixieInterface library.
Definition in file poll2_core.h.
#define MAX_ORPH_DATA 1464 |
Definition at line 31 of file poll2_core.h.
#define maxEventSize 4095 |
Definition at line 25 of file poll2_core.h.
#define POLL2_CORE_DATE "Aug. 17th, 2016" |
Definition at line 28 of file poll2_core.h.
#define POLL2_CORE_VERSION "1.4.14" |
Definition at line 27 of file poll2_core.h.
typedef word_t eventdata_t[maxEventSize] |
Definition at line 34 of file poll2_core.h.
typedef PixieInterface::word_t word_t |
Definition at line 33 of file poll2_core.h.
std::string humanReadable | ( | double | size | ) |
Convert a rate number to more useful form.
bool IsNumeric | ( | const std::string & | input_, |
const std::string & | prefix_, | ||
const std::string & | msg_ | ||
) |
IsNumeric: Check if an input string is strictly numeric.
[in] | input_ | String to check. |
[in] | prefix_ | String to print before the error message is printed. |
[in] | msg_ | Error message to print if the value is not numeric. |
Definition at line 67 of file poll2_core.cpp.
std::string pad_string | ( | const std::string & | input_, |
unsigned int | length_ | ||
) |
Pad a string with periods until it is the specified length_.
std::string yesno | ( | bool | value_ | ) |
Return a string containing "yes" for value_==true and "no" for value_==false.