# # This is the module configuration file. # It has two parts: Module Setup Definitions (specific to each module type) # and Module List, which gives the readout list. The parts can occur # in either order. # # Module Setup Definitions # # Setup definition parameters will be assigned to the closest preceding # "setup_type_and_number". The list of possible parameters is module-specific. # If a parameter is not listed, or if it is set to -1, a default is used. # DDU2 setup - not used yet setup_type_and_number 0x44445532 1 # ASCII id and setup number pause_on_error 0 # 0=no pause, 1 = pause # SCL4434 setup - actually the scaler is located in CCB setup_type_and_number 0x53434c32 1 # ASCII id and setup number readout_mask 1 # bit n = 1 -> read channel n+1 # CCB2 setup setup_type_and_number 0x43434232 1 # ASCII id and setup number trigger_from 5 # 1-ALCT 2-CLCT 6-DMB # tpsource 3 # 0-nothing 1-async 2-sync 3-DMB # pause 11 # TRIGMB01 setup setup_type_and_number 0x544d4232 1 # ASCII id and setup number # tnph_thresh 1 # # tnph_pattern 1 # # ttrig_en 32 # DMB2 setup - is it used? setup_type_and_number 0x444d4232 1 # ASCII id and setup number ddu2_identifier 98 # connected to this ddu2 crc_check 1 # 1 -> 2 crc words / timesample num_timesamples 16 # number of SCA time samples # ALCT setup - parameters are not used yet setup_type_and_number 0x414C4332 1 # ASCII id and setup number scan_mode 0 # scan <0 : no scan delay 5 # global delays if set jtag_readout 1 # please read the alct #------------------------------------------------------------------------------ # Module List # module_id : from ${DAQHOME}/include/daq_module.h # identifier: crate (bits 8-11) and slot (bits 0-7) for CAMAC # module base address for VME # not yet determined at all for PCI # JTAG parallel port device number for ACAL (and CCAL?) # setup number: refers to the setup with this number and module_id in this file # (any number is ok); if the setup doesn't exist, behavior is undefined # setup numbers don't have long-term meaning and needn't be consistent in # different versions of module_config_nnnn # sequence number: for each irun, this gives which modules are to be read out, # and the order in which they are to be read out. # Sequence numbers don't have to be consecutive, although it's more natural. # Zero means the module is not read out by this run. # The module with the lowest non-zero number is read out first. # # module id identifier setup sequence number # irun0 irun1 irun2 irun3 #------------------------------------------------------------------------------ # 0x4343414C 0x1 5 1 0 0 0 #CCAL 0x544D4232 0xd00000 1 1 0 0 0 #TMB2 0x414C4332 0x00 1 2 0 0 0 #ALC2 0x43434232 0x0b 1 3 0 0 0 #CCB2 0x53434C32 0x20e 1 4 0 0 0 #SCL2 0x44445532 0x62 1 5 0 0 0 #DDU2 0x444d4232 0x0d 1 6 0 0 0 #DMB2