Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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=slc7_amd64_gcc900;
0006 export SCRAM_ARCH;
0007 source /afs/cern.ch/cms/cmsset_default.sh;
0008 eval `scram run -sh`;
0009 
0010 mkdir -p $W_DIR/display
0011 
0012 getPayloadData.py \
0013     --plugin pluginSiPixelTemplateDBObject_PayloadInspector \
0014     --plot plot_SiPixelTemplateIDsFullPixelMap \
0015     --tag SiPixelTemplateDBObject_phase1_38T_2018_ultralegacymc_v1 \
0016     --time_type Run \
0017     --iovs '{"start_iov": "1", "end_iov" : "1"}' \
0018     --db Prod \
0019     --test ;
0020 
0021 mv *.png $W_DIR/display/testPixelMap.png
0022 
0023 # test a given PU bin
0024 getPayloadData.py \
0025     --plugin pluginSiPixelQualityProbabilities_PayloadInspector \
0026     --plot plot_SiPixelQualityProbabilityDensityPerPUbin \
0027     --tag SiPixelQualityProbabilities_UltraLegacy2018_v0_mc \
0028     --input_params '{"PU bin": "10"}' \
0029     --time_type Run \
0030     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0031     --db Prod \
0032     --test ;
0033 
0034 mv *.png $W_DIR/display/testSiPixelQualityProbabilityDensity.png
0035 
0036 # test all PU bins
0037 getPayloadData.py \
0038     --plugin pluginSiPixelQualityProbabilities_PayloadInspector \
0039     --plot plot_SiPixelQualityProbabilityDensityPerPUbin \
0040     --tag SiPixelQualityProbabilities_2023_v2_BPix_mc \
0041     --time_type Run \
0042     --iovs '{"start_iov": "1", "end_iov": "1"}' \
0043     --db Prod \
0044     --test ;
0045 
0046 mv *.png $W_DIR/display/testSiPixelQualityProbabilityDensity_v2.png