Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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/plots
0014 
0015 ####################
0016 # Test display 
0017 ####################
0018 getPayloadData.py \
0019     --plugin pluginAlCaRecoTriggerBits_PayloadInspector \
0020     --plot plot_AlCaRecoTriggerBits_Display \
0021     --tag AlCaRecoHLTpaths8e29_1e31_v7_hlt \
0022     --time_type Run \
0023     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0024     --db Prod \
0025     --test;
0026 
0027 mv *.png $W_DIR/plots/AlCaRecoTriggerBits_Display.png
0028 
0029 ####################
0030 # Test compare
0031 ####################
0032 getPayloadData.py \
0033     --plugin pluginAlCaRecoTriggerBits_PayloadInspector \
0034     --plot plot_AlCaRecoTriggerBits_Compare \
0035     --tag AlCaRecoHLTpaths8e29_1e31_v7_hlt \
0036     --time_type Run \
0037     --iovs '{"start_iov": "270000", "end_iov": "304820"}' \
0038     --db Prod \
0039     --test;
0040 
0041 mv *.png $W_DIR/plots/AlCaRecoTriggerBits_Compare.png
0042 
0043 getPayloadData.py \
0044     --plugin pluginAlCaRecoTriggerBits_PayloadInspector \
0045     --plot plot_AlCaRecoTriggerBits_CompareTwoTags \
0046     --tag AlCaRecoTriggerBits_TrackerDQM_v2_prompt \
0047     --tagtwo AlCaRecoTriggerBits_TrackerDQM_v6_offline \
0048     --time_type Run \
0049     --iovs '{"start_iov": "325492", "end_iov": "325492"}' \
0050     --iovstwo '{"start_iov": "304738", "end_iov": "304738"}' \
0051     --db Prod \
0052     --test;
0053 
0054 mv *.png $W_DIR/plots/AlCaRecoTriggerBits_CompareTwoTags.png