# # 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 1 # 1-ALCT 2-CLCT 3-EXT tpsource 5 # 0-nothing 1-async 2-sync 5-both # TRIGMB01 setup setup_type_and_number 0x544d4232 1 # ASCII id and setup number ttrig_en 520 # see tmb reg 0x68 for details tdelay 496 # DMB2 setup - is it used? setup_type_and_number 0x444d4232 1 # ASCII id and setup number ddu2_identifier 98 # connected to this ddu2 num_timesamples 16 # number of SCA time samples # ALCT2 calibration setup_type_and_number 0x414C4332 2 # ASCII id and setup number: ACL2 #4 scan_mode 2 # 0->no calib, just load JTAG, # 1->threshold, 2->delay, # 3->testamp, 4->teststrip trig_per_step 400 # number of triggers at # each step (400) first_value 0 # first DAC value (range 2-180) step_size 1 # step size in DAC counts num_points 16 # number of points per strip #------------------------------------------------------------------------------ # 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 #------------------------------------------------------------------------------ 0x544D4232 0xd00000 1 1 0 0 0 #TMB2 0x414C4332 0x00 2 2 0 0 0 #ALC2 0x43434232 0x0b 1 3 0 0 0 #CCB1 0x53434C32 0x20e 1 4 0 0 0 #SCL2 0x44445532 0x62 1 5 0 0 0 #DDU2 0x444d4232 0x0d 1 6 0 0 0 #DMB2