Skip to content
Snippets Groups Projects
Commit ed2da98d authored by John Derek Chapman's avatar John Derek Chapman
Browse files

Merge branch 'nswArtVal213' into '21.3'

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

See merge request atlas/athena!32959
parents 60534ecc 396bc3c9
No related branches 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
......@@ -42,9 +44,12 @@ fi
#####################################################################
# now use the produced HITS file and run digitisation
# 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 OUT_HITS.root \
--imf False \
--postInclude MuonPRDTest/NSWPRDValAlg.digi.py \
--outputRDOFile OUT_RDO.root &> ${LOG_DIGI}
exit_code=$?
echo "art-result: ${exit_code} Digi_tf.py"
......@@ -61,11 +66,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
......@@ -42,9 +44,12 @@ fi
#####################################################################
# now use the produced HITS file and run digitisation
# 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 OUT_HITS.root \
--imf False \
--postInclude MuonPRDTest/NSWPRDValAlg.digi.py \
--outputRDOFile OUT_RDO.root &> ${LOG_DIGI}
exit_code=$?
echo "art-result: ${exit_code} Digi_tf.py"
......@@ -61,11 +66,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