Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:36:38

0001 #!/bin/bash
0002 # Save current working dir so img can be outputted there later
0003 W_DIR=$(pwd);
0004 source /afs/cern.ch/cms/cmsset_default.sh;
0005 eval `scram run -sh`;
0006 # Go back to original working directory
0007 cd $W_DIR;
0008 # Run get payload data script
0009 
0010 mkdir -p $W_DIR/results
0011 
0012 if [ -f *.png ]; then
0013     rm *.png
0014 fi
0015 
0016 ####################
0017 # Test Display
0018 ####################
0019 getPayloadData.py \
0020     --plugin pluginAlignPCLThresholds_PayloadInspector \
0021     --plot plot_AlignPCLThresholds_Display \
0022     --tag SiPixelAliThresholds_offline_v0 \
0023     --time_type Run \
0024     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0025     --db Prod \
0026     --test;
0027 
0028 mv *.png $W_DIR/results/LG_display.png
0029 
0030 ####################
0031 # Test Compare
0032 ####################
0033 getPayloadData.py \
0034     --plugin pluginAlignPCLThresholds_PayloadInspector \
0035     --plot plot_AlignPCLThresholds_CompareTwoTags \
0036     --tag SiPixelAliThresholds_offline_v0 \
0037     --tagtwo SiPixelAliThresholds_express_v0 \
0038     --time_type Run \
0039     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0040     --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
0041     --db Prod \
0042     --test;
0043 
0044 mv *.png $W_DIR/results/LG_compare.png
0045 
0046 ####################
0047 # Test Display HG
0048 ####################
0049 getPayloadData.py \
0050     --plugin pluginAlignPCLThresholdsHG_PayloadInspector \
0051     --plot plot_AlignPCLThresholdsHG_Display \
0052     --tag SiPixelAliThresholdsHG_express_v0 \
0053     --time_type Run \
0054     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0055     --db Prod \
0056     --test;
0057 
0058 mv *.png $W_DIR/results/HG_display.png
0059 
0060 getPayloadData.py \
0061     --plugin pluginAlignPCLThresholdsHG_PayloadInspector \
0062     --plot plot_AlignPCLThresholdsHG_Display \
0063     --tag SiPixelAliThresholdsHG_express_v0 \
0064     --time_type Run \
0065     --iovs '{"start_iov": "359659", "end_iov": "359659"}' \
0066     --db Prod \
0067     --test;
0068 
0069 mv *.png $W_DIR/results/HG_display_IOV2.png
0070 
0071 ####################
0072 # Test Compare HG
0073 ####################
0074 getPayloadData.py \
0075     --plugin pluginAlignPCLThresholdsHG_PayloadInspector \
0076     --plot plot_AlignPCLThresholdsHG_Compare \
0077     --tag SiPixelAliThresholdsHG_express_v0 \
0078     --time_type Run \
0079     --iovs '{"start_iov": "1", "end_iov": "359659"}' \
0080     --db Prod \
0081     --test;
0082 
0083 mv *.png $W_DIR/results/HG_compare.png