Skip to content
Snippets Groups Projects
Commit 0b14fee0 authored by Rafal Bielski's avatar Rafal Bielski :wave:
Browse files

add RDOtoRDOTrigger ART tests

parent 24da9f0d
No related branches found
No related tags found
Loading
#!/bin/bash
# art-description: Test of the RDOtoRDOTrigger transform with serial athena (legacy trigger)
# art-type: build
# art-include: master/Athena
# art-output: log.*
# art-output: *.log
# art-output: *.txt
# art-output: *.root
# art-output: runargs.*
# art-output: runwrapper.*
export NAME="trigAna_q221_RDOtoRDOTrig_build"
export TEST="TrigAnalysisTest"
export INPUT="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/TriggerTest/valid1.410000.PowhegPythiaEvtGen_P2012_ttbar_hdamp172p5_nonallhad.merge.RDO.e4993_s3214_r11315/RDO.17533168._000001.pool.root.1"
export EVENTS=20
export JOB_LOG="athena.log"
export AODTOCHECK="RDO_TRIG.pool.root" # to run checkFile and checkxAOD on this
echo "Running Reco_tf command:"
(set -x
Reco_tf.py \
--AMI=q221 \
--imf=True \
--maxEvents=${EVENTS} \
--inputRDOFile=${INPUT} \
--outputRDO_TRIGFile=RDO_TRIG.pool.root \
>${JOB_LOG} 2>&1
) 2>&1
export ATH_RETURN=$?
echo "art-result: ${ATH_RETURN} ${JOB_LOG%.*}"
# use TrigUpgradeTest post-processing script
source exec_TrigUpgradeTest_art_post.sh
#!/bin/bash
# art-description: Test of the RDOtoRDOTrigger transform with threads=1
# art-type: build
# art-include: master/Athena
# art-output: log.*
# art-output: *.log
# art-output: *.txt
# art-output: *.root
# art-output: runargs.*
# art-output: runwrapper.*
export NAME="trigAna_q221_RDOtoRDOTrig_build"
export TEST="TrigAnalysisTest"
export INPUT="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/TriggerTest/valid1.410000.PowhegPythiaEvtGen_P2012_ttbar_hdamp172p5_nonallhad.merge.RDO.e4993_s3214_r11315/RDO.17533168._000001.pool.root.1"
export EVENTS=20
export THREADS=1
export JOB_LOG="athena.log"
export AODTOCHECK="RDO_TRIG.pool.root" # to run checkFile and checkxAOD on this
echo "Running Reco_tf command:"
(set -x
Reco_tf.py \
--AMI=q221 \
--imf=True \
--athenaopts="--threads=${THREADS}" \
--maxEvents=${EVENTS} \
--inputRDOFile=${INPUT} \
--outputRDO_TRIGFile=RDO_TRIG.pool.root \
>${JOB_LOG} 2>&1
) 2>&1
export ATH_RETURN=$?
echo "art-result: ${ATH_RETURN} ${JOB_LOG%.*}"
# use TrigUpgradeTest post-processing script
source exec_TrigUpgradeTest_art_post.sh
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