File : README.md
Author : Anton Riedel <[email protected]>
Date : 14.09.2021
Last Modified Date: 14.09.2021
Last Modified By : Anton Riedel <[email protected]>
This a collection of scripts to ease the interaction with Grid during data analysis.
Either source SetupEnv.sh
directly or in your .bashrc
. Run this command inside the repository
echo "source $(realpath SetupEnv.sh) &>/dev/null" >> $HOME/.bashrc
to automatically add it to your .bashrc
.
This way you can easily access all scripts and macros.
Export $GRID_UTILITY_SCRIPTS
, which is the path to this repo and add it to $PATH
.
Initialize analysis in a new directory by copying over the templated steering macros and GridConfig.sh
.
Submit jobs to the Grid. This script can also be used as a wrapper script to run analysis locally.
Automatically resubmit failed jobs to the grid.
Copy files from Grid to the local machine.
Check integrity of local files copied from the Grid.
Kill all jobs which are not finished or killed yet. Nice for wrapping up the analysis.
Similar to above, but just killing jobs which are in an ERROR state.
Wrapper script around the macro with the same name. Merge local files run by run.
Wrapper script around the macro with the same name. Reterminate local files after merging.
Wrapper script around the macro with the same name. Compute kinematic weights from merged files run by run.
Wrapper script around the macro with the same name. Compute centrality probabilities for centrality flattening from merged files run by run.
Wrapper script around the macro with the same name. Search for histograms specified in GridConfig.sh
run by run, task by task and dump the histograms into a seperate ROOT file. Convient if you want to use a certain histograms for further analysis.
Template of main steering macro. Calls all other macros to run the analysis. Does not need to be modified in general.
Configure .jdl and other related files so we do not have to do it manually. Does not need to be modified in general.
Configure task by editing this macro.
Configure whole analysis by editing this shell script. It will be periodically sourced by all other scripts to configure the analysis.