PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
Controls the poll2 command interpreter and data acquisition system. More...
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
#include <string.h>
#include <stdlib.h>
#include <sstream>
#include <ctime>
#include <cmath>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include "poll2_core.h"
#include "poll2_socket.h"
#include "poll2_stats.h"
#include "CTerminal.h"
#include "PixieSupport.h"
#include "Utility.h"
#include "Display.h"
#include "MCA_ROOT.h"
#include "MCA_DAMM.h"
Go to the source code of this file.
Macros | |
#define | POLL_TRIES 100 |
#define | MAX_FILE_SIZE 4294967296ll |
#define | PKT_HEAD_LEN 8 |
#define | MAX_PKT_DATA (MAX_ORPH_DATA - PKT_HEAD_LEN) |
Functions | |
bool | IsNumeric (const std::string &input_, const std::string &prefix_, const std::string &msg_) |
Variables | |
std::vector< std::string > | chan_params |
std::vector< std::string > | mod_params |
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.cpp.
#define MAX_FILE_SIZE 4294967296ll |
Definition at line 53 of file poll2_core.cpp.
#define MAX_PKT_DATA (MAX_ORPH_DATA - PKT_HEAD_LEN) |
Definition at line 59 of file poll2_core.cpp.
#define PKT_HEAD_LEN 8 |
Definition at line 56 of file poll2_core.cpp.
#define POLL_TRIES 100 |
Definition at line 50 of file poll2_core.cpp.
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::vector<std::string> chan_params |
Definition at line 77 of file poll2_core.cpp.
std::vector<std::string> mod_params |
Definition at line 81 of file poll2_core.cpp.