Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #!/bin/bash
0002 
0003 # Save current working dir so img can be outputted there later
0004 W_DIR=$(pwd);
0005 
0006 # Set SCRAM architecture var
0007 SCRAM_ARCH=slc6_amd64_gcc530; 
0008 export SCRAM_ARCH;
0009 
0010 cd $W_DIR;
0011 source /afs/cern.ch/cms/cmsset_default.sh;
0012 eval `scram run -sh`;
0013 
0014 mkdir -p $W_DIR/results_surfaces
0015 
0016 getPayloadData.py  \
0017         --plugin pluginTrackerSurfaceDeformations_PayloadInspector \
0018         --plot plot_TrackerSurfaceDeformationsTest \
0019         --tag  TrackerSurafceDeformations_v1_express \
0020         --time_type Run \
0021         --iovs '{"start_iov": "299685", "end_iov": "299685"}' \
0022         --db Prod \
0023         --test;
0024 
0025 #*************************************************************************#
0026 elements=(BPix FPix TIB TOB TID TEC)
0027 
0028 for i in "${elements[@]}"
0029 do
0030     echo "Processing: $i partition"
0031     
0032     getPayloadData.py  \
0033         --plugin pluginTrackerSurfaceDeformations_PayloadInspector \
0034         --plot plot_${i}SurfaceDeformationsSummary \
0035         --tag TrackerSurafceDeformations_v1_express \
0036         --time_type Run \
0037         --iovs '{"start_iov": "299685", "end_iov": "299685"}' \
0038         --db Prod \
0039         --test;
0040     
0041     mv *.png $W_DIR/results_surfaces/SurfaceDeformationSummary${i}.png
0042 done
0043 
0044 #*************************************************************************#
0045 elements=(BPix FPix TIB TOB TID TEC)
0046 
0047 for i in "${elements[@]}"
0048 do
0049     echo "Processing: $i partition"
0050     
0051     getPayloadData.py  \
0052         --plugin pluginTrackerSurfaceDeformations_PayloadInspector \
0053         --plot plot_${i}SurfaceDeformationsComparison \
0054         --tag TrackerSurafceDeformations_v1_express \
0055         --time_type Run \
0056         --iovs '{"start_iov": "283024", "end_iov": "299685"}' \
0057         --db Prod \
0058         --test;
0059     
0060     mv *.png $W_DIR/results_surfaces/SurfaceDeformationComparison${i}.png
0061 done
0062 
0063 #*************************************************************************#
0064 for i in {0..12}
0065 do 
0066     echo "Processing: $i parameter"
0067     
0068     getPayloadData.py  \
0069         --plugin pluginTrackerSurfaceDeformations_PayloadInspector \
0070         --plot plot_SurfaceDeformationParameter${i}TrackerMap \
0071         --tag TrackerSurafceDeformations_v1_express \
0072         --time_type Run \
0073         --iovs '{"start_iov": "299685", "end_iov": "299685"}' \
0074         --db Prod \
0075         --test;
0076     
0077     mv *.png $W_DIR/results_surfaces/SurfaceDeformationTrackerMapParameter_${i}.png
0078 
0079 done
0080 
0081 
0082 #*************************************************************************#
0083 for i in {0..12}
0084 do 
0085     echo "Processing: $i parameter"
0086     
0087     getPayloadData.py  \
0088         --plugin pluginTrackerSurfaceDeformations_PayloadInspector \
0089         --plot plot_SurfaceDeformationParameter${i}TkMapDelta \
0090         --tag TrackerSurafceDeformations_v1_express \
0091         --time_type Run \
0092         --iovs '{"start_iov": "283024", "end_iov": "299685"}' \
0093         --db Prod \
0094         --test;
0095     
0096     mv *.png $W_DIR/results_surfaces/SurfaceDeformationParameter${i}TkMapDelta.png
0097 
0098 done