Skip to content
Snippets Groups Projects
Commit 64d10d48 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'nswArtVal' into 'master'

Add NSWPRDValAlg to NSW ART tests for producing ntuples for a later comparison

See merge request atlas/athena!32956
parents 1ac0faa4 06039fd3
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,9 @@
# art-include: 21.9/Athena
# art-output: OUT_HITS.root
# art-output: OUT_RDO.root
# art-output: NSWPRDValAlg.digi.ntuple.root
# art-output: OUT_ESD.root
# art-output: NSWPRDValAlg.reco.ntuple.root
#####################################################################
# run simulation on 25 events using the asymmetric Run3 layout
......@@ -36,9 +38,12 @@ echo "Found ${NWARNING} WARNING, ${NERROR} ERROR and ${NFATAL} FATAL messages in
# now use the produced HITS file and run digitisation
# (since the 21.X and master branches use a different Geant4 version, we use the HITS file produced in 21.X
# to avoid tiny differences in the number of secondary particles and hit positions and start from the same HITS file)
# the postInclude adds a validation algorithm which writes out an ntuple for digit/RDO validation
# (without the postInclude, a standard digitisation job would run)
LOG_DIGI="log_Run3_asymmetric_digi.log"
Digi_tf.py --inputHITSFile /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/MuonRecRTT/Run3/HITS/AsymmetricLayout_HITS_v1.root \
--imf False \
--postInclude MuonPRDTest/NSWPRDValAlg.digi.py \
--outputRDOFile OUT_RDO.root &> ${LOG_DIGI}
exit_code=$?
echo "art-result: ${exit_code} Digi_tf.py"
......@@ -55,11 +60,14 @@ echo "Found ${NWARNING} WARNING, ${NERROR} ERROR and ${NFATAL} FATAL messages in
#####################################################################
# now use the produced RDO file and run reconstruction
# the postInclude adds a validation algorithm which writes out an ntuple for digit/RDO/PRD validation
# (without the postInclude, a standard reconstruction job would run)
LOG_RECO="log_Run3_asymmetric_reco.log"
Reco_tf.py --inputRDOFile OUT_RDO.root \
--preExec "from MuonRecExample.MuonRecFlags import muonRecFlags;muonRecFlags.setDefaults();muonRecFlags.doFastDigitization=False;muonRecFlags.useLooseErrorTuning.set_Value_and_Lock(True);from RecExConfig.RecFlags import rec;rec.doTrigger=False;rec.doEgamma=True;rec.doLucid=True;rec.doZdc=True;rec.doJetMissingETTag=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"
......
......@@ -8,7 +8,9 @@
# art-include: 21.9/Athena
# art-output: OUT_HITS.root
# art-output: OUT_RDO.root
# art-output: NSWPRDValAlg.digi.ntuple.root
# art-output: OUT_ESD.root
# art-output: NSWPRDValAlg.reco.ntuple.root
#####################################################################
# run simulation on 25 events using the symmetric Run3 layout
......@@ -36,9 +38,12 @@ echo "Found ${NWARNING} WARNING, ${NERROR} ERROR and ${NFATAL} FATAL messages in
# now use the produced HITS file and run digitisation
# (since the 21.X and master branches use a different Geant4 version, we use the HITS file produced in 21.X
# to avoid tiny differences in the number of secondary particles and hit positions and start from the same HITS file)
# the postInclude adds a validation algorithm which writes out an ntuple for digit/RDO validation
# (without the postInclude, a standard digitisation job would run)
LOG_DIGI="log_Run3_symmetric_digi.log"
Digi_tf.py --inputHITSFile /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/MuonRecRTT/Run3/HITS/SymmetricLayout_HITS_v1.root \
--imf False \
--postInclude MuonPRDTest/NSWPRDValAlg.digi.py \
--outputRDOFile OUT_RDO.root &> ${LOG_DIGI}
exit_code=$?
echo "art-result: ${exit_code} Digi_tf.py"
......@@ -55,11 +60,14 @@ echo "Found ${NWARNING} WARNING, ${NERROR} ERROR and ${NFATAL} FATAL messages in
#####################################################################
# now use the produced RDO file and run reconstruction
# the postInclude adds a validation algorithm which writes out an ntuple for digit/RDO/PRD validation
# (without the postInclude, a standard reconstruction job would run)
LOG_RECO="log_Run3_symmetric_reco.log"
Reco_tf.py --inputRDOFile OUT_RDO.root \
--preExec "from MuonRecExample.MuonRecFlags import muonRecFlags;muonRecFlags.setDefaults();muonRecFlags.doFastDigitization=False;muonRecFlags.useLooseErrorTuning.set_Value_and_Lock(True);from RecExConfig.RecFlags import rec;rec.doTrigger=False;rec.doEgamma=True;rec.doLucid=True;rec.doZdc=True;rec.doJetMissingETTag=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"
......
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