MIDAS
|
Go to the source code of this file.
Functions | |
INT | frontend_init () |
Frontend initialization. | |
INT | frontend_exit () |
Frontend exit. | |
INT | begin_of_run (INT run_number, char *error) |
Begin of Run. | |
INT | end_of_run (INT run_number, char *error) |
End of Run. | |
INT | pause_run (INT run_number, char *error) |
Pause Run. | |
INT | resume_run (INT run_number, char *error) |
Resume Run. | |
INT | frontend_loop () |
Frontend loop. | |
INT | read_large_event (char *pevent, INT off) |
INT | poll_event (INT source, INT count, BOOL test) |
INT | interrupt_configure (INT cmd, INT source, PTYPE adr) |
Variables | |
const char * | frontend_name = "largefe" |
const char * | frontend_file_name = __FILE__ |
BOOL | frontend_call_loop = TRUE |
INT | display_period = 0000 |
INT | max_event_size = 10000 |
INT | max_event_size_frag = 5 * 1024 * 1024 |
INT | event_buffer_size = 10 * 10000 |
BOOL | equipment_common_overwrite = FALSE |
EQUIPMENT | equipment [] |
Begin of Run.
Called every run start transition. Set equipment status in ODB, start acquisition on the modules.
[in] | run_number | Number of the run being started |
[out] | error | Can be used to write a message string to midas.log |
Definition at line 118 of file largefe.cxx.
End of Run.
Called every stop run transition. Set equipment status in ODB, stop acquisition on the modules.
[in] | run_number | Number of the run being ended |
[out] | error | Can be used to write a message string to midas.log |
Definition at line 125 of file largefe.cxx.
Frontend exit.
Runs at frontend shutdown. Disconnect hardware and set equipment status in ODB
Definition at line 111 of file largefe.cxx.
Frontend initialization.
Runs once at application startup. We initialize the hardware and optical interfaces and set the equipment status in ODB. We also lock the frontend to once physical cpu core.
Definition at line 104 of file largefe.cxx.
Frontend loop.
If frontend_call_loop is true, this routine gets called when the frontend is idle or once between every event.
Definition at line 145 of file largefe.cxx.
Definition at line 184 of file largefe.cxx.
Pause Run.
Called every pause run transition.
[in] | run_number | Number of the run being ended |
[out] | error | Can be used to write a message string to midas.log |
Definition at line 132 of file largefe.cxx.
Definition at line 160 of file largefe.cxx.
Definition at line 201 of file largefe.cxx.
Resume Run.
Called every resume run transition.
[in] | run_number | Number of the run being ended |
[out] | error | Can be used to write a message string to midas.log |
Definition at line 139 of file largefe.cxx.
INT display_period = 0000 |
Definition at line 30 of file largefe.cxx.
EQUIPMENT equipment[] |
Definition at line 56 of file largefe.cxx.
Definition at line 54 of file largefe.cxx.
INT event_buffer_size = 10 * 10000 |
Definition at line 39 of file largefe.cxx.
Definition at line 27 of file largefe.cxx.
Definition at line 24 of file largefe.cxx.
Definition at line 21 of file largefe.cxx.
INT max_event_size = 10000 |
Definition at line 33 of file largefe.cxx.
INT max_event_size_frag = 5 * 1024 * 1024 |
Definition at line 36 of file largefe.cxx.