Warning, /analysis/ResonanceJetTaggingOutputs/macro/README.md is written in an unsupported language. File is not indexed.
0001 # BuildResonanceJetTaggingTree
0002
0003 ## Building the module
0004 * Load sPHENIX newest software:
0005 * source /opt/sphenix/core/bin/sphenix_setup.sh -n new
0006 * Create the environmental variable MYINSTALL point to you installation directory
0007 * Ex.: export MYINSTALL=/sphenix/u/antoniosilva/myInstall (This is just an example, you have to change it accordingly to your directories)
0008 * Load some more setup:
0009 * source $OPT_SPHENIX/bin/setup_local.sh $MYINSTALL
0010 * Inside the ResonanceJetTaggingOutputs directory, create a build directory
0011 * mkdir build
0012 * cd build
0013 * Run autogen.sh from inside the build directory. Don't forget to use the entire path where it is located. Use the --prefix to pass the MYINSTALL variable
0014 * Ex.: /sphenix/u/antoniosilva/analysis/ResonanceJetTaggingOutputs/autogen.sh --prefix=$MYINSTALL (This is just an example, you have to change it accordingly to your directories)
0015 * Compile it:
0016 * make install
0017
0018 ## Running the software
0019
0020 * Don't forget to load sPHENIX software: source /opt/sphenix/core/bin/sphenix_setup.sh -n new
0021 * Change the path of the variable $MYINSTALL in the file run_MDC2reco.sh. It should point to your install directory
0022 * In run_MDC2reco.sh, the $OPT_SPHENIX/bin/setup_local.sh $MYINSTALL will be loaded
0023 * Run makeCondorJobs.py with parameters to get the files to run MDC2 simulations. My suggestion is:
0024 * python makeCondorJobs.py -i D0JETS --truth --calo --truth_table -t 100000 -f 1
0025 * -t: number of events
0026 * -i: D0JETS will use the D0-Jet production
0027
0028 * After running makeCondorJobs.py, go to the recent created directory condorJob, there you have the file myD0JETS.job that will submit the jobs to run on the number of events and production you selected. Just do:
0029 * condor_submit myD0JETS.job