Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-06-23 03:27:45

0001 #!/bin/bash -ex
0002 
0003 geom=Extended2026D76
0004 VGEO_DIR=$CMSSW_BASE/src/Validation/Geometry
0005 TEST_DIR=${VGEO_DIR}/test/materialBudgetHGCalPlots
0006 
0007 if [ -d $TEST_DIR ] ; then rm -rf $TEST_DIR ; fi
0008 mkdir $TEST_DIR && cd $TEST_DIR
0009 
0010 cmsRun ${VGEO_DIR}/test/single_neutrino_cfg.py nEvents=1 >$TEST_DIR/single_neutrino_cfg.log 2>&1
0011 
0012 python_cmd="python2"
0013 python3 -c "from FWCore.PythonFramework.CmsRun import CmsRun" 2>/dev/null && python_cmd="python3"
0014 ${python_cmd} ${VGEO_DIR}/test/runP_HGCal_cfg.py geom=${geom} label=HGCal >$TEST_DIR/runP_HGCal_cfg_${geom}.log 2>&1
0015 python3 ${VGEO_DIR}/test/MaterialBudgetHGCal.py -s -d HGCal