setenv XMMOMMSSLSIM .../data wherever the data is cd .../fieldsThe source file e.g., EG_And.dat, has the RA/Dec as the first line then each line consists of:
gcc -O -o fast_check fast_check.c
To run the fast fast simulator:
io_lx fast_checkfast_sim will say something like this with the responses in bold. The "1028 1028" is the position of the bfast source.
2 msslge:~jpdm/xmm/fast% io_lx ./fast_check user_id: 208 ********** Writing to hardware **************** Input sourcecat_*.dat file : sourcecat_6.dat Input source 1 for fast mode : countrate (c/s) : 100 Xpos, Ypos : 1028 1028 Input detector windows file (<CR> for whole detector) : <CR> Number of sources 349 Read out time is 0.010948 Total count rate : 19762.766470 Input running time : 100000000 Aquisition mode is 0And it is running waiting for Choose Guide Stars.
<exp
split_archive archive_name
win archive_name
1 512 528 512 512 0 0 976 4194304 496 2 512 1040 512 464 0 0 976 4194816 496 3 1024 528 512 512 0 0 976 4694016 496 4 1024 1040 512 464 0 0 976 4694528 496 5 1408 1888 64 64 1 128 64 5193728 160 6 1296 1808 64 64 2 240 64 5197824 240 7 400 1344 64 64 3 112 64 5201920 192 8 160 272 64 64 4 352 64 5206016 240 9 704 256 64 64 5 320 64 5210112 256 10 896 448 64 64 6 128 64 5214208 64and put it in a file called anything, e.g.:
det.win
fast_check
again
det.win
tc_set_exp_no expid
and <exp
commands in it.
2 msslge:~jpdm/xmm/fast% io_lx ./fast_check user_id: 208 ********** Writing to hardware **************** Input sourcecat_*.dat file : sourcecat_6.dat Input source 1 for fast mode : countrate (c/s) : 100 Xpos, Ypos : 1028 1028 Input detector windows file (then the fast sim will keep producing events for a long time.for whole detector) : /home/pjs1/det.win Number of sources 93 Read out time is 0.006813 Total count rate : 19546.454810 Input running time : 1000000000 Aquisition mode is 2
<generate/expose
This is generated with gen.c in ~egse/scripts/generate