Skip to content
Snippets Groups Projects
Commit ed4f08c2 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'cherry-pick-8ef0056848-master' into 'master'

Sweeping !34320 from 21.3 to master.
Add Run3 reco NSW performance test

See merge request atlas/athena!34380
parents 091d4e32 2c1c25f5
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
#
# art-description: Test the symmetric Run3 layout in reconstruction
#
# art-type: grid
# art-include: master/Athena
# art-include: 21.3/Athena
# art-include: 21.9/Athena
# art-output: trkPerformance_MuonSpectrometerTracks.txt
# art-output: trkPerformance_ExtrapolatedMuonTracks.txt
# art-output: trkPerformance_MSOnlyExtrapolatedMuonTracks.txt
# art-output: trkPerformance_CombinedMuonTracks.txt
# art-output: log.RAWtoESD
# art-output: warningCount.txt
# art-output: NSWRecoCheck.txt
# art-output: NSWPRDValAlg.reco.ntuple.root
#####################################################################
# run reconstruction on 1000 di-muon events (1.3<|eta|<2.7) using the symmetric Run3 layout
LOG_RECO="log_Run3_symmetric_reco.log"
Reco_tf.py --inputRDOFile /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/MuonRecRTT/Run3/RDO/SymmetricLayout_RDO_v1.root \
--preExec "from MuonRecExample.MuonRecFlags import muonRecFlags;muonRecFlags.setDefaults();muonRecFlags.doFastDigitization=False;muonRecFlags.useLooseErrorTuning.set_Value_and_Lock(True);muonRecFlags.doTrackPerformance=True;muonRecFlags.TrackPerfSummaryLevel=2;muonRecFlags.TrackPerfDebugLevel=5;from RecExConfig.RecFlags import rec;rec.doTrigger=False;rec.doEgamma=True;rec.doLucid=True;rec.doZdc=True;rec.doJetMissingETTag=True;from MuonRecExample.MuonStandaloneFlags import muonStandaloneFlags;muonStandaloneFlags.printSummary=True;" \
--autoConfiguration everything \
--imf False \
--postInclude MuonPRDTest/NSWPRDValAlg.reco.py \
--outputESDFile OUT_ESD.root &> ${LOG_RECO}
exit_code=$?
echo "art-result: ${exit_code} Reco_tf.py"
if [ ${exit_code} -ne 0 ]
then
exit ${exit_code}
fi
# check the log file for WARNING/ERROR/FATAL
NWARNING="$(cat ${LOG_RECO} | grep WARNING | wc -l)"
NERROR="$(cat ${LOG_RECO} | grep ERROR | wc -l)"
NFATAL="$(cat ${LOG_RECO} | grep FATAL | wc -l)"
echo "Found ${NWARNING} WARNING, ${NERROR} ERROR and ${NFATAL} FATAL messages in ${LOG_RECO}" > warningCount.txt
#####################################################################
# check the NSW validation ntuple
python $Athena_DIR/bin/checkNSWValTree.py -i NSWPRDValAlg.reco.ntuple.root --checkPRD &> NSWRecoCheck.txt
exit_code=$?
echo "art-result: ${exit_code} NSWRecoCheck"
if [ ${exit_code} -ne 0 ]
then
exit ${exit_code}
fi
#####################################################################
echo "art-result: $?"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment