Warning, /analysis/JS-Jet/FullJetFinder/README.md is written in an unsupported language. File is not indexed.
0001 This package is designed to full jet analysis trees using simulations or data. The code first runs over DSTs to create root trees containing the relevant jet information, then offline root macros are used to create and plot histograms.
0002
0003 # Tree Making
0004 The tree making step is done using the FullJetFinder analysis module, run using the macro macro/Fun4All_FullJetFinder.C.
0005
0006 To run the tree making step (note if you are using a bash shell use instead the versions of the commands in parentheses):
0007 1. Build the package in the [usual way](https://wiki.bnl.gov/sPHENIX/index.php/Example_of_using_DST_nodes#Building%20a%20package):
0008
0009 * Make a build directory inside the src directory:
0010
0011 cd src
0012 mkdir build
0013 cd build
0014
0015 * Setup the sPHENIX environment and install paths:
0016
0017 source /opt/sphenix/core/bin/sphenix_setup.csh -n (source /opt/sphenix/core/bin/sphenix_setup.sh)
0018 setenv MYINSTALL ~/install (export MYINSTALL=~/install)
0019 source /opt/sphenix/core/bin/setup_local.csh $MYINSTALL (source /opt/sphenix/core/bin/setup_local.sh)
0020
0021 * Compile your code and rerun the startup steps:
0022
0023 /PATH_TO_YOUR_SOURCE_DIR/autogen.csh --prefix=$MYINSTALL (/PATH_TO_YOUR_SOURCE_DIR/autogen.sh --prefix=$MYINSTALL)
0024 make -j 4
0025 make install
0026 source /opt/sphenix/core/bin/sphenix_setup.csh -n (source /opt/sphenix/core/bin/sphenix_setup.sh)
0027 setenv MYINSTALL ~/install (export MYINSTALL=~/install)
0028 source /opt/sphenix/core/bin/setup_local.csh $MYINSTALL (source /opt/sphenix/core/bin/setup_local.sh)
0029
0030 2. Run the code using the Fun4All macro driver script:
0031
0032 * Go to the macro directory:
0033
0034 cd ../../macro
0035
0036 * Update the paths in run_MDC2reco.sh macros in the beginning, so we can run on Condor
0037
0038 * Get some files to run on using makeCondorJobs.py, for example like (replacing N with the latest simulation run):
0039
0040 python makeCondorJobs.py -r 11 -i JET_30GEV -o /mypath/JET30_r11_30GeV --nopileup
0041
0042 where the -o specifies path for the output
0043
0044 * Test run run_MDC2reco, where the first argument is the output path and the next are path to DST_TRACKS, DST_TRUTH, DST_CALO_CLUSTER and DST_GLOBAL in any order. For example, you can run:
0045
0046 ./run_MDC2reco.sh /mypath/JET30_r11_30GeV /mypath/JET30_r11_30GeV/condorJob/fileLists/productionFiles-JET_30GEV-dst_tracks-00000.list /mypath/JET30_r11_30GeV/condorJob/fileLists/productionFiles-JET_30GEV-dst_truth-00000.list /mypath/JET30_r11_30GeV/condorJob/fileLists/productionFiles-JET_30GEV-dst_calo_cluster-00000.list /mypath/condorJob/fileLists/productionFiles-JET_30GEV-dst_global-00000.list
0047
0048 in order to submit jobs to condor in folder condorJob execute the myJET_30GEV.job as condor_submit myJET_30GEV.job