Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
#!/bin/bash
# Save current working dir so img can be outputted there later
W_DIR=$(pwd);
# Set SCRAM architecture var
SCRAM_ARCH=slc7_amd64_gcc900;
export SCRAM_ARCH;
source /afs/cern.ch/cms/cmsset_default.sh;
eval `scram run -sh`;
# Go back to original working directory
cd $W_DIR;
# Run get payload data script
if [ -d $W_DIR/plots_LA ]; then
    rm -fr $W_DIR/plots_LA
fi

mkdir $W_DIR/plots_LA

getPayloadData.py \
     --plugin pluginSiPixelLorentzAngle_PayloadInspector \
     --plot plot_SiPixelLorentzAngleValuesBarrelCompareTwoTags \
     --tag SiPixelLorentzAngle_phase2_T19_v1_mc \
     --tagtwo SiPixelLorentzAngle_phase2_T15_v5_mc \
     --time_type Run \
     --iovs '{"start_iov": "1", "end_iov": "1"}' \
     --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
     --db Prod \
     --test ;

getPayloadData.py \
     --plugin pluginSiPixelLorentzAngle_PayloadInspector \
     --plot plot_SiPixelLorentzAngleValuesBarrelCompareTwoTags \
     --tag SiPixelLorentzAngleSim_phase1_BoR3_HV350_Tr2000 \
     --tagtwo SiPixelLorentzAngle_phase1_EEoR3_HV800_Tr2000  \
     --time_type Run \
     --iovs '{"start_iov": "1", "end_iov": "1"}' \
     --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
     --db Prod \
     --test ;

mv *.png  $W_DIR/plots_LA/comparisonByRegionTwoTagsPhase1.png

getPayloadData.py \
     --plugin pluginSiPixelLorentzAngle_PayloadInspector \
     --plot plot_SiPixelLorentzAngleValuesEndcapCompareSingleTag \
     --tag SiPixelLorentzAngle_2009_v1_express  \
     --time_type Run \
     --iovs '{"start_iov": "197571", "end_iov": "326083"}' \
     --db Prod \
     --test ;

mv *.png  $W_DIR/plots_LA/comparisonByRegionSingleTagsPhase0-Phase1.png

getPayloadData.py \
     --plugin pluginSiPixelLorentzAngle_PayloadInspector \
     --plot plot_SiPixelLorentzAngleValueComparisonTwoTags \
     --tag SiPixelLorentzAngleSim_phase1_BoR3_HV350_Tr1300 \
     --tagtwo SiPixelLorentzAngle_phase1_BoR3_HV350_Tr1300 \
     --time_type Run \
     --iovs '{"start_iov": "1", "end_iov": "1"}' \
     --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
     --db Prod \
     --test ;

mv *.png  $W_DIR/plots_LA/comparisonByValuePhase1.png

getPayloadData.py \
    --plugin pluginSiPixelLorentzAngle_PayloadInspector \
    --plot plot_SiPixelLorentzAngleValues \
    --tag SiPixelLorentzAngle_forWidth_phase1_mc_v1 \
    --time_type Run \
    --iovs '{"start_iov": "1", "end_iov": "1"}' \
    --db Prod \
    --test ;

mv *.png  $W_DIR/plots_LA/ByValuePhase1.png

getPayloadData.py \
    --plugin pluginSiPixelLorentzAngle_PayloadInspector \
    --plot plot_SiPixelLorentzAngleValueComparisonTwoTags \
    --tag SiPixelLorentzAngle_forWidth_v1_mc \
    --tagtwo SiPixelLorentzAngle_2016_ultralegacymc_v2 \
    --time_type Run \
    --iovs '{"start_iov": "1", "end_iov": "1"}' \
    --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
    --db Prod \
    --test ;

mv *.png  $W_DIR/plots_LA/comparisonByValuePhase0.png

getPayloadData.py \
    --plugin pluginSiPixelLorentzAngle_PayloadInspector \
    --plot plot_SiPixelLorentzAngleByRegionComparisonTwoTags \
    --tag SiPixelLorentzAngle_forWidth_v1_mc \
    --tagtwo SiPixelLorentzAngle_2016_ultralegacymc_v2 \
    --time_type Run \
    --iovs '{"start_iov": "1", "end_iov": "1"}' \
    --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
    --db Prod \
    --test ;

mv *.png  $W_DIR/plots_LA/comparisonByRegionPhase0.png

getPayloadData.py \
     --plugin pluginSiPixelLorentzAngle_PayloadInspector \
     --plot plot_SiPixelBPixLorentzAngleMap \
     --tag SiPixelLorentzAngle_v11_offline \
     --time_type Run \
     --iovs '{"start_iov": "324245", "end_iov": "324245"}' \
     --db Prod \
     --test ;

mv *.png  $W_DIR/plots_LA/SiPixelBPixLorentzAngleMap.png

getPayloadData.py \
    --plugin pluginSiPixelLorentzAngle_PayloadInspector \
    --plot plot_SiPixelLorentzAngleValuesEndcap \
    --tag SiPixelLorentzAngle_forWidth_phase1_mc_v1 \
    --time_type Run \
    --iovs '{"start_iov": "1", "end_iov": "1"}' \
    --db Prod \
    --test ;

mv *.png  $W_DIR/plots_LA/SiPixelBPixLorentzAngleEndcapPlots.png

getPayloadData.py \
    --plugin pluginSiPixelLorentzAngle_PayloadInspector \
    --plot plot_SiPixelLorentzAngleValuesBarrel \
    --tag SiPixelLorentzAngle_forWidth_phase1_mc_v1 \
    --time_type Run \
    --iovs '{"start_iov": "1", "end_iov": "1"}' \
    --db Prod \
    --test ;

mv *.png  $W_DIR/plots_LA/SiPixelBPixLorentzAngleBarrel.png