Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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 #*************************************************************************#
0017 for i in {0..12}
0018 do 
0019     echo "Processing: $i parameter"
0020     
0021     getPayloadData.py  \
0022         --plugin pluginTrackerSurfaceDeformations_PayloadInspector \
0023         --plot plot_SurfaceDeformationParameter${i}TrackerMap \
0024         --tag TrackerSurafceDeformations_v1_express \
0025         --time_type Run \
0026         --iovs '{"start_iov": "299685", "end_iov": "299685"}' \
0027         --db Prod \
0028         --test;
0029     
0030     mv *.png $W_DIR/results_surfaces/SurfaceDeformationTrackerMapParameter_${i}.png
0031 
0032     getPayloadData.py  \
0033         --plugin pluginTrackerSurfaceDeformations_PayloadInspector \
0034         --plot plot_SurfaceDeformationParameter${i}TkMapDelta \
0035         --tag TrackerSurafceDeformations_v1_express \
0036         --time_type Run \
0037         --iovs '{"start_iov": "283024", "end_iov": "299685"}' \
0038         --db Prod \
0039         --test;
0040     
0041     mv *.png $W_DIR/results_surfaces/SurfaceDeformationParameter${i}TkMapDelta.png
0042 
0043     #*************************************************************************#
0044 
0045     getPayloadData.py  \
0046         --plugin pluginTrackerSurfaceDeformations_PayloadInspector \
0047         --plot plot_TrackerSurfaceDeformationsPar${i}Comparator \
0048         --tag TrackerSurafceDeformations_v1_express \
0049         --time_type Run \
0050         --iovs '{"start_iov": "283024", "end_iov": "299685"}' \
0051         --db Prod \
0052         --test;
0053     
0054     mv *.png $W_DIR/results_surfaces/TrackerSurfaceDeformationsPar${i}Comparator.png
0055 
0056 done