# # 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 # CCB2 setup setup_type_and_number 0x43434232 1 # ASCII id and setup number trigger_from 6 # 1-ALCT 2-CLCT 6-DMB tpsource 4 # 0-nothing 1-async 2-sync 3-DMB 4-INJect # TRIGMB01 setup setup_type_and_number 0x544d4232 1 # ASCII id and setup number tnph_thresh 1 # tnph_pattern 1 # # 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 # STRIPCAL calibration setup ("CCAL" module) # mode 6: # the first is the three-strip pulse amplitude in DAC counts (range 0-255), and # the second is the comparator threshold in # mV (range 0-2500 mV). setup_type_and_number 0x4343414C 5 # ASCII id and setup number scan_mode 6 # range 1-8 first_value 10 # value of 1st scan parameter step_size 0 # step size of 1st scan param first_value_2nd_param 50 # value of 2nd scan parameter step_size_2nd_param 0 # step size of 2nd scan param num_points 1 # number of points per strip trig_per_step 250 # number of triggers at each step csc_id 1 # csc to be calibrated (only one) layer_mask 63 # one bit per layer first_strip 1 # first (half)strip to calibrate last_strip 32 # last (half)strip to calibrate #------------------------------------------------------------------------------ # 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 2 0 0 0 #TMB2 0x414C4332 0x00 1 3 0 0 0 #ALC2 0x43434232 0x0b 1 4 0 0 0 #CCB2 0x44445532 0x62 1 5 0 0 0 #DDU2 0x444d4232 0x0d 1 6 0 0 0 #DMB2