Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-24 23:46:09

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 mkdir -p $W_DIR/results
0014 
0015 if [ -f *.png ]; then
0016     rm *.png
0017 fi
0018 
0019 ####################
0020 # Test Gains
0021 ####################
0022 getPayloadData.py \
0023     --plugin pluginSiStripApvGain_PayloadInspector \
0024     --plot plot_SiStripApvGainsByRegion \
0025     --tag SiStripApvGain_FromParticles_GR10_v1_express \
0026     --time_type Run \
0027     --iovs '{"start_iov": "286042", "end_iov": "286042"}' \
0028     --db Prod \
0029     --test;
0030 
0031 mv *.png $W_DIR/results/SiStripApvGainsByRegion.png
0032 
0033 ######################
0034 # Test Lorentz Angle
0035 ######################
0036 getPayloadData.py \
0037     --plugin pluginSiStripLorentzAngle_PayloadInspector \
0038     --plot plot_SiStripLorentzAngleByRegion \
0039     --tag  SiStripLorentzAngleDeco_GR10_v1_prompt \
0040     --time_type Run \
0041     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0042     --db Prod \
0043     --test;
0044 
0045 mv *.png $W_DIR/results/SiStripLorentzAngleByRegion.png
0046 
0047 ######################
0048 # Test Lorentz Angle Comparison
0049 ######################
0050 getPayloadData.py \
0051     --plugin pluginSiStripLorentzAngle_PayloadInspector \
0052     --plot plot_SiStripLorentzAngleByRegionCompareSingleTag \
0053     --tag SiStripLorentzAngleDeco_GR10_v1_prompt \
0054     --time_type Run \
0055     --iovs '{"start_iov": "1", "end_iov": "400000"}' \
0056     --db Prod --test ;
0057 
0058 ######################
0059 # Test Backplane correction
0060 ######################
0061 getPayloadData.py \
0062     --plugin pluginSiStripBackPlaneCorrection_PayloadInspector \
0063     --plot plot_SiStripBackPlaneCorrectionByRegion \
0064     --tag SiStripBackPlaneCorrection_deco_GR10_v1_express \
0065     --time_type Run \
0066     --iovs '{"start_iov": "153690", "end_iov": "153690"}' \
0067     --db Prod \
0068     --test;
0069 
0070 mv *.png $W_DIR/results/SiStripBackPlaneCorrectionByRegion.png
0071 
0072 ######################
0073 # Test Bad components
0074 ######################
0075 getPayloadData.py \
0076     --plugin pluginSiStripBadStrip_PayloadInspector \
0077     --plot plot_SiStripBadStripQualityAnalysis \
0078     --tag  SiStripBadComponents_startupMC_for2017_v1_mc\
0079     --time_type Run \
0080     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0081     --db Prod \
0082     --test;
0083 
0084 mv *.png $W_DIR/results/SiStripBadStripQualityAnalysis.png
0085 
0086 ######################
0087 # Test Conf Object
0088 ######################
0089 getPayloadData.py \
0090     --plugin pluginSiStripConfObject_PayloadInspector \
0091     --plot plot_SiStripConfObjectDisplay \
0092     --tag SiStripShiftAndCrosstalk_GR10_v1_express \
0093     --time_type Run --iovs '{"start_iov": "1", "end_iov": "1"}' \
0094     --db Prod \
0095     --test;
0096 
0097 mv *.png $W_DIR/results/SiStripConfObjectDisplay.png
0098 
0099 ######################
0100 # Test DetVOff
0101 ######################
0102 getPayloadData.py \
0103     --plugin pluginSiStripDetVOff_PayloadInspector \
0104     --plot plot_SiStripDetVOffTest \
0105     --tag SiStripDetVOff_v3_offline \
0106     --time_type Time \
0107     --iovs '{"start_iov": "685006631803433472", "end_iov": "6850066318803433472"}' \
0108     --db Prod \
0109     --test ;
0110 
0111 getPayloadData.py \
0112     --plugin pluginSiStripDetVOff_PayloadInspector \
0113     --plot plot_SiStripDetVOffByRegion \
0114     --tag SiStripDetVOff_v6_prompt \
0115     --time_type Run --iovs '{"start_iov": "6607932533539533824", "end_iov": "6607932533539533824"}' \
0116     --db Prod \
0117     --test;
0118 
0119 ######################
0120 # Test dumping of switched off modules
0121 ######################
0122 getPayloadData.py \
0123     --plugin pluginSiStripDetVOff_PayloadInspector \
0124     --plot plot_SiStripLVOffListOfModules \
0125     --tag SiStripDetVOff_v3_offline \
0126     --time_type Time \
0127     --iovs '{"start_iov": "6850066318803433472", "end_iov": "6850066318803433472"}' \
0128     --db Prod \
0129     --test;
0130 
0131 ######################
0132 # Test SiStripTkMaps
0133 ######################
0134 getPayloadData.py \
0135     --plugin pluginSiStripBadStrip_PayloadInspector \
0136     --plot plot_SiStripBadStripFractionTkMap \
0137     --tag SiStripBadComponents_startupMC_for2017_v1_mc \
0138     --time_type Run \
0139     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0140     --db Prod \
0141     --test ;
0142 
0143 getPayloadData.py \
0144     --plugin pluginSiStripLorentzAngle_PayloadInspector \
0145     --plot plot_SiStripLorentzAngleTkMap \
0146     --tag  SiStripLorentzAngleDeco_GR10_v1_prompt \
0147     --time_type Run \
0148     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0149     --db Prod \
0150     --test ;