Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-07-02 00:53:27

0001 #!/bin/bash
0002 # Save current working dir so img can be outputted there later
0003 W_DIR=$(pwd);
0004 source /afs/cern.ch/cms/cmsset_default.sh;
0005 eval `scram run -sh`;
0006 # Go back to original working directory
0007 cd $W_DIR;
0008 # Run get payload data script
0009 
0010 if [ -d $W_DIR/plots ]; then
0011     rm -fr $W_DIR/plots
0012 fi
0013 
0014 mkdir $W_DIR/plots
0015 
0016 getPayloadData.py \
0017     --plugin pluginHcalRespCorrs_PayloadInspector \
0018     --plot plot_HcalRespCorrsRatioAll \
0019     --tag HcalRespCorrs_2024_v1.0_data \
0020     --tagtwo HcalRespCorrs_2024_v2.0_data  \
0021     --time_type Run \
0022     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0023     --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
0024     --db Prod \
0025     --test;
0026 
0027 mv *.png $W_DIR/plots/HcalRespCorrsRatio2D.png
0028 
0029 getPayloadData.py \
0030     --plugin pluginHcalRespCorrs_PayloadInspector \
0031     --plot plot_HcalRespCorrsComparatorTwoTags \
0032     --tag HcalRespCorrs_2024_v1.0_data \
0033     --tagtwo HcalRespCorrs_2024_v2.0_data  \
0034     --time_type Run \
0035     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0036     --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
0037     --db Prod \
0038     --test;
0039 
0040 mv *.png $W_DIR/plots/HcalRespCorrsCompareTwoTags.png
0041 
0042 getPayloadData.py \
0043     --plugin pluginHcalRespCorrs_PayloadInspector \
0044     --plot plot_HcalRespCorrsCorrelationTwoTags \
0045     --tag HcalRespCorrs_2024_v1.0_data \
0046     --tagtwo HcalRespCorrs_2024_v2.0_data  \
0047     --time_type Run \
0048     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0049     --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
0050     --db Prod \
0051     --test;
0052 
0053 mv *.png $W_DIR/plots/HcalRespCorrsCorrelateTwoTags.png