Skip to content
Snippets Groups Projects

Change input_raw_version when running Moore in (L)DSTs to 0.5 in documentation

Merged Albert Lopez Huertas requested to merge alopezhu_docDST into master
All threads resolved!
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -77,12 +77,12 @@ This is the data type used to store the output of reconstruction and selection a
The `Writing an HLT2 line <https://lhcbdoc.web.cern.ch/lhcbdoc/moore/master/tutorials/hlt2_line.html>`_ tutorial uses this format as input.
The ``input_type`` should be set to ``ROOT`` and the ``input_raw_format`` depends on the settings of the previous reconstruction step.
The different options are documented at `RawEventFormat <https://gitlab.cern.ch/lhcb-datapkg/RawEventFormat/-/blob/master/python/RawEventFormat/__init__.py>`_.
If the file has been processed by Brunel, it should usually be set to ``4.3``.
If the file has been processed by Brunel (mainly samples produced before 2022), it should usually be set to ``4.3`` (see https://gitlab.cern.ch/lhcb-datapkg/RawEventFormat/blob/master/python/RawEventFormat/__init__.py for more information).
In summary, the following lines have to be added to your script if your input file is a (L)DST::
from Moore import options
options.input_type = "ROOT"
options.input_raw_format = 4.3
options.input_raw_format = 0.5 #must be set to 4.3 if old sample processed by Brunel
An example of how to run on LDST is also given by the test `RecoConf.hlt2_reco_test_ldst_input`.
You can execute it with::
Loading