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_GainCalibOffline ]; then
0013     rm -fr $W_DIR/plots_GainCalibOffline
0014 fi
0015 
0016 mkdir $W_DIR/plots_GainCalibOffline
0017 
0018 ## single IOV plots
0019 
0020 getPayloadData.py \
0021     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0022     --plot plot_SiPixelGainCalibrationOfflineGainsValues \
0023     --tag SiPixelGainCalibration_2009runs_express \
0024     --time_type Run \
0025     --iovs '{"start_iov": "312203", "end_iov": "312203"}' \
0026     --db Prod \
0027     --test;
0028 
0029 mv *.png  $W_DIR/plots_GainCalibOffline/SingleIOVGains.png
0030 
0031 getPayloadData.py \
0032     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0033     --plot plot_SiPixelGainCalibrationOfflinePedestalsValues \
0034     --tag SiPixelGainCalibration_2009runs_express \
0035     --time_type Run \
0036     --iovs '{"start_iov": "312203", "end_iov": "312203"}' \
0037     --db Prod \
0038     --test;
0039 
0040 mv *.png  $W_DIR/plots_GainCalibOffline/SingleIOVPedestals.png
0041 
0042 ## single IOV by Partitions
0043 
0044 getPayloadData.py \
0045     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0046     --plot plot_SiPixelGainCalibrationOfflineGainsByPart \
0047     --tag SiPixelGainCalibration_2009runs_express \
0048     --time_type Run \
0049     --iovs '{"start_iov": "312203", "end_iov": "312203"}' \
0050     --db Prod \
0051     --test;
0052 
0053 mv *.png  $W_DIR/plots_GainCalibOffline/SingleIOVGainsByPart.png
0054 
0055 getPayloadData.py \
0056     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0057     --plot plot_SiPixelGainCalibrationOfflinePedestalsByPart \
0058     --tag SiPixelGainCalibration_2009runs_express \
0059     --time_type Run \
0060     --iovs '{"start_iov": "312203", "end_iov": "312203"}' \
0061     --db Prod \
0062     --test;
0063 
0064 mv *.png  $W_DIR/plots_GainCalibOffline/SingleIOVPedestalsByPart.png
0065 
0066 ## two tags plots
0067 
0068 getPayloadData.py \
0069     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0070     --plot plot_SiPixelGainCalibOfflineGainComparisonTwoTags \
0071     --tag SiPixelGainCalibration_phase1_mc_v2 \
0072     --tagtwo SiPixelGainCalibration_phase1_mc_v3 \
0073     --time_type Run \
0074     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0075     --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
0076     --db Prod \
0077     --test;
0078 
0079 mv *.png  $W_DIR/plots_GainCalibOffline/TwoTagsGainsComparison.png
0080 
0081 getPayloadData.py \
0082     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0083     --plot plot_SiPixelGainCalibOfflinePedestalComparisonTwoTags \
0084     --tag SiPixelGainCalibration_phase1_mc_v2 \
0085     --tagtwo SiPixelGainCalibration_phase1_mc_v3 \
0086     --time_type Run \
0087     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0088     --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
0089     --db Prod \
0090     --test;
0091 
0092 mv *.png  $W_DIR/plots_GainCalibOffline/TwoTagsPedestalsComparison.png
0093 
0094 ## single tag, two IOVs plots
0095 
0096 getPayloadData.py \
0097     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0098     --plot plot_SiPixelGainCalibOfflineGainComparisonSingleTag \
0099     --tag SiPixelGainCalibration_2009runs_express \
0100     --time_type Run \
0101     --iovs '{"start_iov": "312203", "end_iov": "326851"}' \
0102     --db Prod \
0103     --test;
0104 
0105 mv *.png  $W_DIR/plots_GainCalibOffline/SingleTagGainsComparison.png
0106 
0107 getPayloadData.py \
0108     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0109     --plot plot_SiPixelGainCalibOfflinePedestalComparisonSingleTag \
0110     --tag SiPixelGainCalibration_2009runs_express \
0111     --time_type Run \
0112     --iovs '{"start_iov": "312203", "end_iov": "326851"}' \
0113     --db Prod \
0114     --test;
0115 
0116 mv *.png  $W_DIR/plots_GainCalibOffline/SingleTagPedestalsComparison.png
0117 
0118 ## Maps
0119 
0120 getPayloadData.py \
0121     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0122     --plot plot_SiPixelGainCalibOfflinePedestalsBPIXMap \
0123     --tag SiPixelGainCalibration_2009runs_express \
0124     --time_type Run \
0125     --iovs '{"start_iov": "312203", "end_iov": "312203"}' \
0126     --db Prod \
0127     --test;
0128 
0129 mv *.png  $W_DIR/plots_GainCalibOffline/PedestalBPixMap.png
0130 
0131 getPayloadData.py \
0132     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0133     --plot plot_SiPixelGainCalibOfflineGainsBPIXMap \
0134     --tag SiPixelGainCalibration_2009runs_express \
0135     --time_type Run \
0136     --iovs '{"start_iov": "312203", "end_iov": "312203"}' \
0137     --db Prod \
0138     --test;
0139 
0140 mv *.png  $W_DIR/plots_GainCalibOffline/GainBPixMap.png
0141 
0142 getPayloadData.py \
0143     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0144     --plot plot_SiPixelGainCalibOfflinePedestalsFPIXMap \
0145     --tag SiPixelGainCalibration_2009runs_express \
0146     --time_type Run \
0147     --iovs '{"start_iov": "312203", "end_iov": "312203"}' \
0148     --db Prod \
0149     --test;
0150 
0151 mv *.png  $W_DIR/plots_GainCalibOffline/PedestalFPixMap.png
0152 
0153 getPayloadData.py \
0154     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0155     --plot plot_SiPixelGainCalibOfflineGainsFPIXMap \
0156     --tag SiPixelGainCalibration_2009runs_express \
0157     --time_type Run \
0158     --iovs '{"start_iov": "312203", "end_iov": "312203"}' \
0159     --db Prod \
0160     --test;
0161 
0162 mv *.png  $W_DIR/plots_GainCalibOffline/GainFPixMap.png
0163 
0164 ## two tags plots by Region
0165 
0166 getPayloadData.py \
0167     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0168     --plot plot_SiPixelGainCalibOfflineGainByRegionComparisonTwoTags \
0169     --tag SiPixelGainCalibration_phase1_mc_v2 \
0170     --tagtwo SiPixelGainCalibration_phase1_mc_v3 \
0171     --time_type Run \
0172     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0173     --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
0174     --db Prod \
0175     --test;
0176 
0177 mv *.png  $W_DIR/plots_GainCalibOffline/TwoTagsGainsByRegionComparison.png
0178 
0179 getPayloadData.py \
0180     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0181     --plot plot_SiPixelGainCalibOfflinePedestalByRegionComparisonTwoTags \
0182     --tag SiPixelGainCalibration_phase1_mc_v2 \
0183     --tagtwo SiPixelGainCalibration_phase1_mc_v3 \
0184     --time_type Run \
0185     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0186     --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
0187     --db Prod \
0188     --test;
0189 
0190 mv *.png  $W_DIR/plots_GainCalibOffline/TwoTagsPedestalsByRegionComparison.png
0191 
0192 ## single tag, two IOVs plots by Region
0193 
0194 getPayloadData.py \
0195     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0196     --plot plot_SiPixelGainCalibOfflineGainByRegionComparisonSingleTag \
0197     --tag SiPixelGainCalibration_2009runs_express \
0198     --time_type Run \
0199     --iovs '{"start_iov": "312203", "end_iov": "326851"}' \
0200     --db Prod \
0201     --test;
0202 
0203 mv *.png  $W_DIR/plots_GainCalibOffline/SingleTagGainsByRegionComparison.png
0204 
0205 getPayloadData.py \
0206     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0207     --plot plot_SiPixelGainCalibOfflinePedestalByRegionComparisonSingleTag \
0208     --tag SiPixelGainCalibration_2009runs_express \
0209     --time_type Run \
0210     --iovs '{"start_iov": "312203", "end_iov": "326851"}' \
0211     --db Prod \
0212     --test;
0213 
0214 mv *.png  $W_DIR/plots_GainCalibOffline/SingleTagPedestalsByRegionComparison.png
0215 
0216 ## correlations
0217 
0218 getPayloadData.py \
0219     --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0220     --plot plot_SiPixelGainCalibrationOfflineCorrelations \
0221     --tag SiPixelGainCalibration_2009runs_express \
0222     --time_type Run \
0223     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0224     --db Prod \
0225     --test ;
0226 
0227 mv *.png  $W_DIR/plots_GainCalibOffline/SingleTagGainsPedestalsCorrelations.png