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
|
#!/bin/bash
# Save current working dir so img can be outputted there later
W_DIR=$(pwd);
# Set SCRAM architecture var
SCRAM_ARCH=slc7_amd64_gcc900;
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_Quality ]; then
rm -fr $W_DIR/plots_Quality
fi
mkdir $W_DIR/plots_Quality
####################
# Test SiPixelQuality
####################
getPayloadData.py \
--plugin pluginSiPixelQuality_PayloadInspector \
--plot plot_SiPixelBPixQualityMap \
--tag SiPixelQuality_phase1_2018_permanentlyBad \
--time_type Lumi \
--iovs '{"start_iov": "1", "end_iov": "1"}' \
--db Prod \
--test;
mv *.png $W_DIR/plots_Quality/SiPixelQuality_phase1_2018_permanentlyBad_BPix.png
getPayloadData.py \
--plugin pluginSiPixelQuality_PayloadInspector \
--plot plot_SiPixelFPixQualityMap \
--tag SiPixelQuality_phase1_2018_permanentlyBad \
--time_type Lumi \
--iovs '{"start_iov": "1", "end_iov": "1"}' \
--db Prod \
--test;
mv *.png $W_DIR/plots_Quality/SiPixelQuality_phase1_2018_permanentlyBad_FPix.png
getPayloadData.py \
--plugin pluginSiPixelQuality_PayloadInspector \
--plot plot_SiPixelBPixQualityMap \
--tag SiPixelQuality_forDigitizer_phase1_2018_permanentlyBad \
--time_type Lumi \
--iovs '{"start_iov": "1", "end_iov": "1"}' \
--db Prod \
--test;
mv *.png $W_DIR/plots_Quality/SiPixelQuality_forDigitizer_phase1_2018_permanentlyBad_BPix.png
getPayloadData.py \
--plugin pluginSiPixelQuality_PayloadInspector \
--plot plot_SiPixelFPixQualityMap \
--tag SiPixelQuality_forDigitizer_phase1_2018_permanentlyBad \
--time_type Lumi \
--iovs '{"start_iov": "1", "end_iov": "1"}' \
--db Prod \
--test;
mv *.png $W_DIR/plots_Quality/SiPixelQuality_forDigitizer_phase1_2018_permanentlyBad_FPix.png
getPayloadData.py \
--plugin pluginSiPixelQuality_PayloadInspector \
--plot plot_SiPixelQualityBadFracCompareTwoTags \
--tag SiPixelQuality_phase1_2023_v1_mc \
--tagtwo SiPixelQuality_phase1_2023_v6_mc \
--time_type Lumi \
--iovs '{"start_iov": "1", "end_iov": "1"}' \
--iovstwo '{"start_iov": "1", "end_iov": "1"}' \
--db Prod \
--test;
mv *.png $W_DIR/plots_Quality/SiPixelQualityBadFracCompareTwoTags_2023.png
|