diff --git a/Reconstruction/Jet/JetValidation/test/test_jet.sh b/Reconstruction/Jet/JetValidation/test/test_jet.sh index e564d623c95fcce5499a5ebe1df22137a81e27d9..9df2eb1d6820962d5119bab02ac7de11c8b34ac5 100755 --- a/Reconstruction/Jet/JetValidation/test/test_jet.sh +++ b/Reconstruction/Jet/JetValidation/test/test_jet.sh @@ -2,7 +2,10 @@ # art-description: ART test job HITS to AOD # art-type: grid # art-include: master/Athena +# art-memory: 4096 # art-output: *.root +# art-output: dcube +# art-html: dcube ART_PATH="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/Tier0ChainTests/" ART_FILE="mc16_13TeV.410470.PhPy8EG_A14_ttbar_hdamp258p75_nonallhad.simul.HITS.e6337_s3126/HITS.12860054._032508.pool.root.1" @@ -25,8 +28,23 @@ Reco_tf.py \ --inputHITSFile=${HITSFile} \ --outputAODFile=${ART_AOD} \ --outputNTUP_PHYSVALFile ${ART_Validation} \ - --validationFlags noExample \ + --valid=True \ + --validationFlags 'doInDet,doJet' \ --autoConfiguration everything \ --preExec 'from RecExConfig.RecFlags import rec;rec.doTrigger=False' -echo "art-result: $? Reco" +rc=$? +echo "art-result: $rc Reco" + +rc2=-9999 +if [ ${rc} -eq 0 ] +then + # Histogram comparison with DCube + $ATLAS_LOCAL_ROOT/dcube/current/DCubeClient/python/dcube.py \ + -p -x dcube \ + -c /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/JetValidation/DCUBE/jet.xml \ + -r /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/JetValidation/reference/nightly_jet.PHYSVAL.root \ + nightly_jet.PHYSVAL.root + rc2=$? +fi +echo "art-result: ${rc2} plot" diff --git a/Reconstruction/Jet/JetValidation/test/test_jet_noPtCut.sh b/Reconstruction/Jet/JetValidation/test/test_jet_noPtCut.sh new file mode 100755 index 0000000000000000000000000000000000000000..9be572f487cd510e74995c4a62897fb87e9b20e8 --- /dev/null +++ b/Reconstruction/Jet/JetValidation/test/test_jet_noPtCut.sh @@ -0,0 +1,50 @@ +#!/bin/sh +# art-description: ART test job HITS to AOD +# art-type: grid +# art-include: master/Athena +# art-memory: 4096 +# art-output: *.root +# art-output: dcube +# art-html: dcube + +ART_PATH="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/Tier0ChainTests/" +ART_FILE="mc16_13TeV.410470.PhPy8EG_A14_ttbar_hdamp258p75_nonallhad.simul.HITS.e6337_s3126/HITS.12860054._032508.pool.root.1" +HITSFile="${ART_PATH}${ART_FILE}" +echo "Input HITS file for : ${HITSFile}" + +Nevents=3000 +echo "Number of test events : ${Nevents}" + +ART_AOD="nightly_jet_noPtCut.AOD.pool.root" +echo "Output AOD file : ${ART_AOD}" + +ART_Validation="nightly_jet_noPtCut.PHYSVAL.root" +echo "Output Validation file : ${ART_Validation}" + +echo "Submitting Reconstruction ..." + +Reco_tf.py \ + --maxEvents -1 \ + --inputHITSFile=${HITSFile} \ + --outputAODFile=${ART_AOD} \ + --outputNTUP_PHYSVALFile ${ART_Validation} \ + --valid=True \ + --validationFlags 'doInDet,doJet' \ + --autoConfiguration everything \ + --preExec 'from RecExConfig.RecFlags import rec;rec.doTrigger=False; from JetRec.JetRecFlags import jetFlags; jetFlags.useCalibJetThreshold.set_Value_and_Lock(False)' + +rc=$? +echo "art-result: $rc Reco" + +rc2=-9999 +if [ ${rc} -eq 0 ] +then + # Histogram comparison with DCube + $ATLAS_LOCAL_ROOT/dcube/current/DCubeClient/python/dcube.py \ + -p -x dcube \ + -c /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/JetValidation/DCUBE/jet.xml \ + -r /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/JetValidation/reference/nightly_jet_noPtCut.PHYSVAL.root \ + nightly_jet_noPtCut.PHYSVAL.root + rc2=$? +fi +echo "art-result: ${rc2} plot" diff --git a/Reconstruction/Jet/JetValidation/test/test_met.sh b/Reconstruction/Jet/JetValidation/test/test_met.sh new file mode 100755 index 0000000000000000000000000000000000000000..d6b768fe9e1803c3ad4c85b038acc239d28259cd --- /dev/null +++ b/Reconstruction/Jet/JetValidation/test/test_met.sh @@ -0,0 +1,50 @@ +#!/bin/sh +# art-description: ART test job HITS to AOD +# art-type: grid +# art-include: master/Athena +# art-memory: 4096 +# art-output: *.root +# art-output: dcube +# art-html: dcube + +ART_PATH="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/Tier0ChainTests/" +ART_FILE="mc16_13TeV.410470.PhPy8EG_A14_ttbar_hdamp258p75_nonallhad.simul.HITS.e6337_s3126/HITS.12860054._032508.pool.root.1" +HITSFile="${ART_PATH}${ART_FILE}" +echo "Input HITS file for : ${HITSFile}" + +Nevents=3000 +echo "Number of test events : ${Nevents}" + +ART_AOD="nightly_met.AOD.pool.root" +echo "Output AOD file : ${ART_AOD}" + +ART_Validation="nightly_met.PHYSVAL.root" +echo "Output Validation file : ${ART_Validation}" + +echo "Submitting Reconstruction ..." + +Reco_tf.py \ + --maxEvents -1 \ + --inputHITSFile=${HITSFile} \ + --outputAODFile=${ART_AOD} \ + --outputNTUP_PHYSVALFile ${ART_Validation} \ + --valid=True \ + --validationFlags 'doInDet,doMET' \ + --autoConfiguration everything \ + --preExec 'from RecExConfig.RecFlags import rec;rec.doTrigger=False' + +rc=$? +echo "art-result: $rc Reco" + +rc2=-9999 +if [ ${rc} -eq 0 ] +then + # Histogram comparison with DCube + $ATLAS_LOCAL_ROOT/dcube/current/DCubeClient/python/dcube.py \ + -p -x dcube \ + -c /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/JetValidation/DCUBE/met.xml \ + -r /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/JetValidation/reference/nightly_met.PHYSVAL.root \ + nightly_met.PHYSVAL.root + rc2=$? +fi +echo "art-result: ${rc2} plot"