AlcapDAQ
1
|
#include <stdio.h>
#include "midas.h"
Go to the source code of this file.
Data Structures | |
struct | SEPARATOR_DATA_Struct |
Typedefs | |
typedef struct SEPARATOR_DATA_Struct | SEPARATOR_DATA |
Functions | |
INT | read_separator_event (char *pevent, INT off) |
INT | pre_begin_of_run () |
INT | frontend_early_init () |
INT | poll_event (INT source[], INT count, BOOL test) |
INT | interrupt_configure (INT cmd, INT source[], PTYPE adr) |
INT | frontend_init () |
INT | frontend_exit () |
INT | frontend_loop () |
INT | begin_of_run (INT run_number, char *error) |
INT | end_of_run (INT run_number, char *error) |
INT | pause_run (INT run_number, char *error) |
INT | resume_run (INT run_number, char *error) |
Variables | |
INT | crate_number =0 |
HNDLE | hDB |
HNDLE | hKey |
int | size |
int | sepDemand |
char | Alarm [128] = "/Equipment/SeparatorMonitor/Variables/Alarm_Triggered" |
char * | frontend_name = "SeparatorMonitor" |
char * | frontend_file_name = __FILE__ |
BOOL | frontend_call_loop = TRUE |
INT | display_period = 1000 |
INT | max_event_size = 10000 |
INT | max_event_size_frag = 5 * 1024 * 1024 |
INT | event_buffer_size = 10 * 10000 |
BANK_LIST | separator_bank_list [] |
EQUIPMENT | equipment [] |
typedef struct SEPARATOR_DATA_Struct SEPARATOR_DATA |
INT begin_of_run | ( | INT | run_number, |
char * | error | ||
) |
Definition at line 198 of file frontend.c.
INT end_of_run | ( | INT | run_number, |
char * | error | ||
) |
Definition at line 205 of file frontend.c.
INT frontend_exit | ( | void | ) |
Definition at line 183 of file frontend.c.
INT frontend_init | ( | void | ) |
Definition at line 168 of file frontend.c.
INT frontend_loop | ( | void | ) |
Definition at line 190 of file frontend.c.
INT interrupt_configure | ( | INT | cmd, |
INT | source[], | ||
PTYPE | adr | ||
) |
Definition at line 161 of file frontend.c.
INT pause_run | ( | INT | run_number, |
char * | error | ||
) |
Definition at line 212 of file frontend.c.
INT poll_event | ( | INT | source[], |
INT | count, | ||
BOOL | test | ||
) |
Definition at line 157 of file frontend.c.
INT pre_begin_of_run | ( | ) |
INT read_separator_event | ( | char * | pevent, |
INT | off | ||
) |
Definition at line 226 of file frontend.c.
References Alarm, SEPARATOR_DATA_Struct::current, frontend_name, hDB, SEPARATOR_DATA_Struct::hv, i, printf(), SEPARATOR_DATA_Struct::sep_stat, sepDemand, size, and SEPARATOR_DATA_Struct::vac.
INT resume_run | ( | INT | run_number, |
char * | error | ||
) |
Definition at line 219 of file frontend.c.
char Alarm[128] = "/Equipment/SeparatorMonitor/Variables/Alarm_Triggered" |
Definition at line 74 of file frontend.c.
Referenced by frontend_init(), and read_separator_event().
INT crate_number =0 |
Definition at line 68 of file frontend.c.
INT display_period = 1000 |
Definition at line 91 of file frontend.c.
EQUIPMENT equipment[] |
Definition at line 118 of file frontend.c.
INT event_buffer_size = 10 * 10000 |
Definition at line 100 of file frontend.c.
BOOL frontend_call_loop = TRUE |
Definition at line 88 of file frontend.c.
char* frontend_file_name = __FILE__ |
Definition at line 85 of file frontend.c.
char* frontend_name = "SeparatorMonitor" |
Definition at line 83 of file frontend.c.
HNDLE hDB |
Definition at line 70 of file frontend.c.
HNDLE hKey |
Definition at line 71 of file frontend.c.
INT max_event_size = 10000 |
Definition at line 94 of file frontend.c.
INT max_event_size_frag = 5 * 1024 * 1024 |
Definition at line 97 of file frontend.c.
BANK_LIST separator_bank_list[] |
Definition at line 104 of file frontend.c.
int sepDemand |
Definition at line 73 of file frontend.c.
Referenced by read_separator_event().
int size |
Definition at line 72 of file frontend.c.
Referenced by allocate_dma_buffer(), caen_load(), caenV767_fifo_read(), caenV767_poll1(), cnaf_callback(), comp_load(), directio_give_port(), directio_lock_port(), dl40x_read(), dma_read(), dma_write(), eb_begin_of_run(), eb_mfragment_add(), eb_yfragment_add(), epics_ca_get(), fadc_load(), TOctalFADCIsland::FitGauss(), G__DataLibraryDict_412_0_7(), G__DataLibraryDict_417_0_11(), G__DataLibraryDict_507_0_11(), G__DataLibraryDict_518_0_7(), G__DataLibraryDict_523_0_11(), G__DataLibraryDict_528_0_7(), G__DataLibraryDict_532_0_7(), G__DataLibraryDict_533_0_11(), G__DataLibraryDict_537_0_11(), G__RootanaDataClasses_432_0_7(), G__RootanaDataClasses_446_0_11(), G__RootanaDataClasses_591_0_7(), G__RootanaDataClasses_597_0_11(), G__RootanaDataClasses_606_0_11(), ge_ln2_read(), handFlush(), hits_load(), load_fragment(), load_huffman(), logger_root(), main(), MCaenCompProcessRaw_init(), MDQ_DAQLivetime_eor(), MDQ_DigitizerOverflow_init(), MDQ_FADCBufferOverflow_init(), MDQ_FADCPacketLoss_init(), MDQ_IslandRate_eor(), MDQ_RunTime_eor(), MDQ_TDCCheck_eor(), MDQ_Thresholds_eor(), MMuSCAnalysisC_init(), module_init(), module_init_sort_and_stitch(), n2fadc_ndet_load(), n2fadc_tpc_load(), newSegment(), nfadc_load(), odb_get_bool(), odb_get_boolarray(), odb_get_dword(), odb_get_int(), odb_get_word(), pci_scan(), pio_read(), pio_write(), print_diag_output(), process_event(), SimpleHistograms::ProcessEntry(), read_separator_event(), register_equipment(), save_huffman(), SaveDigitalProbe(), SaveWaveform(), scheduler(), send_event(), sis3600_fifo_read(), sis3600_poll1(), source_scan(), stck_load(), tdc400_load(), tr_prestart(), tr_start(), WireMap::UniqueFixes(), update_odb(), UpdateDetectorBankNameMap(), vme_dma_read(), vme_dma_write(), vmedrv_mmap(), and X742_DecodeEvent().