Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-06-16 03:19:35

0001 #!/bin/bash
0002 # Save current working dir so img can be outputted there later
0003 W_DIR=$(pwd);
0004 # Set SCRAM architecture var
0005 SCRAM_ARCH=slc7_amd64_gcc900;
0006 export SCRAM_ARCH;
0007 source /afs/cern.ch/cms/cmsset_default.sh;
0008 eval `scram run -sh`;
0009 # Go back to original working directory
0010 cd $W_DIR;
0011 # Run get payload data script
0012 if [ -d $W_DIR/plots_Quality ]; then
0013     rm -fr $W_DIR/plots_Quality
0014 fi
0015 
0016 mkdir $W_DIR/plots_Quality
0017 
0018 ####################
0019 # Test SiPixelQuality
0020 ####################
0021 getPayloadData.py \
0022     --plugin pluginSiPixelQuality_PayloadInspector \
0023     --plot plot_SiPixelBPixQualityMap \
0024     --tag SiPixelQuality_phase1_2018_permanentlyBad \
0025     --time_type Lumi \
0026     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0027     --db Prod \
0028     --test;
0029 
0030 mv *.png $W_DIR/plots_Quality/SiPixelQuality_phase1_2018_permanentlyBad_BPix.png
0031 
0032 getPayloadData.py \
0033     --plugin pluginSiPixelQuality_PayloadInspector \
0034     --plot plot_SiPixelFPixQualityMap \
0035     --tag SiPixelQuality_phase1_2018_permanentlyBad  \
0036     --time_type Lumi \
0037     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0038     --db Prod \
0039     --test;
0040 
0041 mv *.png $W_DIR/plots_Quality/SiPixelQuality_phase1_2018_permanentlyBad_FPix.png
0042 
0043 getPayloadData.py \
0044     --plugin pluginSiPixelQuality_PayloadInspector \
0045     --plot plot_SiPixelBPixQualityMap \
0046     --tag SiPixelQuality_forDigitizer_phase1_2018_permanentlyBad \
0047     --time_type Lumi \
0048     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0049     --db Prod \
0050     --test;
0051 
0052 mv *.png $W_DIR/plots_Quality/SiPixelQuality_forDigitizer_phase1_2018_permanentlyBad_BPix.png
0053 
0054 getPayloadData.py \
0055     --plugin pluginSiPixelQuality_PayloadInspector \
0056     --plot plot_SiPixelFPixQualityMap \
0057     --tag SiPixelQuality_forDigitizer_phase1_2018_permanentlyBad  \
0058     --time_type Lumi \
0059     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0060     --db Prod \
0061     --test;
0062 
0063 mv *.png $W_DIR/plots_Quality/SiPixelQuality_forDigitizer_phase1_2018_permanentlyBad_FPix.png