Produit Nicolas
25 march 1997
This memo is intended to explain what is the meaning of the parameters you can find in the file default.set.
This file has to be present in your working directory when you start any of the programs. The file contains a description of your hardware and default values to be used by the programs.
This file is ASCII. You can edit it using simple editors like edit (dont use a word processor like Word)
The file is line oriented. The program just reads on the line what it needs, anything that follows is disregarded, so you can put after the relevant information whatever you want as a comment.
The first two lines are comments.
The third line is the location of the test system. The program has to figure out where the string ends and where the comment starts, so you have to end your string with a "\"
Next line: the directory where to put the program output files.
Next line: the directory where to put/fetch the calibration files.
Next line: the directory where to find the BGI driver for your graphic card (look in your Turbo manual)
Next line: start the line with "internal" if you want an internal trigger, with anything else if you want to use an external trigger
Next line: start the line with "dynamic" if you want to use the dynamic pedestal calculation (look at AMS Geneva Memo: Algorithm to compress AMS data)
Next line: start the line with "gain" if you want to use the gain associated with each strip.
Next line: two real numbers giving the two DAC values in MIPS used to compute the gain in the calibration program (look at AMS Geneva Memo: The calibration program)
Next line: two real numbers giving the seed and neighbour cuts for the clustering algorithm (look at AMS Geneva Memo: Algorithm to compress AMS data)
Next line: calibration cuts nsig, maxnoise, min noise, occ, gain, 1/ dynamic feedback weight, the order is historical (sorry!) (look at AMS Geneva Memo: The calibration program)
Next line: 5 integer numbers giving the number of events for each pass in the calibration program (look at AMS Geneva Memo: The calibration program)
Next line: 1 integer number. Some programs have a maximum number of events. If they do they read it from here.
Next line: one integer number. Number of channels per VA: must be 64.
Next line: one real number. Time in nsec between trigger to hold.
Next line: put a 0 there. If you have problems with your graphic card read your Turbo documentation and find the graphic driver number suitable for your harware, and put it there. Up to now nobody had problems with the value 0.
Next line: one integer number explaining your hardware. 0 means no hardware, programs will use Monte Carlo data. 1 is no more supported. put 2 if you have a Geneva PC system. 3 and 4 are almost equivalent and correspond to Mr Wu's camac TDR. 5 is Mr Wu's TDR with DSP but not yet supported. 6 is SRSSDA: this code is so old that it is no more considered as supported. 7 is an ASCII file. 8 is a binary file. 9 is the VME TDR
From here on the format of the file will depend on the hardware. I just give here the Geneva PC version explanation. For the other hardware look in the default.set provided in the distribution. You can also look inside definit.pas code or ask me.
Next line: one hexadecimal number. Base adress of the card. You can use the program FIND_HARD to find what is (are) the hardware base address of you card(s).
Number of va: 3 numbers giving the number of VA for channel S1 S2 and K.
default setting for pc1 card
value comment
Geneva\ test system location end with a backslasch
c:\pc1\dump\ dump directory
c:\pc1\calib\ calib directory
c:\tp\bgi\ bgi drivers
internal internal or external trigger
dynamic dynamic or not dynamic pedestal
no gain use gain or no gain correction
10 20 dac value for gain calibration
5.0 1.0 cut seed cut neighbour for cluster
3.0 10.0 0.5 0.4 0.1 100.0 calibration cuts (nsig, maxnoise, min noise, occ, gain, 1/ dynamic feedback weight)
100 250 100 100 100 number of events for calibration
500 number of events in programs
64 channel per VA(64 for VA-hdr 128 for normal VA)
3000.0 trigger to hold;{max 25000 nsec}
0 graphic driver number 0=autodetect depend on your card (0..6)
2 hardware type 0=mc 1=pc0 2=pc1 3=wu0 4=wu1 5=wu2 6=srs
300 base address in hex space space hybrid or erni hybrid
5 5 6 number of VAs