diff --git a/Validation/Geometry/test/BuildFile.xml b/Validation/Geometry/test/BuildFile.xml index 5896242c49359..0915fee7a115b 100644 --- a/Validation/Geometry/test/BuildFile.xml +++ b/Validation/Geometry/test/BuildFile.xml @@ -1,2 +1,3 @@ + diff --git a/Validation/Geometry/test/genHGCalPlots.sh b/Validation/Geometry/test/genHGCalPlots.sh new file mode 100755 index 0000000000000..a9dce20735a08 --- /dev/null +++ b/Validation/Geometry/test/genHGCalPlots.sh @@ -0,0 +1,14 @@ +#!/bin/bash -ex + +geom=Extended2026D62 +VGEO_DIR=$CMSSW_BASE/src/Validation/Geometry +TEST_DIR=${VGEO_DIR}/test/materialBudgetHGCalPlots + +if [ -d $TEST_DIR ] ; then rm -rf $TEST_DIR ; fi +mkdir $TEST_DIR && cd $TEST_DIR + +cmsRun ${VGEO_DIR}/test/single_neutrino_cfg.py nEvents=1 >$TEST_DIR/single_neutrino_cfg.log 2>&1 + +python ${VGEO_DIR}/test/runP_HGCal_cfg.py geom=${geom} label=HGCal >$TEST_DIR/runP_HGCal_cfg_${geom}.log 2>&1 +python ${VGEO_DIR}/test/MaterialBudgetHGCal.py -s -d HGCal +