File indexing completed on 2024-04-06 12:01:47
0001
0002
0003 W_DIR=$(pwd);
0004
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
0010 cd $W_DIR;
0011
0012 if [ -f *.png ]; then
0013 rm *.png
0014 fi
0015
0016 if [ -d $W_DIR/results_HLT ]; then
0017 rm -fr $W_DIR/results_HLT
0018 fi
0019 mkdir $W_DIR/results_HLT
0020
0021 if [ -d $W_DIR/results_Offline ]; then
0022 rm -fr $W_DIR/results_Offline
0023 fi
0024
0025 mkdir $W_DIR/results_Offline
0026
0027 declare -a arr=("1" "112110" "112245" "117680" "129282" "188059" "189210" "199755" "205566" "233749" "237545" "256491" "268129" "278869" "290543" "294582" "295077" "298756" "303659" "312203" "313800" "320377" "322634" "323893" "326851")
0028
0029 for i in "${arr[@]}"
0030 do
0031 echo -e "\n\n dealing with IOV: "$i"\n"
0032
0033 getPayloadData.py \
0034 --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0035 --plot plot_SiPixelGainCalibForHLTGainDiffRatioTwoTags \
0036 --tagtwo SiPixelGainCalibrationHLT_2009runs_hlt \
0037 --tag SiPixelGainCalibrationHLT_2009runs_ScaledForVCal_hlt \
0038 --time_type Run \
0039 --iovs '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0040 --iovstwo '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0041 --db Prod \
0042 --test;
0043
0044 mv *.png $W_DIR/results_HLT/GainsDiffRatio_${i}.png
0045
0046 getPayloadData.py \
0047 --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0048 --plot plot_SiPixelGainCalibForHLTPedestalDiffRatioTwoTags \
0049 --tagtwo SiPixelGainCalibrationHLT_2009runs_hlt \
0050 --tag SiPixelGainCalibrationHLT_2009runs_ScaledForVCal_hlt \
0051 --time_type Run \
0052 --iovs '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0053 --iovstwo '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0054 --db Prod \
0055 --test;
0056
0057 mv *.png $W_DIR/results_HLT/PedestalsDiffRatio_${i}.png
0058
0059 getPayloadData.py \
0060 --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0061 --plot plot_SiPixelGainCalibForHLTGainComparisonTwoTags \
0062 --tagtwo SiPixelGainCalibrationHLT_2009runs_hlt \
0063 --tag SiPixelGainCalibrationHLT_2009runs_ScaledForVCal_hlt \
0064 --time_type Run \
0065 --iovs '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0066 --iovstwo '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0067 --db Prod \
0068 --test;
0069
0070 mv *.png $W_DIR/results_HLT/GainsComparison_${i}.png
0071
0072 getPayloadData.py \
0073 --plugin pluginSiPixelGainCalibrationForHLT_PayloadInspector \
0074 --plot plot_SiPixelGainCalibForHLTPedestalComparisonTwoTags \
0075 --tagtwo SiPixelGainCalibrationHLT_2009runs_hlt \
0076 --tag SiPixelGainCalibrationHLT_2009runs_ScaledForVCal_hlt \
0077 --time_type Run \
0078 --iovs '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0079 --iovstwo '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0080 --db Prod \
0081 --test;
0082
0083 mv *.png $W_DIR/results_HLT/PedestalsComparison_${i}.png
0084
0085 done
0086
0087 declare -a arr2=("1" "112110" "112245" "117680" "129282" "188059" "189210" "199755" "205566" "233749" "237545" "256491" "268129" "278869" "290550" "294582" "295077" "298647" "303659" "312203" "313800" "320377" "322634" "323893" "326851")
0088
0089 for i in "${arr2[@]}"
0090 do
0091 echo -e "\n\n dealing with IOV: "$i"\n"
0092
0093 getPayloadData.py \
0094 --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0095 --plot plot_SiPixelGainCalibOfflineGainDiffRatioTwoTags \
0096 --tagtwo SiPixelGainCalibration_2009runs_hlt \
0097 --tag SiPixelGainCalibration_2009runs_ScaledForVCal_hlt \
0098 --time_type Run \
0099 --iovs '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0100 --iovstwo '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0101 --db Prod \
0102 --test;
0103
0104 mv *.png $W_DIR/results_Offline/GainsDiffRatio_${i}.png
0105
0106 getPayloadData.py \
0107 --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0108 --plot plot_SiPixelGainCalibOfflinePedestalDiffRatioTwoTags \
0109 --tagtwo SiPixelGainCalibration_2009runs_hlt \
0110 --tag SiPixelGainCalibration_2009runs_ScaledForVCal_hlt \
0111 --time_type Run \
0112 --iovs '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0113 --iovstwo '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0114 --db Prod \
0115 --test;
0116
0117 mv *.png $W_DIR/results_Offline/PedestalsDiffRatio_${i}.png
0118
0119
0120 getPayloadData.py \
0121 --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0122 --plot plot_SiPixelGainCalibOfflineGainComparisonTwoTags \
0123 --tagtwo SiPixelGainCalibration_2009runs_hlt \
0124 --tag SiPixelGainCalibration_2009runs_ScaledForVCal_hlt \
0125 --time_type Run \
0126 --iovs '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0127 --iovstwo '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0128 --db Prod \
0129 --test;
0130
0131 mv *.png $W_DIR/results_Offline/GainsComparison_${i}.png
0132
0133 getPayloadData.py \
0134 --plugin pluginSiPixelGainCalibrationOffline_PayloadInspector \
0135 --plot plot_SiPixelGainCalibOfflinePedestalComparisonTwoTags \
0136 --tagtwo SiPixelGainCalibration_2009runs_hlt \
0137 --tag SiPixelGainCalibration_2009runs_ScaledForVCal_hlt \
0138 --time_type Run \
0139 --iovs '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0140 --iovstwo '{"start_iov": "'$i'", "end_iov": "'$i'"}' \
0141 --db Prod \
0142 --test;
0143
0144 mv *.png $W_DIR/results_Offline/PedestalsComparison_${i}.png
0145
0146 done