Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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 RunInfo
0021 ####################
0022 getPayloadData.py --plugin pluginRunInfo_PayloadInspector --plot plot_RunInfoParameters --tag runinfo_31X_hlt --time_type Run --iovs '{"start_iov": "311957", "end_iov": "311957"}' --db Prod --test ;
0023 mv *.png $W_DIR/plots/wrong_payload.png
0024 
0025 getPayloadData.py --plugin pluginRunInfo_PayloadInspector --plot plot_RunInfoParameters --tag runinfo_31X_hlt --time_type Run --iovs '{"start_iov": "312257", "end_iov": "312257"}' --db Prod --test ;
0026 mv *.png $W_DIR/plots/fake_payload.png
0027 
0028 getPayloadData.py --plugin pluginRunInfo_PayloadInspector --plot plot_RunInfoParameters --tag runinfo_31X_hlt --time_type Run --iovs '{"start_iov": "312259", "end_iov": "312259"}' --db Prod --test ;
0029 mv *.png $W_DIR/plots/OK_payload.png