-
Notifications
You must be signed in to change notification settings - Fork 2
/
createlumipublic_2015.sh
executable file
·37 lines (29 loc) · 1.79 KB
/
createlumipublic_2015.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
37
#!/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/2015
cd ~/PublicPlots
# 1a) create the plots for this year, online luminosity, and copy them to plot area
# online lumi plots for 2015 do not need to be maintained anymore
#python create_public_lumi_plots.py public_brilcalc_plots_pp_2015_online.cfg
#cp plots/2015/online/*2015*OnlineLumi*png plots/2015/online/*2015*OnlineLumi*pdf /eos/user/l/lumipro/www/publicplots/
# 1b) same, with normtag luminosity
python create_public_lumi_plots.py public_brilcalc_plots_pp_2015_normtag.cfg
cp plots/2015/normtag/*2015*Normtag*png plots/2015/normtag/*2015*Normtag*pdf /eos/user/l/lumipro/www/publicplots/2015
# 2) Copy the cache into the cache for the all years plots. Note: uses normtag now!
cp public_lumi_plots_cache/pp_2015_normtag/* public_lumi_plots_cache/pp_all/
# 3) Copy cache to public location
# online not maintained anyumore:
#cp -R -u public_lumi_plots_cache/pp_2015_online /afs/cern.ch/user/l/lumipro/public/lumiCache/
cp -R -u public_lumi_plots_cache/pp_2015_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/