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 if [ ! -d $W_DIR/results ]; then
0014     mkdir $W_DIR/results
0015 fi
0016  
0017 # reference
0018 getPayloadData.py \
0019     --plugin pluginSiStripNoises_PayloadInspector \
0020     --plot plot_SiStripNoiseValueComparisonPerAPV \
0021     --tag SiStripNoise_GR10_v1_hlt \
0022     --time_type Run \
0023     --iovs '{"start_iov": "312968", "end_iov": "313120"}' \
0024     --db Prod \
0025     --test;
0026         
0027 mv *.png $W_DIR/results/SiStripNoisesPerAPVValues_ref.png
0028 
0029 # target
0030 getPayloadData.py \
0031     --plugin pluginSiStripNoises_PayloadInspector \
0032     --plot plot_SiStripNoiseConsistencyCheck \
0033     --tag SiStripNoise_GR10_v1_hlt \
0034     --time_type Run \
0035     --iovs '{"start_iov": "312968", "end_iov": "313120"}' \
0036     --db Prod \
0037     --test;
0038         
0039 mv *.png $W_DIR/results/SiStripNoisesPerAPVValues_tar.png
0040 
0041 # LA test
0042 getPayloadData.py \
0043     --plugin pluginSiStripLorentzAngle_PayloadInspector \
0044     --plot plot_SiStripLorentzAngleTest \
0045     --tag SiStripLorentzAngleDeco_GR10_v1_prompt \
0046     --time_type Run \
0047     --iovs '{"start_iov": "132646", "end_iov": "132646"}' \
0048     --db Prod \
0049     --test;
0050         
0051 mv *.png $W_DIR/results/SiStripLorentzAngleTest.png
0052 
0053 getPayloadData.py \
0054     --plugin pluginSiStripLorentzAngle_PayloadInspector \
0055     --plot plot_SiStripLorentzAngleCompareByRegion \
0056     --tag SiStripLorentzAngleDeco_GR10_v1_prompt \
0057     --time_type Run \
0058     --iovs '{"start_iov": "132646", "end_iov": "254501"}' \
0059     --db Prod \
0060     --test;
0061         
0062 mv *.png $W_DIR/results/SiStripLorentzAngleComparebyRegion.png