Skip to content
Snippets Groups Projects
Commit 4d91d59c authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'mhodgkin_addxAODDigest' into 'master'

Add xAODDigest commands to five threads comparison test, to be used for diagnostics.

See merge request atlas/athena!38715
parents 12e8c6d4 e74cafa0
No related branches found
No related tags found
No related merge requests found
...@@ -13,12 +13,14 @@ preExecStringTwo="ESDtoAOD:from RecExConfig.RecFlags import rec;rec.doTrigger.se ...@@ -13,12 +13,14 @@ preExecStringTwo="ESDtoAOD:from RecExConfig.RecFlags import rec;rec.doTrigger.se
mkdir runOne; cd runOne mkdir runOne; cd runOne
Reco_tf.py --athenaopts="--threads=5" --steering "no" --AMI=q431 --preExec "${preExecStringOne}" "${preExecStringTwo}" --outputAODFile=myAOD.pool.root --outputESDFile=myESD.pool.root | tee athenarunOne.log Reco_tf.py --athenaopts="--threads=5" --steering "no" --AMI=q431 --preExec "${preExecStringOne}" "${preExecStringTwo}" --outputAODFile=myAOD.pool.root --outputESDFile=myESD.pool.root | tee athenarunOne.log
rc1=${PIPESTATUS[0]} rc1=${PIPESTATUS[0]}
xAODDigest.py myAOD.pool.root | tee digestOne.log
echo "art-result: $rc1 runOne" echo "art-result: $rc1 runOne"
cd ../ cd ../
mkdir runTwo; cd runTwo mkdir runTwo; cd runTwo
Reco_tf.py --athenaopts="--threads=5" --steering "no" --AMI=q431 --preExec "${preExecStringOne}" "${preExecStringTwo}" --outputAODFile=myAOD.pool.root --outputESDFile=myESD.pool.root | tee athenarunTwo.log Reco_tf.py --athenaopts="--threads=5" --steering "no" --AMI=q431 --preExec "${preExecStringOne}" "${preExecStringTwo}" --outputAODFile=myAOD.pool.root --outputESDFile=myESD.pool.root | tee athenarunTwo.log
rc2=${PIPESTATUS[0]} rc2=${PIPESTATUS[0]}
xAODDigest.py myAOD.pool.root | tee digestTwo.log
echo "art-result: $rc2 runTwo" echo "art-result: $rc2 runTwo"
if [[ $rc1 -eq 0 ]] && [[ $rc2 -eq 0 ]] if [[ $rc1 -eq 0 ]] && [[ $rc2 -eq 0 ]]
...@@ -26,6 +28,7 @@ then ...@@ -26,6 +28,7 @@ then
echo "Compare two directories" echo "Compare two directories"
art.py compare ref --entries 10 --mode=semi-detailed --order-trees --diff-root . ../runOne/ | tee diffFiveThreads.log art.py compare ref --entries 10 --mode=semi-detailed --order-trees --diff-root . ../runOne/ | tee diffFiveThreads.log
rcDiff=${PIPESTATUS[0]} rcDiff=${PIPESTATUS[0]}
diff digestTwo.log ../runOne/digestOne.log | tee digestDiffOneTwo.log
echo "art-result: $rcDiff Diff-Serial-OneThread" echo "art-result: $rcDiff Diff-Serial-OneThread"
fi fi
......
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