Difference between revisions of "RICH software and analysis"

From EIC-eRD14
Jump to: navigation, search
(running simulation and analysis)
Line 20: Line 20:
  
 
"LongRun_sim" calls "exec_sim" to create farm job submission script and submit them. Each job runs the main code "do_it_all.sh"
 
"LongRun_sim" calls "exec_sim" to create farm job submission script and submit them. Each job runs the main code "do_it_all.sh"
 +
 +
check job status "jobstat -u $USER" and log ~/.farm_out/
  
 
refer to jlab farm https://scicomp.jlab.org
 
refer to jlab farm https://scicomp.jlab.org
 +
 +
  
 
= simulation data location =
 
= simulation data location =

Revision as of 15:28, 30 April 2018

source code location

pythia6 docker container https://github.com/eictool/container/blob/master/log_evgen_pythia6


mRICH in JLEIC det1 https://github.com/EIC-eRD11/det1_rich_modular_eleside

dRICH in JLEIC det1 https://github.com/EIC-eRD11/dualRICH_inMEIC/tree/master/gemc_drich/aerogel_c2f6

running simulation and analysis

general instruction running GEMC on ifarm at https://eic.jlab.org/wiki/index.php/EIC_Software#on_ifarm

run code in graphic mode on ifarm https://hallaweb.jlab.org/wiki/index.php/Ifarm_graphic_mode

The code to run farm jobs are at /work/eic/sim/eic_gemc/JLAB_VERSION_1.3/RICH

run "./LongRun_sim" and Give the start run number as 1, then Give the end run number 100. 100 jobs will be launched.

"LongRun_sim" calls "exec_sim" to create farm job submission script and submit them. Each job runs the main code "do_it_all.sh"

check job status "jobstat -u $USER" and log ~/.farm_out/

refer to jlab farm https://scicomp.jlab.org


simulation data location

They are at jlab disk location

dir  /work/eic/sim/eic_gemc/JLAB_VERSION_1.3/RICH/
subdir   output1/  (1st try)
         output2/  (2nd try, dRICH refraction index change,mRICH has no change)
         output3/  (3rd try, pythia fix negative particles, put weight at var8)
         output4/  (4rd try, pythia add scattered electron and proton in output, weight is fixed to have correct normalization)
subsubdir  pythia6_nofield/out.*.root
           pythia6_yesfield/out.*.root
           flat_nofield/out.*.root
           flat_yesfield/out.*.root
simulation files have both RICH
each pythia6 file has 1e3 events and about 1GB size 
each flat file has 1e4 events and about 1GB size 
pythia6 events has no selection of channels
flat events include pi,kaon,proton in each events

The easiest way would be running your analysis script at jlab ifarm to process the data Or you have to download them by using scp from ftp.jlab.org with your jlab account or via globus (about 2x faster with some setup effort)

working at jlab ifarm

ssh -X your_jlab_username@login.jlab.org

ssh -X ifarm

source /group/eic/eic_svn/set_eic (this set up env for simulation including a root)

cd /work/eic/(your_jlab_username)