From ab39901bae395a3442b8dd4fbb72be87ca53e529 Mon Sep 17 00:00:00 2001 From: Nils Erik Krumnack <nils.erik.krumnack@cern.ch> Date: Mon, 7 May 2018 20:55:32 +0000 Subject: [PATCH] Merge branch '21.2-directIO-art-adding-algorithms' into '21.2' Adding test algorithms for AthAnalysis See merge request atlas/athena!11011 (cherry picked from commit d2c19b62b0d02e5a91736fa7f2b9cef57e476483 [formerly 1072b2a353456ed07d7e3ff5ba1a98cb1b3756bd]) d15cd20b Adding test algorithms for AthAnalysis Former-commit-id: 4354446548b48214a1890cb403a875e7d876bd7e --- Control/AthViews/test/ViewCollectionMerge_test.txt | 0 .../share/DirectIOARTAthAnalysisJobOptions.py | 9 +++++++++ .../test/test_directioart_athanalysis_alg_davs.sh | 12 ++++++++++++ .../test/test_directioart_athanalysis_alg_https.sh | 12 ++++++++++++ .../test/test_directioart_athanalysis_alg_root.sh | 12 ++++++++++++ 5 files changed, 45 insertions(+) mode change 100644 => 100755 Control/AthViews/test/ViewCollectionMerge_test.txt create mode 100644 Tools/DirectIOART/share/DirectIOARTAthAnalysisJobOptions.py create mode 100755 Tools/DirectIOART/test/test_directioart_athanalysis_alg_davs.sh create mode 100755 Tools/DirectIOART/test/test_directioart_athanalysis_alg_https.sh create mode 100755 Tools/DirectIOART/test/test_directioart_athanalysis_alg_root.sh diff --git a/Control/AthViews/test/ViewCollectionMerge_test.txt b/Control/AthViews/test/ViewCollectionMerge_test.txt old mode 100644 new mode 100755 diff --git a/Tools/DirectIOART/share/DirectIOARTAthAnalysisJobOptions.py b/Tools/DirectIOART/share/DirectIOARTAthAnalysisJobOptions.py new file mode 100644 index 00000000000..b395390c124 --- /dev/null +++ b/Tools/DirectIOART/share/DirectIOARTAthAnalysisJobOptions.py @@ -0,0 +1,9 @@ +theApp.EvtMax = 1000 +import AthenaRootComps.ReadAthenaxAODHybrid +algseq = CfgMgr.AthSequencer("AthAlgSeq") +algseq += CfgMgr.ParticleSelectionAlg("DirectIOAthAnalysisARTAlg", + OutputLevel = VERBOSE, + InputContainer = "Muons", + OutputContainer = 'MyMuons', + Selection = "Muons.pt > 15.0*GeV" + ) diff --git a/Tools/DirectIOART/test/test_directioart_athanalysis_alg_davs.sh b/Tools/DirectIOART/test/test_directioart_athanalysis_alg_davs.sh new file mode 100755 index 00000000000..c1a47852d8f --- /dev/null +++ b/Tools/DirectIOART/test/test_directioart_athanalysis_alg_davs.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# art-description: DirectIOART AthAnalysis ParticleSelectionAlg protocol=DAVS +# art-type: grid +# art-output: *.pool.root +# art-include: 21.2/AthAnalysis + +set -e + +athena --filesInput="davs://lcg-lrz-http.grid.lrz.de:443/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/mc15_13TeV/ed/68/AOD.05536542._000001.pool.root.1" DirectIOART/DirectIOARTAthAnalysisJobOptions.py + +echo "art-result: $? DirectIOART_AthAnalysis_ParticleSelectionAlg_protocol_DAVS" \ No newline at end of file diff --git a/Tools/DirectIOART/test/test_directioart_athanalysis_alg_https.sh b/Tools/DirectIOART/test/test_directioart_athanalysis_alg_https.sh new file mode 100755 index 00000000000..e1acbab3451 --- /dev/null +++ b/Tools/DirectIOART/test/test_directioart_athanalysis_alg_https.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# art-description: DirectIOART AthAnalysis ParticleSelectionAlg protocol=HTTPS +# art-type: grid +# art-output: *.pool.root +# art-include: 21.2/AthAnalysis + +set -e + +athena --filesInput="https://lcg-lrz-http.grid.lrz.de:443/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/mc15_13TeV/ed/68/AOD.05536542._000001.pool.root.1" DirectIOART/DirectIOARTAthAnalysisJobOptions.py + +echo "art-result: $? DirectIOART_AthAnalysis_ParticleSelectionAlg_protocol_HTTPS" \ No newline at end of file diff --git a/Tools/DirectIOART/test/test_directioart_athanalysis_alg_root.sh b/Tools/DirectIOART/test/test_directioart_athanalysis_alg_root.sh new file mode 100755 index 00000000000..98ba59a3638 --- /dev/null +++ b/Tools/DirectIOART/test/test_directioart_athanalysis_alg_root.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# art-description: DirectIOART AthAnalysis ParticleSelectionAlg protocol=ROOT +# art-type: grid +# art-output: *.pool.root +# art-include: 21.2/AthAnalysis + +set -e + +athena --filesInput="root://lcg-lrz-rootd.grid.lrz.de:1094/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/mc15_13TeV/ed/68/AOD.05536542._000001.pool.root.1" DirectIOART/DirectIOARTAthAnalysisJobOptions.py + +echo "art-result: $? DirectIOART_AthAnalysis_ParticleSelectionAlg_protocol_ROOT" \ No newline at end of file -- GitLab