Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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=slc7_amd64_gcc900;
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 if [ -d $W_DIR/plots_LAMap ]; then
0013     rm -fr $W_DIR/plots_LAMap
0014 fi
0015 
0016 mkdir $W_DIR/plots_LAMap
0017 
0018 getPayloadData.py \
0019     --plugin pluginSiPixelLorentzAngle_PayloadInspector \
0020     --plot plot_SiPixelBPixLorentzAngleMap \
0021     --tag SiPixelLorentzAngle_v11_offline \
0022     --time_type Run \
0023     --iovs '{"start_iov": "324245", "end_iov": "324245"}' \
0024     --db Prod \
0025     --test ;
0026 
0027 mv *.png $W_DIR/plots_LAMap/BPixPixelLAMap.png
0028 
0029 getPayloadData.py \
0030     --plugin pluginSiPixelLorentzAngle_PayloadInspector \
0031     --plot plot_SiPixelFPixLorentzAngleMap \
0032     --tag SiPixelLorentzAngle_v11_offline \
0033     --time_type Run \
0034     --iovs '{"start_iov": "324245", "end_iov": "324245"}' \
0035     --db Prod \
0036     --test ;
0037 
0038 mv *.png $W_DIR/plots_LAMap/FPixPixelLAMap.png
0039 
0040 getPayloadData.py \
0041     --plugin pluginSiPixelLorentzAngle_PayloadInspector \
0042     --plot plot_SiPixelFullLorentzAngleMapByROC \
0043     --tag SiPixelLorentzAngle_v11_offline \
0044     --time_type Run \
0045     --iovs '{"start_iov": "324245", "end_iov": "324245"}' \
0046     --db Prod \
0047     --test ;
0048 
0049 mv *.png $W_DIR/plots_LAMap/PixelLAMap.png
0050 
0051 getPayloadData.py \
0052     --plugin pluginSiPixelLorentzAngle_PayloadInspector \
0053     --plot plot_SiPixelLorentzAngleFullPixelMap \
0054     --tag SiPixelLorentzAngle_v11_offline \
0055     --time_type Run \
0056     --iovs '{"start_iov": "324245", "end_iov": "324245"}' \
0057     --db Prod \
0058     --test ;
0059 
0060 mv *.png $W_DIR/plots_LAMap/FullPixelLAMap.png