Do not import from reco_objects_from_file when building HLT2 lines
Several HLT2 lines import upfront_reconstruction
or make_pvs
from the module reco_objects_from_file
. This should not be done and be fixed, as the lines will not work in the real HLT2 like this.
A grep in Hlt2Conf/lines shows the following lines.
~/software/stack/Moore/Hlt/Hlt2Conf/python/Hlt2Conf/lines │ master *5 ?2 rg from_file ✔ │ 18:16:07
pid/DstToD0Pi_D0ToKPi.py
19:from RecoConf.reco_objects_from_file import make_pvs, upfront_reconstruction
pid/KsToPiPi.py
19:from RecoConf.reco_objects_from_file import make_pvs, upfront_reconstruction
pid/DetJpsiMuMuNegTagged.py
20:from RecoConf.reco_objects_from_file import make_pvs, upfront_reconstruction
pid/DetJpsiMuMuPosTagged.py
20:from RecoConf.reco_objects_from_file import make_pvs, upfront_reconstruction
pid/OmegaToLambdaK.py
19:from RecoConf.reco_objects_from_file import make_pvs, upfront_reconstruction
qee/SingleHighPtMuon.py
21:from RecoConf.reco_objects_from_file import upfront_reconstruction
qee/DiBJet.py
18:from RecoConf.reco_objects_from_file import make_pvs, upfront_reconstruction, reconstruction
b_to_charmonia/b_to_jpsix.py
20:from RecoConf.reco_objects_from_file import make_pvs
b_to_charmonia/builders/basic_builder.py
19:from RecoConf.reco_objects_from_file import make_pvs
b_to_charmonia/builders/b_builder.py
22:from RecoConf.reco_objects_from_file import make_pvs
A short explanation why to not do this has been added here: https://lhcbdoc.web.cern.ch/lhcbdoc/moore/master/tutorials/run_with_reconstruction.html
Edited by Sascha Stahl