#include <RunInfo.h>
Public Member Functions | |
| RunInfo (int t, string d) throw (ILCException::Exception) | |
| void | setStatus (int s) throw (ILCException::Exception) |
| void | start () throw (ILCException::Exception) |
| void | stop () throw (ILCException::Exception) |
| void | setDescription (string d) throw (ILCException::Exception) |
| int | getRunNumber () |
| int | getStatus () |
| int | getType () |
| string | getStartTime () |
| string | getStopTime () |
| Daq * | getDaq () throw (ILCException::Exception) |
| string | getDescription () |
Static Public Member Functions | |
| static RunInfo * | getRunInfo (int n) throw (ILCException::Exception) |
| static string | getStatusDefinition (int val) throw (ILCException::Exception) |
| static string | getTypeDefinition (int val) throw (ILCException::Exception) |
| static vector< RunInfo * > | getRunsFromDaqName (string dname) throw (ILCException::Exception) |
| RunInfo::RunInfo | ( | int | t, | |
| string | d | |||
| ) | throw (ILCException::Exception) |
Constructor
| t | The type of the run | |
| d | The name of the Daq used for the run |
| Daq * RunInfo::getDaq | ( | ) | throw (ILCException::Exception) |
Get a pointer on the DAQ used for the run : you have to delete this pointer.
| RunInfo * RunInfo::getRunInfo | ( | int | n | ) | throw (ILCException::Exception) [static] |
Download the RunInfo object from the database
| n | The run number |
| vector< RunInfo * > RunInfo::getRunsFromDaqName | ( | string | dname | ) | throw (ILCException::Exception) [static] |
| string RunInfo::getStatusDefinition | ( | int | val | ) | throw (ILCException::Exception) [static] |
Get the definition of a run status code
| string RunInfo::getTypeDefinition | ( | int | val | ) | throw (ILCException::Exception) [static] |
Get the definition of a run type code
| void RunInfo::setStatus | ( | int | s | ) | throw (ILCException::Exception) |
Change the status of the Run
| s | The new status : 0 INITIALIZED, 1 CONFIGURED, 2 RUNNING, 3 STOPPED, 4 END |
| void RunInfo::start | ( | ) | throw (ILCException::Exception) |
Change the status of the run to RUNNING (2) and record the startDate
| void RunInfo::stop | ( | ) | throw (ILCException::Exception) |
Change the status of the run to STOPPED (3) and record the stopDate
1.4.7