Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:46

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=slc6_amd64_gcc630;
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 
0013 if [ -d $W_DIR/plots ]; then
0014     rm -fr $W_DIR/plots
0015 fi
0016 
0017 mkdir $W_DIR/plots
0018 
0019 ####################
0020 # Test Gains
0021 ####################
0022 getPayloadData.py \
0023     --plugin pluginSiStripApvGain_PayloadInspector \
0024     --plot plot_SiStripApvGainsValuesComparatorSingleTag \
0025     --tag SiStripApvGainAfterAbortGap_PCL_v0_prompt \
0026     --time_type Run \
0027     --iovs '{"start_iov": "302393", "end_iov": "305114"}' \
0028     --db Prep \
0029     --test;
0030 
0031 mv *.png $W_DIR/plots/G2_Value_update_ST.png
0032 
0033 getPayloadData.py \
0034     --plugin pluginSiStripApvGain_PayloadInspector \
0035     --plot plot_SiStripApvGainsValuesComparatorTwoTags \
0036     --tag SiStripApvGain_FromParticles_GR10_v1_express \
0037     --tagtwo SiStripApvGain_FromParticles_GR10_v1_hlt \
0038     --time_type Run \
0039     --iovs '{"start_iov": "286042", "end_iov": "286042"}' \
0040     --iovstwo '{"start_iov": "206037", "end_iov": "206037"}' \
0041     --db Prod \
0042     --test;
0043 
0044 mv *.png $W_DIR/plots/G2_Value_update_TT.png
0045 
0046 getPayloadData.py \
0047     --plugin pluginSiStripApvGain_PayloadInspector \
0048     --plot plot_SiStripApvGainsMaxDeviationRatioWithPreviousIOVTrackerMap \
0049     --tag SiStripApvGainAfterAbortGap_PCL_v0_prompt \
0050     --time_type Run \
0051     --iovs '{"start_iov": "302393", "end_iov": "305114"}' \
0052     --db Prep \
0053     --input_params '{"nsigma":"3"}' \
0054     --test;
0055 
0056 mv *.png $W_DIR/plots/G2_MaxDeviatonRatio_update_ST.png
0057 
0058 getPayloadData.py \
0059     --plugin pluginSiStripApvGain_PayloadInspector \
0060     --plot plot_SiStripApvGainsMaxDeviationRatioTrackerMapTwoTags \
0061     --tag SiStripApvGain_FromParticles_GR10_v1_express \
0062     --tagtwo SiStripApvGain_FromParticles_GR10_v1_hlt \
0063     --time_type Run \
0064     --iovs '{"start_iov": "286042", "end_iov": "286042"}' \
0065     --iovstwo '{"start_iov": "206037", "end_iov": "206037"}' \
0066     --db Prod \
0067     --input_params '{"nsigma":"3"}' \
0068     --test;
0069 
0070 mv *.png $W_DIR/plots/G2_MaxDeviatonRatio_update_TT.png
0071 
0072 getPayloadData.py \
0073     --plugin pluginSiStripApvGain_PayloadInspector \
0074     --plot plot_SiStripApvGainsRatioComparatorByRegionSingleTag \
0075     --tag SiStripApvGainAfterAbortGap_PCL_v0_prompt \
0076     --time_type Run \
0077     --iovs '{"start_iov": "280000", "end_iov": "305114"}' \
0078     --db Prep \
0079     --test;
0080 
0081 mv *.png $W_DIR/plots/G2_Ratio_update_ST.png
0082 
0083 getPayloadData.py \
0084     --plugin pluginSiStripApvGain_PayloadInspector \
0085     --plot plot_SiStripApvGainsValuesComparatorSingleTag \
0086     --tag SiStripApvGain_GR10_v1_hlt \
0087     --time_type Run \
0088     --iovs '{"start_iov": "302322", "end_iov": "306054"}' \
0089     --db Prod \
0090     --test;
0091 
0092 mv *.png $W_DIR/plots/G1_Value_update_ST.png