Franz Klein's proposal for new monte carlo bank:
Hi folks,
I made a BOS bank that contains all parameters that are
probably
set via FFKEY (ffread cards) and probably the input file
for
options lizin,mcin,lundin (depending on 'ikine'(=1,2,5,11,12,15)).
I changed the ffread cards (up to 12 chars) in order to
have
names that are more appropriate but you can still use
the
known short (4 chars long) card names because only the
first 4 characters are checked when reading the cards.
(That may be changed if you want!)
The only cards where I changed the first 4 characters
(that are
relevant when reading in these cards):
EC1ATTENUAT was AEC1
EC1THRESHOLD was TEC1
EC1DELAY
was DEC1
EC1PHOTOELEC was PEC1
EC1REFLECT was
REC1
EC1CH2ADC
was KEC1
Greetings,
Franz
The format definition of the parameter bank is quite simple:
!-----------------------------------------------------------------------
! BANKname BANKtype
! Comments
TABLE GPAR
! create write display delete ! input parameter bank for gsim
!
! save input parameters (float OR int values (char
as ascii))
! (special codes: fval=1111.0 -> ival=ascii;
!
fval=-1111.0 -> ival=logical(-1=T,0=F))
! ATTributes:
! -----------
!COL ATT-name FMT Min Max
! Comments
!
1 fval F -1000000.
10000000. ! float value
2 ival I -1000000
10000000 ! int value
3 char1 A
0 255
! char[16] name;
4 char2 A
0 255
!
5 char3 A
0 255
!
6 char4 A
0 255
!
!
END TABLE
===============================================================
Franz J. Klein, Thomas Jefferson National Accelerator
Facility,
12000 Jefferson Avenue MS 12H, Newport News, VA 23606
Email: fklein@jlab.org, Tel: (757)269-5879, Fax: (757)269-5800
---------------------------------------------------------------