Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-06-16 03:19:35

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_GainCalibForHLT ]; then
0013     rm -fr $W_DIR/plots_GainCalibForHLT
0014 fi
0015 
0016 mkdir $W_DIR/plots_GainCalibForHLT
0017 
0018 ## single IOV plots
0019 
0020 getPayloadData.py \
0021     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0022     --plot plot_SiPixelGainCalibrationForHLTGainsValues \
0023     --tag SiPixelGainCalibrationHLT_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_GainCalibForHLT/SingleIOVGains.png
0030 
0031 getPayloadData.py \
0032     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0033     --plot plot_SiPixelGainCalibrationForHLTPedestalsValues \
0034     --tag SiPixelGainCalibrationHLT_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_GainCalibForHLT/SingleIOVPedestals.png
0041 
0042 ## single IOV by Partitions
0043 
0044 getPayloadData.py \
0045     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0046     --plot plot_SiPixelGainCalibrationForHLTGainsByPart \
0047     --tag SiPixelGainCalibrationHLT_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_GainCalibForHLT/SingleIOVGainsByPart.png
0054 
0055 getPayloadData.py \
0056     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0057     --plot plot_SiPixelGainCalibrationForHLTPedestalsByPart \
0058     --tag SiPixelGainCalibrationHLT_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_GainCalibForHLT/SingleIOVPedestalsByPart.png
0065 
0066 ## two tags plots
0067 
0068 getPayloadData.py \
0069     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0070     --plot plot_SiPixelGainCalibForHLTGainComparisonTwoTags \
0071     --tag SiPixelGainCalibration_hlt_phase1_mc_v2 \
0072     --tagtwo SiPixelGainCalibration_hlt_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_GainCalibForHLT/TwoTagsGainsComparison.png
0080 
0081 getPayloadData.py \
0082     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0083     --plot plot_SiPixelGainCalibForHLTPedestalComparisonTwoTags \
0084     --tag SiPixelGainCalibration_hlt_phase1_mc_v2 \
0085     --tagtwo SiPixelGainCalibration_hlt_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_GainCalibForHLT/TwoTagsPedestalsComparison.png
0093 
0094 ## single tag, two IOVs plots
0095 
0096 getPayloadData.py \
0097     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0098     --plot plot_SiPixelGainCalibForHLTGainComparisonSingleTag \
0099     --tag SiPixelGainCalibrationHLT_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_GainCalibForHLT/SingleTagGainsComparison.png
0106 
0107 getPayloadData.py \
0108     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0109     --plot plot_SiPixelGainCalibForHLTPedestalComparisonSingleTag \
0110     --tag SiPixelGainCalibrationHLT_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_GainCalibForHLT/SingleTagPedestalsComparison.png
0117 
0118 ## Maps
0119 
0120 getPayloadData.py \
0121     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0122     --plot plot_SiPixelGainCalibForHLTPedestalsBPIXMap \
0123     --tag SiPixelGainCalibrationHLT_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_GainCalibForHLT/PedestalBPixMap.png
0130 
0131 getPayloadData.py \
0132     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0133     --plot plot_SiPixelGainCalibForHLTGainsBPIXMap \
0134     --tag SiPixelGainCalibrationHLT_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_GainCalibForHLT/GainBPixMap.png
0141 
0142 getPayloadData.py \
0143     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0144     --plot plot_SiPixelGainCalibForHLTPedestalsFPIXMap \
0145     --tag SiPixelGainCalibrationHLT_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_GainCalibForHLT/PedestalFPixMap.png
0152 
0153 getPayloadData.py \
0154     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0155     --plot plot_SiPixelGainCalibForHLTGainsFPIXMap \
0156     --tag SiPixelGainCalibrationHLT_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_GainCalibForHLT/GainFPixMap.png
0163 
0164 ## two tags plots by Region
0165 
0166 getPayloadData.py \
0167     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0168     --plot plot_SiPixelGainCalibForHLTGainByRegionComparisonTwoTags \
0169     --tag SiPixelGainCalibration_hlt_phase1_mc_v2 \
0170     --tagtwo SiPixelGainCalibration_hlt_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_GainCalibForHLT/TwoTagsGainsByRegionComparison.png
0178 
0179 getPayloadData.py \
0180     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0181     --plot plot_SiPixelGainCalibForHLTPedestalByRegionComparisonTwoTags \
0182     --tag SiPixelGainCalibration_hlt_phase1_mc_v2 \
0183     --tagtwo SiPixelGainCalibration_hlt_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_GainCalibForHLT/TwoTagsPedestalsByRegionComparison.png
0191 
0192 ## single tag, two IOVs plots by Region
0193 
0194 getPayloadData.py \
0195     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0196     --plot plot_SiPixelGainCalibForHLTGainByRegionComparisonSingleTag \
0197     --tag SiPixelGainCalibrationHLT_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_GainCalibForHLT/SingleTagGainsByRegionComparison.png
0204 
0205 getPayloadData.py \
0206     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0207     --plot plot_SiPixelGainCalibForHLTPedestalByRegionComparisonSingleTag \
0208     --tag SiPixelGainCalibrationHLT_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_GainCalibForHLT/SingleTagPedestalsByRegionComparison.png
0215 
0216 ## correlations
0217 
0218 getPayloadData.py \
0219     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0220     --plot plot_SiPixelGainCalibrationForHLTCorrelations \
0221     --tag SiPixelGainCalibrationHLT_2009runs_express \
0222     --time_type Run \
0223     --iovs '{"start_iov": "312203", "end_iov": "312203"}' \
0224     --db Prod \
0225     --test ;
0226 
0227 mv *.png  $W_DIR/plots_GainCalibForHLT/SingleTagGainsPedestalsCorrelations.png
0228 
0229 ## diff and ratio
0230 
0231 getPayloadData.py \
0232     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0233     --plot plot_SiPixelGainCalibForHLTGainDiffRatioTwoTags \
0234     --tagtwo SiPixelGainCalibrationHLT_2009runs_hlt \
0235     --tag SiPixelGainCalibrationHLT_2009runs_ScaledForVCal_hlt \
0236     --time_type Run \
0237     --iovs '{"start_iov": "310000", "end_iov": "310000"}' \
0238     --iovstwo '{"start_iov": "310000", "end_iov": "310000"}'  \
0239     --db Prod \
0240     --test ;
0241 
0242 mv *.png  $W_DIR/plots_GainCalibForHLT/DiffAndRatio.png
0243 
0244 ## diff and ratio reverse
0245 getPayloadData.py \
0246     --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0247     --plot plot_SiPixelGainCalibForHLTGainDiffRatioTwoTags \
0248     --tagtwo SiPixelGainCalibrationHLT_2009runs_ScaledForVCal_hlt \
0249     --tag SiPixelGainCalibrationHLT_2009runs_hlt \
0250     --time_type Run \
0251     --iovs '{"start_iov": "310000", "end_iov": "310000"}' \
0252     --iovstwo '{"start_iov": "310000", "end_iov": "310000"}' \
0253     --db Prod \
0254     --test ;
0255 
0256 mv *.png  $W_DIR/plots_GainCalibForHLT/DiffAndRatio_reverse.png