Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:42

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 mkdir -p $W_DIR/results
0011 
0012 if [ -f *.png ]; then    
0013     rm *.png
0014 fi
0015 
0016 echo "Testing the Luminosity Corrections Summary plot"
0017 
0018 getPayloadData.py \
0019     --plugin pluginLumiCorrections_PayloadInspector \
0020     --plot plot_LumiCorrectionsSummary \
0021     --tag LumiPCC_Corrections_prompt \
0022     --time_type Lumi \
0023     --iovs '{"start_iov": "1545372182773899", "end_iov": "1545372182773899"}' \
0024     --db Prod \
0025     --test ;
0026 
0027 mv *.png  $W_DIR/results/LuminosityCorrectionsSummary.png