Skip to content
Snippets Groups Projects
Commit 7f17cea5 authored by Roel Aaij's avatar Roel Aaij Committed by Christina Agapopoulou
Browse files

[Muon decoding] Add test to compare HLT1 and HLT2 muon decoding on 2023 data.

parent 21993aa2
No related branches found
No related tags found
3 merge requests!4232Run5: rebase, restructure run5 code, add back examples,!3190[Muon decoding] Add test to compare HLT1 and HLT2 muon decoding on 2023 data.,!3168Draft: B2OC: add TrackVertexMonitor to the relevant line(s)
......@@ -130,6 +130,7 @@ if(BUILD_TESTING AND NOT USE_DD4HEP)
RecoConf.phoenix_event_data_dump
RecoConf.hlt2_reco_data_2023
RecoConf.hlt1_pvs_with_beamspotmoni_2023
RecoConf.decoding.compare_hlt1_hlt2_muon_decoding_v3geometry_data_2023
PROPERTY
DISABLED TRUE
)
......
......@@ -9,7 +9,7 @@
# or submit itself to any jurisdiction. #
###############################################################################
from PyConf.Algorithms import CompareRecAllenMuonHits
from PyConf.application import configure_input, configure
from PyConf.application import configure_input, configure, make_odin
from PyConf.control_flow import CompositeNode, NodeLogic
from Allen.config import setup_allen_non_event_data_service
from AllenConf.muon_reconstruction import decode_muon
......@@ -22,6 +22,7 @@ allen_muon_hits = decode_muon()
rec_muon_hits = make_muon_hits()
test_hits = CompareRecAllenMuonHits(
ODIN=make_odin(),
muon_offsets=allen_muon_hits["dev_station_ocurrences_offset"],
muon_hits=allen_muon_hits["dev_muon_hits"],
MuonHitsLocation=rec_muon_hits)
......
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<!--
(c) Copyright 2022 CERN for the benefit of the LHCb Collaboration
This software is distributed under the terms of the GNU General Public
Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
In applying this licence, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.
-->
<!--
Make sure HLT1- and HLT2-decoded muon hits correspond for muon v3 geometry
-->
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>gaudirun.py</text></argument>
<argument name="args"><set>
<text>$MOOREROOT/tests/options/mdf_input_and_conds_data_2023.py</text>
<text>$MOOREROOT/options/muon_geometry_v3.py</text>
<text>$RECOCONFROOT/options/compare_hlt1_hlt2_muon_hits.py</text>
</set></argument>
<argument name="use_temp_dir"><enumeral>true</enumeral></argument>
<argument name="validator"><text>
from Moore.qmtest.exclusions import remove_known_warnings
countErrorLines({"FATAL": 0, "ERROR": 0, "WARNING": 0},
stdout=remove_known_warnings(stdout))
</text></argument>
</extension>
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