4.1 First Level Trigger
The BLAST trigger consists primarily of programmable CAMAC modules from LeCroy. There are two CAMAC crates, one per sector. Communication with the CAMAC crates is through a Creative Electronic Systems CBD8201 branch driver. This is located in a VME crate in Rack 3, which also contains the scalers. The program ~/pro2003/trigger/trig loads settings to the various modules from a user-specified file. trig also provides a graphical user interface to examine, modify and save settings.
Detector signals are brought on RG58 cable to patch panels at the upstream end of each detector subframe, and from there to the D Tunnel. The high voltage cables also run from the D Tunnel through the patch panel to the detectors. The neutron detectors are an exception; the cables run directly between the detectors and the D Tunnel. The phototube signal cables are a total of 190 feet in length, whether running direct or through the patch panel.
The phototube signals are sent through splitter panels, where a passive circuit splits the signal in half; the prompt portion goes to the discriminators, while the other half goes through a passive delay line chip (Data Delay Devices 2214-500A) for 500ns of delay to the ADCs. The phototube signals for each Cerenkov box are added in a CAEN N407 analog adder, before going to the splitter panel.
The programmable trigger consists of discriminators, delays, logic modules to AND the ends of scintillator bars, ORs to fan together groups of scintillators, and MLUs (memory lookup units) to form triggers from user-defined patterns of input bits. Discriminator outputs are also sent to passive delays whose outputs go to scalers and to TDC stops. The discriminated signals from the end of each TOF (time of flight scintillator) are also sent to CAEN C561 mean timers. The mean time of each TOF hit is ORed together to provide a Common Strobe signal for the TS; this gives a stable start time for the event, independent of out-of-plane angle.
There is an MLU for each sector, with 16 input bits each; 6 output bits from each sector MLU go to the cross MLU (XMLU). A logic signal from the laser flasher goes to another XMLU input bit. Each MLU has a panel (above the CAMAC crate) to patch input signals to input bits, rather than making octopus cables. Programming the MLU hit patterns requires some care. A "1" for an input bit means there must be a signal there; a "0" means there must not be a signal there. If you don't care whether that particular detector (or group of detectors) fires, you must set an "X" for that input bit. Be sure you don't program multiple output patterns for the same input pattern; this will cause problems in the MLU. It's very easy to do when using X's, so check the input
patterns carefully.
There are a number of standard trigger setting files in /home/daq/blast/pro2003/trigger suitable for loading with trig. See the README in that directory for an explanation.