mkdir ./Analysis/HexaQuark
cd ./Analysis/HexaQuark
cmsrel CMSSW_9_2_8
cd CMSSW_9_2_8/src
git clone https://github.com/gflouris/HexaAnalysis
cmsenv
scram b -j2
cd ../..
mkdir ./ParticleGun
cd ./ParticleGun
cmsrel
cp ../CMSSW_8_0_21/src/HexaAnalysis/TreeProducer/scripts/mc_ParticleGun/SUS-RunIISummer15GS-00146_GENSIM_cfg.py ./CMSSW_7_1_20_patch3/src/
cd CMSSW_7_1_20_patch3/src
cmsenv
cmsRun SUS-RunIISummer15GS-00146_GENSIM_cfg.py
cd ../..
cmsrel CMSSW_8_0_21
cp ../CMSSW_8_0_21/src/HexaAnalysis/TreeProducer/scripts/mc_ParticleGun/SUS-RunIISummer16DR80Premix-00068_* CMSSW_8_0_21/src/
cd CMSSW_8_0_21/src
cmsenv
cmsRun SUS-RunIISummer16DR80Premix-00068_Step1_cfg.py
cmsRun SUS-RunIISummer16DR80Premix-00068_Step2_cfg.py
cd ../../..
cd ./Analysis/HexaQuark/CMSSW_8_0_21/src/TreeProducer/test
cmsenv
cmsRun treeproducer_AOD_MC_cfg.py
cd ../macros/
root -l analysis.C