Standalone Version of HarryPlotter - artus-analysis/Artus GitHub Wiki
To check out (and compile) the environment, please run
wget https://raw.githubusercontent.com/artus-analysis/Artus/master/HarryPlotter/scripts/setup_harry_cmssw747.sh
bash setup_harry_cmssw747.sh
In every new shell, CMSSW (and HP) need to be initialised once by running
cd <path/to/directory/containing/CMSSW_7_4_7>
source CMSSW_7_4_7/src/Artus/HarryPlotter/scripts/setup_harry_cmssw747.sh
The command needs to be executed in this directory, because cmsenv
needs to be called in CMSSW_7_4_7/src/
.
To check out (and compile) the environment, please run
wget https://raw.githubusercontent.com/artus-analysis/Artus/master/HarryPlotter/scripts/setup_harry_cmssw9211.sh
bash setup_harry_cmssw9211.sh
In every new shell, CMSSW (and HP) need to be initialised once by running
cd <path/to/directory/containing/CMSSW_9_2_11>
source CMSSW_9_2_11/src/Artus/HarryPlotter/scripts/setup_harry_cmssw9211.sh
The command needs to be executed in this directory, because cmsenv
needs to be called in CMSSW_9_2_11/src/
.
This version currently has runtime problems in HP. Use the older version instead.
To check out (and compile) the environment, please run
wget https://raw.githubusercontent.com/artus-analysis/Artus/master/HarryPlotter/scripts/setup_harry_cmssw10220.sh
bash setup_harry_cmssw10220.sh
In every new shell, CMSSW (and HP) need to be initialised once by running
cd <path/to/directory/containing/CMSSW_10_2_20_UL>
source CMSSW_10_2_20_UL/src/Artus/HarryPlotter/scripts/setup_harry_cmssw10220.sh
The command needs to be executed in this directory, because cmsenv
needs to be called in CMSSW_10_2_20_UL/src/
.
Not the complete Artus repository needs to be checked out. A sparce checkout of the relevant sub-packages is sufficient. To do the checkout in the current directory, do the following steps.
wget https://raw.githubusercontent.com/artus-analysis/Artus/master/HarryPlotter/scripts/harry_sparse_checkout.sh
bash harry_sparse_checkout.sh
rm harry_sparse_checkout.sh
In order to setup HarryPlotter, execute the following commands in every shell, where you want to use it.
source <path/to/>Artus/Configuration/scripts/ini_artus_python_standalone.sh
source <path/to/>Artus/HarryPlotter/scripts/ini_harry.sh
ROOT needs to be set up for using HarryPlotter.