Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:51

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=slc6_amd64_gcc630;
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 
0013 mkdir -p $W_DIR/results
0014 declare -a arr=("325662" "325702" "325715" "325717")
0015 
0016 for i in "${arr[@]}"
0017 do
0018     echo $i
0019     getPayloadData.py \
0020         --plugin pluginSiStripFedCabling_PayloadInspector \
0021         --plot plot_SiStripFedCabling_TrackerMap \
0022         --tag SiStripFedCabling_GR10_v1_hlt \
0023         --time_type Run \
0024         --iovs '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0025         --db Prod \
0026         --test;
0027 
0028     mv *.png $W_DIR/results/SiStripFedCabling_${i}_TrackerMap.png
0029   
0030 
0031       getPayloadData.py \
0032         --plugin pluginSiStripFedCabling_PayloadInspector \
0033         --plot plot_SiStripFedCabling_Summary \
0034         --tag SiStripFedCabling_GR10_v1_hlt \
0035         --time_type Run \
0036         --iovs '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0037         --db Prod \
0038         --test;
0039 
0040     mv *.png $W_DIR/results/SiStripFedCabling_${i}_Summary.png
0041 done
0042 
0043 getPayloadData.py \
0044     --plugin pluginSiStripFedCabling_PayloadInspector \
0045     --plot plot_SiStripFedCablingComparisonTrackerMapSingleTag \
0046     --tag SiStripFedCabling_GR10_v1_hlt \
0047     --time_type Run \
0048     --iovs '{"start_iov": "375586", "end_iov": "400000"}' \
0049     --db Prod \
0050     --test ;
0051 
0052 mv *.png $W_DIR/results/SiStripFedCablingComparisonTrackerMapSingleTag.png
0053 
0054 getPayloadData.py \
0055     --plugin pluginSiStripFedCabling_PayloadInspector \
0056     --plot plot_SiStripUncabledChannels_TrackerMap \
0057     --tag SiStripFedCabling_GR10_v1_hlt \
0058     --time_type Run \
0059     --iovs '{"start_iov": "400000", "end_iov": "400000"}' \
0060     --db Prod \
0061     --test ;
0062 
0063 mv *.png $W_DIR/results/SiStripUncabledChannels_TrackerMap.png