Skip to content

Commit

Permalink
remove all uses of -p, --parameter-set with cmsRun
Browse files Browse the repository at this point in the history
  • Loading branch information
kpedro88 committed Sep 15, 2023
1 parent 9a7cd3a commit deb0b28
Show file tree
Hide file tree
Showing 20 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion Calibration/LumiAlCaRecoProducers/test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

function die { echo $1: status $2 ; exit $2; }

cmsRun --parameter-set ${SCRAM_TEST_PATH}/test_cfg.py || die 'Failed in test_cfg.py' $?
cmsRun ${SCRAM_TEST_PATH}/test_cfg.py || die 'Failed in test_cfg.py' $?
2 changes: 1 addition & 1 deletion CondCore/ESSources/test/TestConcurrentIOVsCondCore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
function die { echo $1: status $2 ; exit $2; }

echo cmsRun TestConcurrentIOVsCondCore_cfg.py
cmsRun --parameter-set ${SCRAM_TEST_PATH}/TestConcurrentIOVsCondCore_cfg.py || die 'Failed in TestConcurrentIOVsCondCore_cfg.py' $?
cmsRun ${SCRAM_TEST_PATH}/TestConcurrentIOVsCondCore_cfg.py || die 'Failed in TestConcurrentIOVsCondCore_cfg.py' $?
grep "TestConcurrentIOVsCondCore: " TestConcurrentIOVsCondCoreCout.log > TestConcurrentIOVsCondCore.log
diff ${SCRAM_TEST_PATH}/unit_test_outputs/TestConcurrentIOVsCondCore.log TestConcurrentIOVsCondCore.log || die "comparing TestConcurrentIOVsCondCore.log" $?
4 changes: 2 additions & 2 deletions CondTools/DT/test/DTReadOutMapping-O2OProcedure
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ DTREADOUTMAPPING (this is a simulation of tagging the data from online)
cmscond_build_iov_byquery -i -q "CELL_MAP_VERSION='cmssw_ROB' AND ROB_MAP_VERSION='cmssw_ROS'" -u user -p pass -d CondFormatsDTObjects -t DTREADOUTMAPPING -o DTReadOutMapping -c sqlite_file:testfile.db cmssw_version

step 6: read data back from cmsRun. Note the tag value (this is a simulation of offline CMSSW job)
cmsRun -p load_test_myversion.cfg
cmsRun -p load_test_cmsswversion.cfg
cmsRun load_test_myversion.cfg
cmsRun load_test_cmsswversion.cfg
2 changes: 1 addition & 1 deletion CondTools/Ecal/o2oTests/read_o2o.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ export POOL_CATALOG=relationalcatalog_oracle://${SERVERNAME}/${SCHEMA}

# cmsRun
CONFFILE=load_o2o.cfg
COMMAND="cmsRun --parameter-set $CONFFILE"
COMMAND="cmsRun $CONFFILE"
runx "$COMMAND" 1 # time the command (1 trial)
2 changes: 1 addition & 1 deletion CondTools/RPC/test/writeL1RPCHwConfig2DB.csh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ process Write2DB = {
}
%%
#
cmsRun -p writeL1RPCHwConfig2DB.cfg
cmsRun writeL1RPCHwConfig2DB.cfg
#
if ( -f writeL1RPCHwConfig2DB.inp )then
set goon = `cat writeL1RPCHwConfig2DB.inp`
Expand Down
2 changes: 1 addition & 1 deletion DQM/SiStripMonitorClient/test/ReadMe.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
o do a eval `scramv1 runtime -csh`
o put the Collector machine name in DQM/StripMonitorCluster/data/MonitorDaemon.cfi
config file (in the field DestinationAddress)
o execute "cmsRun -p OnlyDQM.cfg"
o execute "cmsRun OnlyDQM.cfg"


- Client (start xdaq executable)
Expand Down
4 changes: 2 additions & 2 deletions DQM/SiStripMonitorCluster/test/batch_mtcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ runped(){
cd ${MTCC_OUTPUT_DIR};
echo "# ************************************************* CALCULATING THE PEDESTALS USING THE CFG FILE ${PED_CFG}"
cat ${PED_CFG};
cmsRun -p ${PED_CFG};
cmsRun ${PED_CFG};
echo "pedestal jobstatus: $?";
mv ${MTCC_OUTPUT_DIR}/Source_*${PED_RUNNR}.root ${PED_CFG}_pedestal_histograms.root
}
Expand All @@ -412,7 +412,7 @@ runcms(){
echo ""
echo "########################################################################"
echo "###### RUNNING THE RECONSTRUCTION USING THE CFG FILE ${I_CFG}"
cmsRun -p ${I_CFG}
cmsRun ${I_CFG}
echo "reconstruction jobstatus: $?";
mv ${MTCC_OUTPUT_DIR}/monitor_cluster_summary.txt ${I_CFG}_cluster_summary.txt
mv ${MTCC_OUTPUT_DIR}/monitor_digi_summary.txt ${I_CFG}_digi_summary.txt
Expand Down
2 changes: 1 addition & 1 deletion DQM/SiStripMonitorCluster/test/filter_mtcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ runfilter(){
cd ${MTCC_OUTPUT_DIR};
echo "##### RUNNING THE RECONSTRUCTION USING THE CFG FILE ${FILTER_CFG}"
cat ${FILTER_CFG}
cmsRun -p ${FILTER_CFG}
cmsRun ${FILTER_CFG}
echo "filter jobstatus: $?";
}

Expand Down
2 changes: 1 addition & 1 deletion DQM/SiStripMonitorCluster/test/filter_mtcc_reprocessed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ runfilter(){
cd ${MTCC_OUTPUT_DIR};
echo "##### RUNNING THE RECONSTRUCTION USING THE CFG FILE ${FILTER_CFG}"
cat ${FILTER_CFG}
cmsRun -p ${FILTER_CFG}
cmsRun ${FILTER_CFG}
echo "filter jobstatus: $?";
}

Expand Down
54 changes: 27 additions & 27 deletions DQMServices/FwkIO/test/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ LOCAL_TEST_DIR=${SCRAM_TEST_PATH}
testConfig=create_run_only_file_cfg.py
rm -f dqm_run_only.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

testConfig=read_run_only_file_cfg.py
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

checkFile=check_run_only_file.py
echo ${checkFile} ------------------------------------------------------------
Expand All @@ -19,11 +19,11 @@ LOCAL_TEST_DIR=${SCRAM_TEST_PATH}
testConfig=create_lumi_only_file_cfg.py
rm -f dqm_lumi_only.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

testConfig=read_lumi_only_file_cfg.py
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

checkFile=check_lumi_only_file.py
echo ${checkFile} ------------------------------------------------------------
Expand All @@ -32,11 +32,11 @@ LOCAL_TEST_DIR=${SCRAM_TEST_PATH}
testConfig=create_run_lumi_file_cfg.py
rm -f dqm_run_lumi.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

testConfig=read_run_lumi_file_cfg.py
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

checkFile=check_run_lumi_file.py
echo ${checkFile} ------------------------------------------------------------
Expand All @@ -46,7 +46,7 @@ LOCAL_TEST_DIR=${SCRAM_TEST_PATH}
testConfig=read_write_run_lumi_file_cfg.py
rm -f dqm_run_lumi_copy.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

checkFile=check_run_lumi_file.py
echo ${checkFile} ------------------------------------------------------------
Expand All @@ -56,7 +56,7 @@ LOCAL_TEST_DIR=${SCRAM_TEST_PATH}
testConfig=create_file_multi_types_cfg.py
rm -f dqm_file_multi_types.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

checkFile=check_multi_types.py
fileToCheck=dqm_file_multi_types.root
Expand All @@ -66,7 +66,7 @@ LOCAL_TEST_DIR=${SCRAM_TEST_PATH}
testConfig=copy_file_multi_types_cfg.py
rm -f dqm_copy_multi_types.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

checkFile=check_multi_types.py
fileToCheck=dqm_copy_multi_types.root
Expand All @@ -78,7 +78,7 @@ LOCAL_TEST_DIR=${SCRAM_TEST_PATH}
rm -f dqm_file1.root
rm -f dqm_file1_jobreport.xml
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} -j dqm_file1_jobreport.xml || die "cmsRun ${testConfig}" $?
cmsRun -j dqm_file1_jobreport.xml ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

# test GUID here
checkFile=check_guid_file1.py
Expand All @@ -88,58 +88,58 @@ LOCAL_TEST_DIR=${SCRAM_TEST_PATH}
testConfig=create_file2_cfg.py
rm -f dqm_file2.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

testConfig=read_file1_file2_cfg.py
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

testConfig=create_file3_cfg.py
rm -f dqm_file3.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

testConfig=read_file1_file3_cfg.py
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

testConfig=merge_file1_file2_cfg.py
rm -f dqm_merged_file1_file2.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

checkFile=check_merged_file1_file2.py
echo ${checkFile} ------------------------------------------------------------
python3 ${LOCAL_TEST_DIR}/${checkFile} || die "python3 ${checkFile}" $?

testConfig=read_merged_file1_file2_cfg.py
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

testConfig=merge_file1_file3_file2_cfg.py
rm -f dqm_merged_file1_file3_file2.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

testConfig=read_merged_file1_file3_file2_cfg.py
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

testConfig=create_one_run_one_lumi_run_only_file_cfg.py
rm -f dqm_one_run_one_lumi_run_only.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cp dqm_one_run_one_lumi_run_only.root dqm_one_run_one_lumi_run_only_2.root

testConfig=merge_one_run_one_lumi_run_only_cfg.py
rm -f dqm_merged_one_run_one_lumi_run_only.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

testConfig=merge_file1_file3_file2_filterOnRun1_cfg.py
rm -f dqm_merged_file1_file3_file2_filterOnRun1.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

checkFile=check_merged_file1_file3_file2_filterOnRun1_cfg.py
echo ${checkFile} ------------------------------------------------------------
Expand All @@ -148,7 +148,7 @@ LOCAL_TEST_DIR=${SCRAM_TEST_PATH}
testConfig=read_write_merged_file1_file3_file2_filterOnRun1_cfg.py
rm -f dqm_merged_file1_file3_file2_filterOnRun1_copy.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

checkFile=check_merged_file1_file3_file2_filterOnRun1_copy_cfg.py
fileToCheck=dqm_merged_file1_file3_file2_filterOnRun1_copy.root
Expand All @@ -158,27 +158,27 @@ LOCAL_TEST_DIR=${SCRAM_TEST_PATH}
testConfig=create_file4_cfg.py
rm -f dqm_file4.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

testConfig=merge_file1_file3_file4_cfg.py
rm -f dqm_merged_file1_file3_file4.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

testConfig=read_merged_file1_file3_file4_cfg.py
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

# empty
testConfig=create_empty_file_cfg.py
rm -f dqm_empty.root
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} || die "cmsRun ${testConfig}" $?

stat dqm_empty.root && die "file created by cmsRun ${testConfig}" $?

testConfig=read_missing_file_cfg.py
echo ${testConfig} ------------------------------------------------------------
cmsRun -p ${LOCAL_TEST_DIR}/${testConfig} && die "cmsRun ${testConfig}" $?
cmsRun ${LOCAL_TEST_DIR}/${testConfig} && die "cmsRun ${testConfig}" $?

exit 0
2 changes: 1 addition & 1 deletion IOPool/Common/test/TestEdmFastMerge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ egrep -v "<GUID>|<PFN>|^$" $LOCAL_TEST_DIR/proper_Rfjr_output > $LOCAL_TMP_DIR/p
egrep -v "<GUID>|<PFN>|^$" $LOCAL_TMP_DIR/TestFastMergeRFJR.xml > $LOCAL_TMP_DIR/TestFastMergeRFJR_filtered.xml
diff $LOCAL_TMP_DIR/proper_Rfjr_output_filtered $LOCAL_TMP_DIR/TestFastMergeRFJR_filtered.xml || die 'output run framework job report is wrong for proper_Rfjr_output_filtered' $?

cmsRun -p ${LOCAL_TEST_DIR}/ReadFastMergeTestOutput_cfg.py || die 'Failure using ReadFastMergeTestOutput_cfg.py' $?
cmsRun ${LOCAL_TEST_DIR}/ReadFastMergeTestOutput_cfg.py || die 'Failure using ReadFastMergeTestOutput_cfg.py' $?
4 changes: 2 additions & 2 deletions RecoJets/JetProducers/doc/html/jetSimuChain.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h3> Generation </h3>
The configuration file is <a href='../../Example_Gen+DetSim+Digi.cfg'> Example_Gen+DetSim+Digi.cfg</a>.
To run particle gun sample, run
<pre>
cmsRun -p Example_Gen+DetSim+Digi.cfg
cmsRun Example_Gen+DetSim+Digi.cfg
</pre>
To run Pythia Z'(700)->dijets,
first include <a href='pythia_Z700_dijets.cfi'> pythia_Z700_dijets.cfi </a> instead of
Expand All @@ -74,7 +74,7 @@ <h3>Reconstruction </h3>
The configuration file is <a href='Example_Calorimetry+Jets.cfg'> Example_Calorimetry+Jets.cfg</a>.
To run particle gun sample, run
<pre>
cmsRun -p Example_Calorimetry+Jets.cfg
cmsRun Example_Calorimetry+Jets.cfg
</pre>

The produced file evtgen_jets.root contains generator level information, reconstructed intermediate objects,
Expand Down
2 changes: 1 addition & 1 deletion RecoLuminosity/LumiProducer/test/run_lumiProd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

function die { echo Failure $1: status $2 ; exit $2 ; }

cmsRun -p ${SCRAM_TEST_PATH}/testLumiProd_cfg.py || die "cmsRun testLumiProd_cfg.py" $?
cmsRun ${SCRAM_TEST_PATH}/testLumiProd_cfg.py || die "cmsRun testLumiProd_cfg.py" $?
2 changes: 1 addition & 1 deletion Validation/GlobalDigis/test/valid_global.csh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if ( -e output.log ) rm output.log
if ( -e FrameworkJobReport.xml ) rm FrameworkJobReport.xml
#comment out if RefPoolSource.cfi modified to use /afs location directly
#cp ${GLBLREFDIR}/MC_010p2_minbias.root .
cmsRun -p DetSim+Digi+Global.cfg >& output.log
cmsRun DetSim+Digi+Global.cfg >& output.log
echo "......creating histogram file with this release"
root -b -q MakeHistograms.C\(\"GlobalDigis.root\",\"GlobalDigisHistograms\"\)
echo "......comparing against reference file from previous release"
Expand Down
2 changes: 1 addition & 1 deletion Validation/GlobalHits/test/README
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ to CMSSW). It inserts into the event a PGlobalSimHit object as defined in
SimDataFormats/GlobalValidation.

This package is run from the Validation/GlobalHits/test directory. To execute
type cmsRun -p *.cfg with one of the following four .cfg files:
type cmsRun *.cfg with one of the following four .cfg files:

EvtGen+DetSim+Global.cfg runs the full chain of event generation, detector
simulation and global translation making use of local .cfi files
Expand Down
2 changes: 1 addition & 1 deletion Validation/GlobalHits/test/valid_global.csh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if ( -e output.log ) rm output.log
if ( -e FrameworkJobReport.xml ) rm FrameworkJobReport.xml
#comment out if RefPoolSource.cfi modified to use /afs location directly
#cp ${GLBLREFDIR}/MC_010p2_minbias.root .
cmsRun -p DetSim+Global.cfg >& output.log
cmsRun DetSim+Global.cfg >& output.log
echo "......creating histogram file with this release"
root -b -q MakeHistograms.C\(\"GlobalHits.root\",\"GlobalHitsHistograms\"\)
echo "......comparing against reference file from previous release"
Expand Down
2 changes: 1 addition & 1 deletion Validation/GlobalRecHits/test/valid_global.csh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if ( -e output.log ) rm output.log
if ( -e FrameworkJobReport.xml ) rm FrameworkJobReport.xml
#comment out if RefPoolSource.cfi modified to use /afs location directly
#cp ${GLBLREFDIR}/MC_010p2_minbias.root .
cmsRun -p DetSim+Digi+Reco+Global.cfg >& output.log
cmsRun DetSim+Digi+Reco+Global.cfg >& output.log
echo "......creating histogram file with this release"
root -b -q MakeHistograms.C\(\"GlobalRecHits.root\",\"GlobalRecHitsHistograms\"\)
echo "......comparing against reference file from previous release"
Expand Down
4 changes: 2 additions & 2 deletions Validation/Mixing/test/testsuite.csh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ while ( $i <= $bcrend )
# execute Mixing Module
/bin/rm /tmp/testsuite1_{$i}_cfg.py >& /dev/null
sed "s/12345/$i/" testsuite1_cfg.py >/tmp/testsuite1_{$i}_cfg.py
cmsRun --parameter-set /tmp/testsuite1_{$i}_cfg.py
cmsRun /tmp/testsuite1_{$i}_cfg.py
# create histos
echo "===================> Step2: executing EDAnalyser (TestSuite) to create histos for bcr $i"
/bin/rm /tmp/testsuite2_{$i}_cfg.py > &/dev/null
sed "s/12345/$i/" testsuite2_cfg.py | sed "s/23456/$bcrstart/" | sed "s/34567/$bcrend/" >/tmp/testsuite2_{$i}_cfg.py
cmsRun --parameter-set /tmp/testsuite2_{$i}_cfg.py
cmsRun /tmp/testsuite2_{$i}_cfg.py
#### cp histos.root ../data/MMValHistos_$i.root # for test preparation only!
echo "===================> Step2a: histogram comparison"
root -b -p -q DoCompare.C\(\"histos\",\"../data/MMValHistos_$i\"\)
Expand Down
2 changes: 1 addition & 1 deletion Validation/Mixing/test/testsuite_SmartPointers.csh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ while ( $i <= $bcrend )
# execute Mixing Module
/bin/rm /tmp/testsuite1_{$i}_cfg.py >& /dev/null
sed "s/12345/$i/" testsuite_SmartPointers_cfg.py | sed "s/23456/$bcrstart/" | sed "s/34567/$bcrend/" >/tmp/testsuite_SmartPointers{$i}_cfg.py
cmsRun --parameter-set /tmp/testsuite_SmartPointers{$i}_cfg.py
cmsRun /tmp/testsuite_SmartPointers{$i}_cfg.py
# create histos
#### cp histos.root ../data/MMValHistos_{$i}.root # for test preparation only!
echo "===================> Step2: histogram comparison"
Expand Down
2 changes: 1 addition & 1 deletion Validation/TrackerHits/test/README
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cmsRun -p runP.cfg
cmsRun runP.cfg
eval `scramv1 ru -csh`

0 comments on commit deb0b28

Please sign in to comment.