Hall-D Software
alpha
|
A DEPICSvalue object holds information for a single EPICS value read from the data stream. Values are stored in the data stream as strings of the form: key=value. This string is available in the "nameval" field. It is parsed however so that one may access the name via "name" and the value as a sting via "sval". The "ival", "uval", and "fval" hold the value converted into a an "int", "uint32_t", and "double" respectively. This is done using the stringstream class an is done for convience. The EPICS values are inserted into the EVIO file during data taking by the epics2et program which should be started automatically by the DAQ system. Source for that can be found here: More...
#include <DEPICSvalue.h>
Public Member Functions | |
JOBJECT_PUBLIC (DEPICSvalue) | |
DEPICSvalue (time_t timestamp, string &nameval) | |
virtual | ~DEPICSvalue () |
void | toStrings (vector< pair< string, string > > &items) const |
Public Attributes | |
time_t | timestamp |
string | nameval |
string | name |
string | sval |
int | ival |
uint32_t | uval |
double | fval |
A DEPICSvalue object holds information for a single EPICS value read from the data stream. Values are stored in the data stream as strings of the form: key=value. This string is available in the "nameval" field. It is parsed however so that one may access the name via "name" and the value as a sting via "sval". The "ival", "uval", and "fval" hold the value converted into a an "int", "uint32_t", and "double" respectively. This is done using the stringstream class an is done for convience. The EPICS values are inserted into the EVIO file during data taking by the epics2et program which should be started automatically by the DAQ system. Source for that can be found here:
https://halldsvn.jlab.org/repos/trunk/online/packages/etUtils/src/epics2et
Definition at line 37 of file DEPICSvalue.h.
|
inline |
|
inlinevirtual |
Definition at line 60 of file DEPICSvalue.h.
DEPICSvalue::JOBJECT_PUBLIC | ( | DEPICSvalue | ) |
double DEPICSvalue::fval |
Definition at line 68 of file DEPICSvalue.h.
Referenced by DEPICSvalue(), and toStrings().
int DEPICSvalue::ival |
Definition at line 66 of file DEPICSvalue.h.
Referenced by DEPICSvalue(), and toStrings().
string DEPICSvalue::name |
Definition at line 64 of file DEPICSvalue.h.
Referenced by DEPICSstore::AddValue(), DEPICSvalue(), JEventProcessor_EPICS_dump::evnt(), JEventProcessor_TS_scaler::evnt(), DEventProcessor_run_summary::evnt(), and toStrings().
string DEPICSvalue::nameval |
Definition at line 63 of file DEPICSvalue.h.
Referenced by DEPICSvalue(), and DEVIOBufferWriter::WriteEPICSData().
string DEPICSvalue::sval |
Definition at line 65 of file DEPICSvalue.h.
Referenced by DEPICSvalue(), JEventProcessor_EPICS_dump::evnt(), JEventProcessor_TS_scaler::evnt(), DEventProcessor_run_summary::evnt(), and toStrings().
time_t DEPICSvalue::timestamp |
Definition at line 62 of file DEPICSvalue.h.
Referenced by DEPICSstore::AddValue(), DEPICSvalue(), JEventProcessor_highlevel_online::evnt(), and toStrings().
uint32_t DEPICSvalue::uval |
Definition at line 67 of file DEPICSvalue.h.
Referenced by DEPICSvalue().