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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
#!/bin/bash
# Save current working dir so img can be outputted there later
W_DIR=$(pwd);
# Set SCRAM architecture var
SCRAM_ARCH=slc6_amd64_gcc630;
export SCRAM_ARCH;
source /afs/cern.ch/cms/cmsset_default.sh;
eval `scram run -sh`;
# Go back to original working directory
cd $W_DIR;
# Run get payload data script
if [ -d $W_DIR/plots ]; then
rm -fr $W_DIR/plots
fi
mkdir $W_DIR/plots
####################
# Test Gains
####################
getPayloadData.py \
--plugin pluginSiStripApvGain_PayloadInspector \
--plot plot_SiStripApvGainsValuesComparatorSingleTag \
--tag SiStripApvGainAfterAbortGap_PCL_v0_prompt \
--time_type Run \
--iovs '{"start_iov": "302393", "end_iov": "305114"}' \
--db Prep \
--test;
mv *.png $W_DIR/plots/G2_Value_update_ST.png
getPayloadData.py \
--plugin pluginSiStripApvGain_PayloadInspector \
--plot plot_SiStripApvGainsValuesComparatorTwoTags \
--tag SiStripApvGain_FromParticles_GR10_v1_express \
--tagtwo SiStripApvGain_FromParticles_GR10_v1_hlt \
--time_type Run \
--iovs '{"start_iov": "286042", "end_iov": "286042"}' \
--iovstwo '{"start_iov": "206037", "end_iov": "206037"}' \
--db Prod \
--test;
mv *.png $W_DIR/plots/G2_Value_update_TT.png
getPayloadData.py \
--plugin pluginSiStripApvGain_PayloadInspector \
--plot plot_SiStripApvGainsMaxDeviationRatioWithPreviousIOVTrackerMap \
--tag SiStripApvGainAfterAbortGap_PCL_v0_prompt \
--time_type Run \
--iovs '{"start_iov": "302393", "end_iov": "305114"}' \
--db Prep \
--input_params '{"nsigma":"3"}' \
--test;
mv *.png $W_DIR/plots/G2_MaxDeviatonRatio_update_ST.png
getPayloadData.py \
--plugin pluginSiStripApvGain_PayloadInspector \
--plot plot_SiStripApvGainsMaxDeviationRatioTrackerMapTwoTags \
--tag SiStripApvGain_FromParticles_GR10_v1_express \
--tagtwo SiStripApvGain_FromParticles_GR10_v1_hlt \
--time_type Run \
--iovs '{"start_iov": "286042", "end_iov": "286042"}' \
--iovstwo '{"start_iov": "206037", "end_iov": "206037"}' \
--db Prod \
--input_params '{"nsigma":"3"}' \
--test;
mv *.png $W_DIR/plots/G2_MaxDeviatonRatio_update_TT.png
getPayloadData.py \
--plugin pluginSiStripApvGain_PayloadInspector \
--plot plot_SiStripApvGainsRatioComparatorByRegionSingleTag \
--tag SiStripApvGainAfterAbortGap_PCL_v0_prompt \
--time_type Run \
--iovs '{"start_iov": "280000", "end_iov": "305114"}' \
--db Prep \
--test;
mv *.png $W_DIR/plots/G2_Ratio_update_ST.png
getPayloadData.py \
--plugin pluginSiStripApvGain_PayloadInspector \
--plot plot_SiStripApvGainsValuesComparatorSingleTag \
--tag SiStripApvGain_GR10_v1_hlt \
--time_type Run \
--iovs '{"start_iov": "302322", "end_iov": "306054"}' \
--db Prod \
--test;
mv *.png $W_DIR/plots/G1_Value_update_ST.png
|