184 cdreg(&ext, 1, 2, 3, 4);
279 for (
i = 0;
i <
j;
i++)
284 for (
i = 0;
i < 16;
i++)
289 for (
i = 0;
i < 16;
i++)
294 for (
i = 0;
i < 6;
i++)
314 for (
i = 0;
i < 16;
i++)
EXTERNAL INLINE void cfsa(const int f, const int ext, unsigned long *d, int *q)
EXTERNAL INLINE void cdreg(int *ext, const int b, const int c, const int n, const int a)
#define CMD_INTERRUPT_ATTACH
#define CMD_INTERRUPT_DISABLE
#define CMD_INTERRUPT_ENABLE
#define CMD_INTERRUPT_DETACH
EXTERNAL int EXPRT cam_init(void)
EXTERNAL void EXPRT cam_interrupt_disable(const int c)
EXTERNAL void EXPRT cam_interrupt_enable(const int c)
EXTERNAL void EXPRT cam_interrupt_attach(const int c, const int n, void(*isr)(void))
EXTERNAL void EXPRT cam_exit(void)
EXTERNAL void EXPRT cam_interrupt_detach(const int c, const int n)
static std::string q(const char *s)
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
BOOL frontend_call_loop
frontend_loop is called periodically if this variable is TRUE
INT max_event_size
maximum event size produced by this frontend
INT frontend_exit()
Frontend exit.
INT files_dump(char *pevent, INT off)
INT frontend_init()
Frontend initialization.
INT event_buffer_size
buffer size to hold events
INT poll_event(INT source, INT count, BOOL test)
Polling routine for events.
INT read_trigger_event(char *pevent, INT off)
INT interrupt_configure(INT cmd, INT source[], PTYPE adr)
EQUIPMENT equipment[]
Main structure for midas equipment.
INT display_period
a frontend status page is displayed with this frequency in ms
char * frontend_name
The frontend name (client name) as seen by other MIDAS clients.
char * frontend_file_name
The frontend file name, don't change it.
INT begin_of_run(INT run_number, char *error)
Begin of Run.
INT frontend_loop()
Frontend loop.
INT end_of_run(INT run_number, char *error)
End of Run.
INT read_scaler_event(char *pevent, INT off)
Scaler event readout.