Warning, /analysis/JS-Jet/RandomConeAna/README.md is written in an unsupported language. File is not indexed.
0001 This package is designed to construct random cones from tower components for area, iterative, and multiplicity subtracted cones. There are 3 modes:
0002 * Random Cones:
0003 Randomly places $\eta$ $\phi$ cone with R = 0.4
0004 * Randomized correlations
0005 Cones with all tower $\eta$ $\phi$ scrambbled within acceptance
0006 * Avoid Leading jet
0007 Cones that are atleast $\Delta R$ = 1.4 away from leading truth jet in the event
0008
0009
0010 # Building
0011 1. Build the package in the [usual way](https://wiki.bnl.gov/sPHENIX/index.php/Example_of_using_DST_nodes#Building%20a%20package):
0012
0013 * Make a build directory inside the src/RandomCones directory:
0014
0015 cd src/RandomCones
0016 mkdir build
0017 cd build
0018
0019 * Setup the sPHENIX environment and install paths:
0020
0021 source /opt/sphenix/core/bin/sphenix_setup.csh -n (source /opt/sphenix/core/bin/sphenix_setup.sh)
0022 setenv MYINSTALL ~/install (export MYINSTALL=~/install)
0023 source /opt/sphenix/core/bin/setup_local.csh $MYINSTALL (source /opt/sphenix/core/bin/setup_local.sh $MYINSTALL)
0024
0025 * Compile your code:
0026
0027 /PATH_TO_YOUR_SOURCE_DIR/autogen.csh --prefix=$MYINSTALL (/PATH_TO_YOUR_SOURCE_DIR/autogen.sh --prefix=$MYINSTALL)
0028 make -j 4
0029 make install
0030
0031 * Re-source the sPHENIX environment:
0032
0033 source /opt/sphenix/core/bin/sphenix_setup.csh -n (source /opt/sphenix/core/bin/sphenix_setup.sh)
0034 setenv MYINSTALL ~/install (export MYINSTALL=~/install)
0035 source /opt/sphenix/core/bin/setup_local.csh $MYINSTALL (source /opt/sphenix/core/bin/setup_local.sh $MYINSTALL)
0036
0037 * Make a build directory inside the src/TowerRho directory:
0038
0039 cd src/TowerRho
0040 mkdir build
0041 cd build
0042
0043 * Repeat steps 2, 3, and 4 for the TowerRho package.
0044
0045 * Make a build directory inside the src directory:
0046
0047 cd src
0048 mkdir build
0049 cd build
0050
0051 * Repeat steps 2, 3, and 4 for the RandomConeTree package.
0052
0053
0054 2. Run the code using the Fun4All macro:
0055
0056 * Go to the macro directory:
0057
0058 cd ../../macro
0059
0060 * Get some files to run on using CreateFileList.pl, for example to get 1000 events of pythia dijets embeded in minimum bias HIJING:
0061
0062 CreateFileList.pl -n 1000 -type 11 -embed DST_CALO_CLUSTER DST_GLOBAL
0063
0064 * Test run using Fun4All. The Fun4All macro takes in input file lists for the global and calo cluster DSTs. For example, you can run:
0065
0066 root -b -q -l 'Fun4All.C("dst_calo_cluster.list", "dst_global.list", "output.root")'
0067
0068 * This will create an output file containing all the necessary information for the histogram making.
0069
0070 ## Options in RandomConeAna
0071 There are a few options you can specify in the Fun4All macro for the RandomConeAna module:
0072 * setEventSelection(low, high): Sets the pT range of the leading R = 0.4 truth jet for event weighting MDC2 data. (If you don't want to use this then don't setEventSelection). Defualt is not to do event selection.
0073 * addWeight(low, high): Set event weight to be added to output tree. Useful for MDC2 data. Default is not to add a weight to output tree.
0074 * add_input(string): add jet input to the module. The string should be the name of the tower input. Will add raw cone pT to the output tree
0075 * add_iter_input(bool): add iterativativly subtracted jet tower input to the tree. The string should be the name of the sub1 tower input. Will add iter cone pT to the output tree
0076 * set_user_seed(bool): Seeds the random number generator for selecting cone $\eta$ $\phi$ and randomizing tower corrdinates. Defualt is seeded by TTimeStamp.
0077
0078
0079
0080 # Questions/suggestions
0081 This package is a work in progress, so please send any questions, bugs, or suggestions for new features to Tanner Mengel (tmengel@vols.utk.edu)