Skip to content
Snippets Groups Projects
Commit c9456653 authored by Xiaozhong Huang's avatar Xiaozhong Huang Committed by Adam Edward Barton
Browse files

tauRec: add q221 ART test and standalone ART test in MT mode

parent fafe2b8f
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#
# art-description: q221 reconstruction ART on MC in serial mode
# art-type: grid
# art-include: master/Athena
# art-output: myAOD.pool.root
# art-output: NTUP_PHYSVAL.root
# art-output: rootcomp.root
# art-output: *.log
# art-output: *.ps
# art-output: dcube
# art-html: dcube
NEVENTS=500
REF_DIR="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/tauRec/reference/q221"
# run the reconstruction
Reco_tf.py --maxEvents ${NEVENTS} --AMI q221
echo "art-result: $? Reconstrution"
# compare the AOD file
art.py compare ref --entries 200 --mode semi-detailed --order-trees --diff-root myAOD.pool.root ${REF_DIR}/myAOD.pool.root >> AOD_diff_root.log 2>&1
echo "art-result: $? diff-root"
# run the physics validation
Reco_tf.py --maxEvents ${NEVENTS} --validationFlags 'noExample,doTau' --inputAODFile myAOD.pool.root --outputNTUP_PHYSVALFile NTUP_PHYSVAL.root
echo "art-result: $? PhysVal"
# compare the histograms
rootcomp.py NTUP_PHYSVAL.root ${REF_DIR}/NTUP_PHYSVAL.root >> rootcomp.log 2>&1
echo "art-result: $? rootcomp"
# run dcube
INPUT_DIR="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/tauRec/input"
$ATLAS_LOCAL_ROOT/dcube/current/DCubeClient/python/dcube.py \
--plot --output dcube \
--config ${INPUT_DIR}/config_mc.xml \
--reference ${REF_DIR}/NTUP_PHYSVAL.root \
NTUP_PHYSVAL.root
echo "art-result: $? dcube"
#!/bin/bash #!/bin/bash
# #
# art-description: ART for standalone tau reconstruction # art-description: q431 reconstruction ART on data in serail mode
# art-type: grid # art-type: grid
# art-include: master/Athena # art-include: master/Athena
# art-output: myAOD.pool.root # art-output: myAOD.pool.root
...@@ -15,7 +15,7 @@ NEVENTS=500 ...@@ -15,7 +15,7 @@ NEVENTS=500
REF_DIR="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/tauRec/reference/q431" REF_DIR="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/tauRec/reference/q431"
# run the reconstruction # run the reconstruction
Reco_tf.py --maxEvents=${NEVENTS} --AMI=q431 Reco_tf.py --maxEvents ${NEVENTS} --AMI=q431
echo "art-result: $? Reconstrution" echo "art-result: $? Reconstrution"
# compare the AOD file # compare the AOD file
...@@ -23,7 +23,7 @@ art.py compare ref --entries 200 --mode=semi-detailed --order-trees --diff-root ...@@ -23,7 +23,7 @@ art.py compare ref --entries 200 --mode=semi-detailed --order-trees --diff-root
echo "art-result: $? diff-root" echo "art-result: $? diff-root"
# run the physics validation # run the physics validation
Reco_tf.py --maxEvents=${NEVENTS} --validationFlags 'noExample,doTau' --inputAODFile=myAOD.pool.root --outputNTUP_PHYSVALFile=NTUP_PHYSVAL.root Reco_tf.py --maxEvents ${NEVENTS} --validationFlags 'noExample,doTau' --inputAODFile=myAOD.pool.root --outputNTUP_PHYSVALFile NTUP_PHYSVAL.root
echo "art-result: $? PhysVal" echo "art-result: $? PhysVal"
# compare the histograms # compare the histograms
...@@ -34,7 +34,7 @@ echo "art-result: $? rootcomp" ...@@ -34,7 +34,7 @@ echo "art-result: $? rootcomp"
INPUT_DIR="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/tauRec/input" INPUT_DIR="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/tauRec/input"
$ATLAS_LOCAL_ROOT/dcube/current/DCubeClient/python/dcube.py \ $ATLAS_LOCAL_ROOT/dcube/current/DCubeClient/python/dcube.py \
--plot --output dcube \ --plot --output dcube \
--config ${INPUT_DIR}/config.xml \ --config ${INPUT_DIR}/config_data.xml \
--reference ${REF_DIR}/NTUP_PHYSVAL.root \ --reference ${REF_DIR}/NTUP_PHYSVAL.root \
NTUP_PHYSVAL.root NTUP_PHYSVAL.root
echo "art-result: $? dcube" echo "art-result: $? dcube"
#!/bin/bash
#
# art-description: standalone tau reconstruction ART on MC in multithread mode
# art-type: grid
# art-athena-mt: 8
# art-include: master/Athena
# art-output: *.root
# art-output: *.log
# art-output: *.ps
# art-output: dcube
# art-html: dcube
NEVENTS=1000
REF_DIR="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/tauRec/reference/standalone"
# run the reconstruction
athena.py --threads 4 --evtMax ${NEVENTS} tauRec/tau_standalone_ESDtoAOD.py >> tau_standalone.log 2>&1
echo "art-result: $? Reconstrution"
# compare the AOD file
art.py compare ref --entries ${NEVENTS} --mode semi-detailed --order-trees --diff-root AOD.pool.root ${REF_DIR}/AOD.pool.root >> AOD_diff_root.log 2>&1
echo "art-result: $? diff-root"
# run the physics validation
Reco_tf.py --maxEvents ${NEVENTS} --validationFlags 'noExample,doTau' --inputAODFile AOD.pool.root --outputNTUP_PHYSVALFile NTUP_PHYSVAL.root
echo "art-result: $? PhysVal"
# compare the histograms
rootcomp.py NTUP_PHYSVAL.root ${REF_DIR}/NTUP_PHYSVAL.root >> rootcomp.log 2>&1
echo "art-result: $? rootcomp"
# run dcube
INPUT_DIR="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/tauRec/input"
$ATLAS_LOCAL_ROOT/dcube/current/DCubeClient/python/dcube.py \
--plot --output dcube \
--config ${INPUT_DIR}/config_mc.xml \
--reference ${REF_DIR}/NTUP_PHYSVAL.root \
NTUP_PHYSVAL.root
echo "art-result: $? dcube"
#!/bin/bash #!/bin/bash
# #
# art-description: ART for standalone tau reconstruction # art-description: standalone tau reconstruction on MC in serial mode
# art-type: grid # art-type: grid
# art-include: master/Athena # art-include: master/Athena
# art-output: *.root # art-output: *.root
...@@ -13,15 +13,15 @@ NEVENTS=1000 ...@@ -13,15 +13,15 @@ NEVENTS=1000
REF_DIR="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/tauRec/reference/standalone" REF_DIR="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/tauRec/reference/standalone"
# run the reconstruction # run the reconstruction
athena.py --evtMax=${NEVENTS} tauRec/tau_standalone_ESDtoAOD.py >> tau_standalone.log 2>&1 athena.py --evtMax ${NEVENTS} tauRec/tau_standalone_ESDtoAOD.py >> tau_standalone.log 2>&1
echo "art-result: $? Reconstrution" echo "art-result: $? Reconstrution"
# compare the AOD file # compare the AOD file
art.py compare ref --entries ${NEVENTS} --mode=semi-detailed --order-trees --diff-root AOD.pool.root ${REF_DIR}/AOD.pool.root >> AOD_diff_root.log 2>&1 art.py compare ref --entries ${NEVENTS} --mode semi-detailed --order-trees --diff-root AOD.pool.root ${REF_DIR}/AOD.pool.root >> AOD_diff_root.log 2>&1
echo "art-result: $? diff-root" echo "art-result: $? diff-root"
# run the physics validation # run the physics validation
Reco_tf.py --maxEvents=${NEVENTS} --validationFlags 'noExample,doTau' --inputAODFile=AOD.pool.root --outputNTUP_PHYSVALFile=NTUP_PHYSVAL.root Reco_tf.py --maxEvents ${NEVENTS} --validationFlags 'noExample,doTau' --inputAODFile AOD.pool.root --outputNTUP_PHYSVALFile NTUP_PHYSVAL.root
echo "art-result: $? PhysVal" echo "art-result: $? PhysVal"
# compare the histograms # compare the histograms
...@@ -32,7 +32,7 @@ echo "art-result: $? rootcomp" ...@@ -32,7 +32,7 @@ echo "art-result: $? rootcomp"
INPUT_DIR="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/tauRec/input" INPUT_DIR="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/tauRec/input"
$ATLAS_LOCAL_ROOT/dcube/current/DCubeClient/python/dcube.py \ $ATLAS_LOCAL_ROOT/dcube/current/DCubeClient/python/dcube.py \
--plot --output dcube \ --plot --output dcube \
--config ${INPUT_DIR}/config.xml \ --config ${INPUT_DIR}/config_mc.xml \
--reference ${REF_DIR}/NTUP_PHYSVAL.root \ --reference ${REF_DIR}/NTUP_PHYSVAL.root \
NTUP_PHYSVAL.root NTUP_PHYSVAL.root
echo "art-result: $? dcube" echo "art-result: $? dcube"
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