File indexing completed on 2026-08-16 08:16:22
0001
0002
0003 set -e
0004 set -u
0005 set -o pipefail
0006
0007
0008 if [[ -z "${COLLIDERML_DATA_DIR+x}" ]]; then
0009 echo "Error: COLLIDERML_DATA_DIR environment variable is not set"
0010 exit 1
0011 fi
0012
0013 function download {
0014 URL=$1
0015 HASH=$2
0016
0017 tarname=$(basename "$URL")
0018 curl -SL "$URL" -o "$tarname"
0019 echo "$HASH $tarname" | sha256sum -c
0020 tar --no-same-owner -xf "$tarname"
0021 }
0022
0023 mkdir -p "${COLLIDERML_DATA_DIR}"
0024 cd "${COLLIDERML_DATA_DIR}"
0025
0026 download \
0027 https://acts.web.cern.ch/ci/colliderml_ttbar_pu0_ci_sample_v1.tar \
0028 942901db5c860cc8e95d620394970b99704593264a35d68c8b4661947c2054c9