Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-08-21 04:46:12

0001 #!/bin/bash
0002 # Save current working dir so img can be outputted there later
0003 W_DIR=$(pwd);
0004 eval `scram run -sh`;
0005 # Go back to original working directory
0006 cd $W_DIR;
0007 mkdir -p $W_DIR/results
0008 
0009 if [ -f *.png ]; then
0010     rm *.png
0011 fi
0012 
0013 # Run get payload data script
0014 
0015 ####################
0016 # Test L1UtmTriggerMenu
0017 ####################
0018 getPayloadData.py \
0019     --plugin pluginL1TUtmTriggerMenu_PayloadInspector \
0020     --plot plot_L1TUtmTriggerMenuDisplayAlgos \
0021     --tag L1Menu_CollisionsHeavyIons2023_v1_1_5_xml \
0022     --time_type Run \
0023     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0024     --db Prod \
0025     --test;
0026 
0027 mv *.png $W_DIR/results/L1TUtmTriggerMenuPlot.png
0028 
0029 ####################
0030 # Test L1UtmTriggerMenu algo comparison (two IOVs, same tag)
0031 ####################
0032 getPayloadData.py \
0033     --plugin pluginL1TUtmTriggerMenu_PayloadInspector \
0034     --plot plot_L1TUtmTriggerMenu_CompareAlgos \
0035     --tag L1TUtmTriggerMenu_Stage2v0_hlt \
0036     --time_type Run \
0037     --iovs '{"start_iov": "375649", "end_iov": "375650"}' \
0038     --db Prod \
0039     --test;
0040 
0041 mv *.png $W_DIR/results/L1TUtmTriggerMenu_CompareAlgos.png
0042 
0043 ####################
0044 # Test L1UtmTriggerMenu algo comparison (two tags)
0045 ####################
0046 getPayloadData.py \
0047     --plugin pluginL1TUtmTriggerMenu_PayloadInspector \
0048     --plot plot_L1TUtmTriggerMenu_CompareAlgosTwoTags \
0049     --tag L1Menu_CollisionsHeavyIons2023_v1_1_4_xml \
0050     --tagtwo L1Menu_CollisionsHeavyIons2023_v1_1_5_xml \
0051     --time_type Run \
0052     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0053     --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
0054     --db Prod \
0055     --test;
0056 
0057 mv *.png $W_DIR/results/L1TUtmTriggerMenu_CompareAlgosTwoTags.png
0058 
0059 ####################
0060 # Test L1UtmTriggerMenu conditions comparison (two IOVs, same tag)
0061 ####################
0062 getPayloadData.py \
0063     --plugin pluginL1TUtmTriggerMenu_PayloadInspector \
0064     --plot plot_L1TUtmTriggerMenu_CompareConditions \
0065     --tag L1TUtmTriggerMenu_Stage2v0_hlt \
0066     --time_type Run \
0067     --iovs '{"start_iov": "375649", "end_iov": "375650"}' \
0068     --db Prod \
0069     --test;
0070 
0071 mv *.png $W_DIR/results/L1TUtmTriggerMenu_CompareConditions.png
0072 
0073 ####################
0074 # Test L1UtmTriggerMenu conditions comparison (two tags)
0075 ####################
0076 getPayloadData.py \
0077     --plugin pluginL1TUtmTriggerMenu_PayloadInspector \
0078     --plot plot_L1TUtmTriggerMenu_CompareConditionsTwoTags \
0079     --tag L1Menu_CollisionsHeavyIons2023_v1_1_4_xml \
0080     --tagtwo L1Menu_CollisionsHeavyIons2023_v1_1_5_xml \
0081     --time_type Run \
0082     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0083     --iovstwo '{"start_iov": "1", "end_iov": "1"}' \
0084     --db Prod \
0085     --test;
0086 
0087 mv *.png $W_DIR/results/L1TUtmTriggerMenu_CompareConditionsTwoTags.png
0088 
0089 ####################
0090 # Test L1TMuonGlobalParams input bits
0091 ####################
0092 getPayloadData.py \
0093     --plugin pluginL1TMuonGlobalParams_PayloadInspector \
0094     --plot plot_L1TMuonGlobalParamsInputBits \
0095     --tag L1TMuonGlobalParams_Stage2v0_2024_mc_v1 \
0096     --time_type Run --iovs '{"start_iov": "1", "end_iov" : "1"}' \
0097     --db Prod \
0098     --test;
0099 
0100 mv *.png $W_DIR/results/L1TMuonGlobalParams_InputBits.png