From b2d283a1ebc50ae755560688e2d4b3b5a74abefb Mon Sep 17 00:00:00 2001 From: Albert Lopez Huertas <albert.lopez.huertas@cern.ch> Date: Wed, 13 Dec 2023 13:13:29 +0100 Subject: [PATCH] Clean code --- .../tests/options/test_bremsstrahlung.py | 31 ++----------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/Hlt/Hlt2Conf/tests/options/test_bremsstrahlung.py b/Hlt/Hlt2Conf/tests/options/test_bremsstrahlung.py index daeb3c53a5c..35f8167b8ed 100644 --- a/Hlt/Hlt2Conf/tests/options/test_bremsstrahlung.py +++ b/Hlt/Hlt2Conf/tests/options/test_bremsstrahlung.py @@ -190,44 +190,20 @@ make_VeloClusterTrackingSIMD.global_bind( make_velo_full_clusters.global_bind( make_full_cluster=VPRetinaFullClusterDecoder) -# This is needed for Muon decoding v3 -#make_muon_hits_hlt2.global_bind(geometry_version=3) -#make_muon_hits_hlt1.global_bind(geometry_version=3) - -# To be removed once data is updated to use a tag including -# https://gitlab.cern.ch/lhcb-conddb/DDDB/-/merge_requests/107 -from DDDB.CheckDD4Hep import UseDD4Hep -if UseDD4Hep: - from Configurables import DDDBConf - DDDBConf().GeometryVersion = 'before-rich1-geom-update-26052022' - from RecoConf.calorimeter_reconstruction import make_digits -#make_digits.global_bind(calo_raw_bank=True) - -# input -#options.set_input_and_conds_from_testfiledb('upgrade_B2JpsiK_ee_MU') - - options.input_files = [ - #'root://x509up_u137380@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Dev/DIGI/00185029/0000/00185029_00000005_1.digi', - #'root://x509up_u137380@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Dev/DIGI/00185029/0000/00185029_00000008_1.digi', 'root://x509up_u137380@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Dev/DIGI/00205665/0000/00205665_00000051_1.digi' - #'root://x509up_u137380@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/DIGI/00146551/0000/00146551_00000003_1.digi' ] -#options.dddb_tag = 'dddb-20230313' -#options.conddb_tag = 'sim-20230322-vc-md100' options.dddb_tag = 'dddb-20231017' options.conddb_tag = 'sim-20231017-vc-md100' -#options.geometry_version = 'before-rich1-geom-update-26052022' -options.geometry_version = 'trunk' -#options.conditions_version = 'jonrob/all-pmts-active' +options.geometry_version = 'run3/trunk' options.conditions_version = 'master' + options.simulation = True options.data_type = "Upgrade" - options.input_type = 'ROOT' options.evt_max = 1000 @@ -238,8 +214,7 @@ options.histo_file = 'histofile_B2JpsiK.root' # run with reconstruction.bind(from_file=False),\ - make_light_reconstruction.bind(usePatPVFuture=True): #xd (no fa res) - #hlt2_reconstruction.bind(): + make_light_reconstruction.bind(usePatPVFuture=True): run_moore( options, all_lines, -- GitLab