te March 16, 2004 HJF To split MadGraph files into chunks of 2500 events each and run them through first hepg making and then sim and prod: 1. edit /home/cdf/frisch/ana/montecarlo/splitting/split_V1.pl to make sure output and input are correct, and then run it: split_V1.pl At moment it takes input from /cdf/data6a/stelzer/Henry/process/Events/ and writes split files back to the same directory. e.g. Madwspin-pp_wp_muvma-splitevents-00.dat is the first output file. 2. Now run the hepg maker on each file: /cdf/data6a/frisch/HEPG/runDir/hepg_spin_wrapper.tcsh "Need the following arguments:" 1) input dir /cdf/data6a/stelzer/Henry/process/Events/ 2) output dir (/cdf/data6a/frisch/HEPG/output/) usage: hepg_spin_wrapper.tcsh [Input Dir] [Output Dir]" This runs the script: new_make_hepg_wspin.sh, and finds all files named: [Input dir]/Madwspin*-split-*.dat Output should show up in /cdf/data6a/frisch/HEPG/output/ Naming convention for output is, for process pp_z_tautaua, you get Madwspin-pp_z_tautaua-split-02.hepg for the 3rd (02) file. 3. Now edit and run the Simulation/Production module: /home/cdf/frisch/ana/sim/run_steves_simprod.sh Calls wrapper_runMC.tcsh: take a look and edit appropriately: the usage is : wrapper_runMC.tcsh [absolute hepg input file dir] [process name] [absolute output dir] [submit to pbs queue] #