Skip to content

martinamalberti/SubstrAna

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

[1] --- check out the necessary packages ---
cmsrel CMSSW_6_2_8
cd CMSSW_6_2_8/src/
cmsenv
git clone https://github.com/violatingcp/BaconAna.git -b CMSSW_6_2_X
git clone https://github.com/nhanvtran/SubstrAna.git
git clone https://github.com/violatingcp/Dummy.git


[2] --- link CMSSW to a local installation of fastjet(/contrib) ---
# modify fastjet.xml.modified to make it your local installation of fastjet
# if you are at the CMSLPC, then you can use this: /uscms_data/d2/ntran/physics/Jets/summer14/myFastjet_070414/fastjet/fastjet
# if you are at the LXPLUS, then you can use this: ????
# if you are at hep.wisc.edu, then you can use this: /afs/hep.wisc.edu/swanson/fastjet
# if you want to install your own fastjet, then follow the appendix below [A]
cp fastjet.xml.modified $CMSSW_BASE/config/toolbox/$SCRAM_ARCH/tools/selected/fastjet.xml
scram setup fastjet

[3] --- compile, try it out ---
scram b -j8
cd SubstrAna/Summer14/bin
runBacon
runPuppi 500 test 1

===========================================================================
===========================================================================

[A] --- install fastjet and fastjet/contrib  ---
mkdir fastjet
cd fastjet
FASTJET_URL="http://fastjet.fr/repo"
FASTJET_TGZ="fastjet-3.0.6.tar.gz"
FASTJET_DIR=`echo $PWD/$FASTJET_TGZ | sed 's/.tar.gz//'`
FASTJET_VER=`echo $FASTJET_TGZ | sed 's/.tar.gz//' |cut -d'-' -f2`
wget "$FASTJET_URL/$FASTJET_TGZ" -O $FASTJET_TGZ
tar fzx $FASTJET_TGZ
rm -rf $FASTJET_TGZ
setenv FASTJET_BASE $PWD
cd $FASTJET_DIR
./configure --prefix=$FASTJET_BASE
make
make check
make install
cd ..

svn co http://fastjet.hepforge.org/svn/contrib/branches/1.012-alpha-PUWS14.1
## open contribs.svn
## change the RecursiveTools tag to: 1.0.0-alpha1
./scripts/update-contribs.sh
./configure --fastjet-config=$FASTJET_BASE/bin/fastjet-config CXXFLAGS="-I$FASTJET_BASE/include -I$FASTJET_BASE/tools"
make
make check  # optional
make install
make fragile-shared
make fragile-shared-install




About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 58.2%
  • C++ 41.8%