Skip to content
Snippets Groups Projects

ACTS ART tests with 1 and 10 GeV muons

Merged Carlo Varni requested to merge cvarni/athena:ArtTests_1_10_GeVMuons into main
All threads resolved!
Files
3
@@ -10,6 +10,7 @@
lastref_dir=last_results
dcubeXml=dcube_IDPVMPlots_ACTS_CKF_ITk.xml
rdo_23p0=/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/PhaseIIUpgrade/RDO/ATLAS-P2-RUN4-01-01-00/mc21_14TeV.900498.PG_single_muonpm_Pt100_etaFlatnp0_43.recon.RDO.e8481_s4038_r14362/RDO.32628466._000005.pool.root.1
nEvents=1000
# search in $DATAPATH for matching file
dcubeXmlAbsPath=$(find -H ${DATAPATH//:/ } -mindepth 1 -maxdepth 1 -name $dcubeXml -print -quit 2>/dev/null)
@@ -26,17 +27,21 @@ run () {
echo "Running ${name}..."
time ${cmd}
rc=$?
# Only report hard failures for comparison Acts-Trk since we know
# they are different. We do not expect this test to succeed
[ "${name}" = "dcube-ckf-ambi" ] && [ $rc -ne 255 ] && rc=0
echo "art-result: $rc ${name}"
return $rc
}
# Run w/o ambi. resolution
run "Reconstruction" \
Reco_tf.py --CA \
--steering doRAWtoALL \
--preInclude "InDetConfig.ConfigurationHelpers.OnlyTrackingPreInclude,ActsConfig.ActsCIFlags.actsValidateTracksFlags" \
--inputRDOFile ${rdo_23p0} \
--outputAODFile AOD.root \
--maxEvents 1000
--outputAODFile AOD.ckf.root \
--maxEvents ${nEvents}
reco_rc=$?
if [ $reco_rc != 0 ]; then
@@ -45,8 +50,32 @@ fi
run "IDPVM" \
runIDPVM.py \
--filesInput AOD.root \
--outputFile idpvm.root
--filesInput AOD.ckf.root \
--outputFile idpvm.ckf.root
reco_rc=$?
if [ $reco_rc != 0 ]; then
exit $reco_rc
fi
# Run w/ ambi. resolution
run "Reconstruction" \
Reco_tf.py --CA \
--steering doRAWtoALL \
--preInclude "InDetConfig.ConfigurationHelpers.OnlyTrackingPreInclude,ActsConfig.ActsCIFlags.actsValidateAmbiguityResolutionFlags" \
--inputRDOFile ${rdo_23p0} \
--outputAODFile AOD.ambi.root \
--maxEvents ${nEvents}
reco_rc=$?
if [ $reco_rc != 0 ]; then
exit $reco_rc
fi
run "IDPVM" \
runIDPVM.py \
--filesInput AOD.ambi.root \
--outputFile idpvm.ambi.root
reco_rc=$?
if [ $reco_rc != 0 ]; then
@@ -57,9 +86,24 @@ echo "download latest result..."
art.py download --user=artprod --dst="$lastref_dir" "$ArtPackage" "$ArtJobName"
ls -la "$lastref_dir"
run "dcube-last" \
run "dcube-ckf-last" \
$ATLAS_LOCAL_ROOT/dcube/current/DCubeClient/python/dcube.py \
-p -x dcube_ckf_last \
-c ${dcubeXmlAbsPath} \
-r ${lastref_dir}/idpvm.ckf.root \
idpvm.ckf.root
run "dcube-ambi-last" \
$ATLAS_LOCAL_ROOT/dcube/current/DCubeClient/python/dcube.py \
-p -x dcube_ambi_last \
-c ${dcubeXmlAbsPath} \
-r ${lastref_dir}/idpvm.ambi.root \
idpvm.ambi.root
# Compare performance w/ and w/o ambi. resolution
run "dcube-ckf-ambi" \
$ATLAS_LOCAL_ROOT/dcube/current/DCubeClient/python/dcube.py \
-p -x dcube_last \
-p -x dcube_ckf_ambi \
-c ${dcubeXmlAbsPath} \
-r ${lastref_dir}/idpvm.root \
idpvm.root
-r idpvm.ckf.root \
idpvm.ambi.root
Loading