LPC Computing
Step 4: Event Generation on the Farm with OSCAR
Here we will generate some events using OSCAR (Object oriented Simulation for Cms Analysis and Reconstruction) the GEANT4 based CMS detector simulation. First we create the OSCAR directory structure and set up the environment correctly.
cd $TOP
scram project OSCAR OSCAR_2_4_6
cd OSCAR_2_4_6/src
cmscvsroot OSCAR
cvs co -r OSCAR_2_4_6 Workspace
cd Workspace/
eval `scram runtime -csh`
rehash
The OSCAR executable is provided with the OSCAR release so let's not compile it here. In the ORCA part we will learn how to build executables. The OSCAR simulation part is very time consuming. It takes at least a day (24 h) to simulate 300 Z'-> jj events. If you are not serious about the output don't use up all the slots in the batch system for lengthy jobs! Be nice to your fellow physicists! So let's only produce a few events here.
cd $SCRIPTS
setup kerberos
setup fbsng
fbs submit zprime_mumu_oscar.jdf 8 10000 5
This will submit job with 8 processes into the batch queue where each process will process 5 events (That will take about half an hour.)