Mc-reweight notes

From HallCWiki

Jump to: navigation, search

Commands to run the mc-reweight repository demonstration.

 sudo yum install tcsh
 git clone https://www.github.com/JeffersonLab/mc-reweight
 cd mc-reweight
 cd SRC/
 make
 cd ../
 cd input/
 cd monte-carlo/
 ln -s ../../../mc_shms_single/worksim/kpp_shms_488.rzdat .
 ln -s ../../../mc_shms_single/worksim/kpp_shms_488.root .
 cd ../shms-data
 ln -s ../../../tutorial/rootfiles/shms_replay_488_500000.root .
 cd ../recon-mc
 ln -fs kpp_shms_488_recon.in reconmc.in
 cd ../../
 tcsh ./mc-reweight.sh 488
 cat output/logs/488.log
 cd output/mc-ntuples/
 h2root mc488.rzdat
 cd ../../root/macros
 root -l mc_reweight.C
 .q
 ls -ltrh ../output
 root -l compPlots.C
Personal tools