-
Notifications
You must be signed in to change notification settings - Fork 2
/
createlumipublic_2016.sh
executable file
·36 lines (28 loc) · 1.73 KB
/
createlumipublic_2016.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh
# Update the normtag repository. Since the cvmfs version only updates once a week,
# we instead keep our own copy of the git repository which we can pull now!
cd ~/public/Normtags
git pull
# Set up the environment. First we need to set up brilconda.
export PATH=$HOME/.local/bin:/afs/cern.ch/cms/lumi/brilconda-1.1.7/bin:$PATH
# Make the plots!
mkdir -p /eos/user/l/lumipro/www/publicplots/2016
cd ~/PublicPlots
# 1a) create the plots for this year, online luminosity, and copy them to plot area
# No online plots for 2016 anymore.
#python create_public_lumi_plots.py public_brilcalc_plots_pp_2016_online.cfg
#cp plots/2016/online/*2016*OnlineLumi*png plots/2016/online/*2016*OnlineLumi*pdf /eos/user/l/lumipro/www/publicplots/
# 1b) same, with normtag luminosity
python create_public_lumi_plots.py public_brilcalc_plots_pp_2016_normtag.cfg
cp plots/2016/normtag/*2016*Normtag*png plots/2016/normtag/*2016*Normtag*pdf /eos/user/l/lumipro/www/publicplots/2016
# 2) Copy the cache into the cache for the all years plots. Note: uses normtag now!
cp public_lumi_plots_cache/pp_2016_normtag/* public_lumi_plots_cache/pp_all/
# 3) Copy cache to public location
# cp -R -u public_lumi_plots_cache/pp_2016_online /afs/cern.ch/user/l/lumipro/public/lumiCache/
cp -R -u public_lumi_plots_cache/pp_2016_normtag /afs/cern.ch/user/l/lumipro/public/lumiCache/
cp -R -u public_lumi_plots_cache/pp_all /afs/cern.ch/user/l/lumipro/public/lumiCache/
# ===> done in the 2018 script
#
# 4) create the plots for all years
#python create_public_lumi_plots.py public_lumi_plots_pp_allyears.cfg
#cp plots/allYears/peak_lumi_pp.* plots/allYears/peak_lumi_pp_* plots/allYears/int_lumi_cumulative_pp_2* plots/allYears/int_lumi_cumulative_pp_1* /eos/user/l/lumipro/www/publicplots/