Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:19

0001 #!/bin/tcsh
0002 
0003 # Save current working dir so img can be outputted there later
0004 set W_DIR = $PWD;
0005 
0006 cd $W_DIR;
0007 source /afs/cern.ch/cms/cmsset_default.csh;
0008 eval `scram run -csh`;
0009 
0010 mkdir -p $W_DIR/results_MultiIOV
0011 
0012 set IOVs = (290550 292200 294604 295380 295702 297104 297417 298757 298809 298901 299228 299685 300662 302539 303796 303809 303818 303886 303949 304210 304334 304366 304653 304779 304933 304972 305047 305060 305311 305767 305782 305834 305841 305843 305899 305979 306037 306049 306052 306053 306088 306092 306093 306139 306460 306488 306532 306658 306827 306856 306930 306933 306937)
0013 set last=$#IOVs
0014 
0015 foreach i (`seq $#IOVs`) 
0016     
0017     if($i == $last) then
0018         continue
0019     endif
0020 
0021     @ j = $i + 1
0022     echo "Processing: $IOVs[$i] vs $IOVs[$j]"
0023 
0024     getPayloadData.py  \
0025         --plugin pluginTrackerAlignment_PayloadInspector \
0026         --plot plot_TrackerAlignmentCompareX \
0027         --tag TrackerAlignment_PCL_byRun_v2_express \
0028         --time_type Run \
0029         --iovs '{"start_iov": "'$IOVs[$i]'", "end_iov": "'$IOVs[$j]'"}' \
0030         --db Prod \
0031         --test;
0032 
0033     mv *.png $W_DIR/results_MultiIOV/compareX_$IOVs[$i]_vs$IOVs[$j].png
0034 
0035 end