scram p -n delPhys CMSSW CMSSW_9_4_4
cd delPhys/src
cmsenv
git clone [email protected]:"your_user_name"/nano.git #"your_user_name" should be replaced by real user name
scram b -j 20
getFiles
cmsenv #in the delPhys directory
cd $CMSSW_BASE/src/nano/analysis/test/
mkdir hh
cd hh
wget http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.4.1.tar.gz
tar -xzvf Delphes-3.4.1.tar.gz
cd Delphes-3.4.1
sed -i s:c++0x:c++17: Makefile
make -j 4
export LD_LIBRARY_PATH=$CMSSW_BASE/src/nano/analysis/test/hh/Delphes-3.4.1:$LD_LIBRARY_PATH
cat >> ~/.bashrc <<EOL
#Delphes Library Path
export LD_LIBRARY_PATH=$CMSSW_BASE/src/nano/analysis/test/hh/Delphes-3.4.1:\$LD_LIBRARY_PATH
EOL