|
NSCL DDAS 12.2-009
Support for XIA DDAS at FRIB
|
Implementation of the run utilities class. More...
#include "CPixieRunUtilities.h"#include <algorithm>#include <chrono>#include <cmath>#include <iostream>#include <sstream>#include <thread>#include <CXIAException.h>#include <config.h>#include <config_pixie16api.h>#include "CDataGenerator.h"#include "CPixieShimGuard.h"
Functions | |
| CPixieRunUtilities * | CPixieRunUtilities_new () |
| Wrapper for the class constructor. More... | |
| int | CPixieRunUtilities_BeginHistogramRun (CPixieRunUtilities *utils, int mod, unsigned nchan) |
| Wrapper to begin a list-mode histogram data run. More... | |
| int | CPixieRunUtilities_EndHistogramRun (CPixieRunUtilities *utils, int mod) |
| Wrapper to end a list-mode histogram data run. More... | |
| int | CPixieRunUtilities_ReadHistogram (CPixieRunUtilities *utils, int mod, int chan) |
| Wrapper to read histogram data. More... | |
| int | CPixieRunUtilities_BeginBaselineRun (CPixieRunUtilities *utils, int mod, unsigned nchan) |
| Wrapper to begin a baseline data run. More... | |
| int | CPixieRunUtilities_EndBaselineRun (CPixieRunUtilities *utils, int mod) |
| Wrapper to end a baseline data run. More... | |
| int | CPixieRunUtilities_ReadBaseline (CPixieRunUtilities *utils, int mod, int chan) |
| Wrapper to read the baseline data. More... | |
| int | CPixieRunUtilities_ReadModuleStats (CPixieRunUtilities *utils, int mod) |
| Wrapper to read run statistics from the module. More... | |
| unsigned int * | CPixieRunUtilities_GetHistogramData (CPixieRunUtilities *utils) |
| Wrapper to marshall the histogram data; cannot throw, unguarded. More... | |
| unsigned int * | CPixieRunUtilities_GetBaselineData (CPixieRunUtilities *utils) |
| Wrapper to marshall the baseline data; cannot throw, unguarded. More... | |
| bool | CPixieRunUtilities_GetRunActive (CPixieRunUtilities *utils) |
| Wrapper to get the run active status. More... | |
| void | CPixieRunUtilities_SetUseGenerator (CPixieRunUtilities *utils, bool mode) |
| Wrapper to setup the offline data generator; no return value, unguarded. More... | |
| int | CPixieRunUtilities_GetHistogramLength (CPixieRunUtilities *utils, int mod) |
| Wrapper to get histogram length for a single module. More... | |
| int | CPixieRunUtilities_GetMaxBaselines (CPixieRunUtilities *utils, int mod) |
| Wrapper to get the maximum number of baselines for a single module. More... | |
| const char * | CPixieRunUtilities_GetLastErrorMessage (CPixieRunUtilities *utils) |
| Wrapper to get the last error message. Cannot throw; unguarded. More... | |
| void | CPixieRunUtilities_delete (CPixieRunUtilities *utils) |
| Wrapper for the class destructor. More... | |
Implementation of the run utilities class.
| int CPixieRunUtilities_BeginBaselineRun | ( | CPixieRunUtilities * | utils, |
| int | mod, | ||
| unsigned | nchan | ||
| ) |
Wrapper to begin a baseline data run.
| int CPixieRunUtilities_BeginHistogramRun | ( | CPixieRunUtilities * | utils, |
| int | mod, | ||
| unsigned | nchan | ||
| ) |
Wrapper to begin a list-mode histogram data run.
| void CPixieRunUtilities_delete | ( | CPixieRunUtilities * | utils | ) |
Wrapper for the class destructor.
| int CPixieRunUtilities_EndBaselineRun | ( | CPixieRunUtilities * | utils, |
| int | mod | ||
| ) |
Wrapper to end a baseline data run.
| int CPixieRunUtilities_EndHistogramRun | ( | CPixieRunUtilities * | utils, |
| int | mod | ||
| ) |
Wrapper to end a list-mode histogram data run.
| unsigned int * CPixieRunUtilities_GetBaselineData | ( | CPixieRunUtilities * | utils | ) |
Wrapper to marshall the baseline data; cannot throw, unguarded.
| unsigned int * CPixieRunUtilities_GetHistogramData | ( | CPixieRunUtilities * | utils | ) |
Wrapper to marshall the histogram data; cannot throw, unguarded.
| int CPixieRunUtilities_GetHistogramLength | ( | CPixieRunUtilities * | utils, |
| int | mod | ||
| ) |
Wrapper to get histogram length for a single module.
| const char * CPixieRunUtilities_GetLastErrorMessage | ( | CPixieRunUtilities * | utils | ) |
Wrapper to get the last error message. Cannot throw; unguarded.
| int CPixieRunUtilities_GetMaxBaselines | ( | CPixieRunUtilities * | utils, |
| int | mod | ||
| ) |
Wrapper to get the maximum number of baselines for a single module.
| bool CPixieRunUtilities_GetRunActive | ( | CPixieRunUtilities * | utils | ) |
Wrapper to get the run active status.
| CPixieRunUtilities * CPixieRunUtilities_new | ( | ) |
Wrapper for the class constructor.
| int CPixieRunUtilities_ReadBaseline | ( | CPixieRunUtilities * | utils, |
| int | mod, | ||
| int | chan | ||
| ) |
Wrapper to read the baseline data.
| int CPixieRunUtilities_ReadHistogram | ( | CPixieRunUtilities * | utils, |
| int | mod, | ||
| int | chan | ||
| ) |
Wrapper to read histogram data.
| int CPixieRunUtilities_ReadModuleStats | ( | CPixieRunUtilities * | utils, |
| int | mod | ||
| ) |
Wrapper to read run statistics from the module.
| void CPixieRunUtilities_SetUseGenerator | ( | CPixieRunUtilities * | utils, |
| bool | mode | ||
| ) |
Wrapper to setup the offline data generator; no return value, unguarded.