Draft: Script to save online rates into rulebook format
Create rates.json
file from the online rates (pbeast data).
To run:
export SITE_NAME=CERN-PROD
export REPO=/cvmfs/atlas.cern.ch/repo
export ATLAS_LOCAL_ROOT_BASE=$REPO/ATLASLocalRootBase
source /cvmfs/atlas.cern.ch/repo/sw/tdaq/tools/cmake_tdaq/bin/cm_setup.sh tdaq-11-02-00
source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh
asetup Athena,24.0.70
export PBEAST_SERVER_SSO_SETUP_TYPE=AutoUpdateKerberos # pbeast authentication
unset PBEAST_SERVER_SSO_SETUP_TYPE
kinit
PBEAST_SERVER_HTTPS_PROXY="atlasgw.cern.ch:3128" RatesOnlineRulebook.py --predictionLumi 4e27 --bgKey 2908 --runNumber 489231 --lbStart 219 --lbEnd 220 -s "https://pc-atlas-www.cern.ch"