[Hallc_sidis_analysis] SIMC modifications
Peter Bosted
bosted at jlab.org
Wed Jun 12 17:32:15 EDT 2019
Hi DD and Hem and whomever is interested.
I made some changes to my local version of
/group/c-sidis/simc
The .f codes changed are:
-rw-r--r-- 1 bosted c-sidis 70075 May 26 20:05 simc.f
-rw-r--r-- 1 bosted c-sidis 35514 May 26 20:05 dbase.f
-rw-r--r-- 1 bosted c-sidis 8825 May 26 21:48 results_write.f
-rw-r--r-- 1 bosted c-sidis 55008 Jun 10 14:52 event.f
-rw-r--r-- 1 bosted c-sidis 15350 Jun 10 15:02 makesimcinfiles.f
-rw-r--r-- 1 bosted c-sidis 19293 Jun 10 15:38 target.f
The changes are
1) input file name comes from an enviromental name (not keyboard)
2) changed where output files go
3) treatment of dummy target. Set targ_can=10 and it will hopefully
simulate a 10cm dummy target correctly (except I had to turn
off energy loss calculation to avoid a lot of re-coding)
4) added a text-based output file to match how I "skim" the real data
The code makesimcinfiles.f (originally written by Hamelt, modified by
me) will generate 5 input files matched
to the kinematics of each run in the master run list. I also makes
a .json file so that everything can be run on the batch farm. It
only takes abouts 1 hour to generate all 3500 output files for sping18.
There is an exectuable file called runsp18.txt (maybe actually called
something else: just look for *.txt) that will actually issue
the three swif commands needed to run the .json file.
What is handy about this method is that you can compare SIMC and data
on a run-by-run basis and quickly find "problem" runs. The ratios
data/simc may not be unity, but at least it should be well-behaved.
Hope this is useful.
Prof. Peter Bosted
email: bosted at jlab.org
phone: (808) 315-1297 (cell)
P.O. Box 6254, Ocean View, HI 96737
More information about the Hallc_sidis_analysis
mailing list