Skip to content
Snippets Groups Projects
Commit 023e4a67 authored by Christopher Rob Jones's avatar Christopher Rob Jones
Browse files

Merge branch 'rich-detectors-add-2023-2024-decode-tests' into '2024-patches'

RichDetectors: Add 2023/2024 decoding tests

See merge request lhcb/LHCb!4616
parents 2c651ab9 2c16de28
No related branches found
No related tags found
2 merge requests!4616RichDetectors: Add 2023/2024 decoding tests,!4597Synchronize master branch with 2024-patches
Pipeline #7600955 passed
from __future__ import print_function
###############################################################################
# (c) Copyright 2000-2018 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. #
###############################################################################
from Gaudi.Configuration import *
from GaudiConf import IOHelper
from Configurables import LHCbApp, DDDBConf
from DDDB.CheckDD4Hep import UseDD4Hep
data = [
"mdf:root://eoslhcb.cern.ch//eos/lhcb/user/j/jonrob/data/data/RunIII/Hlt2/LHCb/RefIndexCalib/2023/data-0010.mdf"
]
IOHelper('MDF').inputFiles(data, clear=True)
LHCbApp().Simulation = True
LHCbApp().DataType = "Upgrade"
if not UseDD4Hep:
from Configurables import CondDB
CondDB().setProp("Upgrade", True)
LHCbApp().DDDBtag = "upgrade/master"
LHCbApp().CondDBtag = "upgrade/master"
from __future__ import print_function
###############################################################################
# (c) Copyright 2000-2018 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. #
###############################################################################
from Gaudi.Configuration import *
from GaudiConf import IOHelper
from Configurables import LHCbApp, DDDBConf
from DDDB.CheckDD4Hep import UseDD4Hep
data = [
"mdf:root://eoslhcb.cern.ch//eos/lhcb/user/j/jonrob/data/data/RunIII/Hlt2/LHCb/RefIndexCalib/2024/data-0002.mdf"
]
IOHelper('MDF').inputFiles(data, clear=True)
LHCbApp().Simulation = True
LHCbApp().DataType = "Upgrade"
if not UseDD4Hep:
from Configurables import CondDB
CondDB().setProp("Upgrade", True)
LHCbApp().DDDBtag = "upgrade/master"
LHCbApp().CondDBtag = "upgrade/master"
<?xml version="1.0" ?><!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<!--
(c) Copyright 2000-2018 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.
-->
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>gaudirun.py</text></argument>
<argument name="timeout"><integer>600</integer></argument>
<argument name="args"><set>
<text>$RICHDETECTORSROOT/tests/options/decode-and-spacepoints.py</text>
<text>$RICHDETECTORSROOT/tests/options/2023-data.py</text>
</set></argument>
<argument name="reference"><text>../refs/decode-and-spacepoints-2023-data.ref</text></argument>
<argument name="error_reference"><text>../refs/empty.ref</text></argument>
<argument name="validator"><text>
from GaudiConf.QMTest.LHCbExclusions import preprocessor
validateWithReference(preproc = preprocessor)
</text></argument>
</extension>
<?xml version="1.0" ?><!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<!--
(c) Copyright 2000-2018 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.
-->
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>gaudirun.py</text></argument>
<argument name="timeout"><integer>600</integer></argument>
<argument name="args"><set>
<text>$RICHDETECTORSROOT/tests/options/decode-and-spacepoints.py</text>
<text>$RICHDETECTORSROOT/tests/options/2024-data.py</text>
</set></argument>
<argument name="reference"><text>../refs/decode-and-spacepoints-2024-data.ref</text></argument>
<argument name="error_reference"><text>../refs/empty.ref</text></argument>
<argument name="validator"><text>
from GaudiConf.QMTest.LHCbExclusions import preprocessor
validateWithReference(preproc = preprocessor)
</text></argument>
</extension>
This diff is collapsed.
This diff is collapsed.
source diff could not be displayed: it is too large. Options to address this: view the blob.
source diff could not be displayed: it is too large. Options to address this: view the blob.
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