Commit 0b1a193f authored by Marian Stahl's avatar Marian Stahl
Browse files

for large scale tuple production on sleepy

parent 9a164c00
Pipeline #3374923 failed with stages
in 1 minute and 26 seconds
###############################################################################
# (c) Copyright 2019 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 Moore import options
from RecoConf.hlt1_tracking import default_ft_decoding_version
default_ft_decoding_version.global_bind(value=6)
options.dddb_tag = "dddb-20210218"
options.conddb_tag = "sim-20201218-vc-md100"
options.evt_max = -1
options.print_freq = 100
#options.output_level = DEBUG
options.input_type = 'ROOT'
options.event_store = 'HiveWhiteBoard'
options.use_iosvc = False
###############################################################################
# (c) Copyright 2019 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 Moore import options
from RecoConf.hlt1_tracking import default_ft_decoding_version
default_ft_decoding_version.global_bind(value=6)
options.dddb_tag = "dddb-20210218"
options.conddb_tag = "sim-20201218-vc-mu100"
options.evt_max = -1
options.print_freq = 100
#options.output_level = DEBUG
options.input_type = 'ROOT'
options.event_store = 'HiveWhiteBoard'
options.use_iosvc = False
......@@ -10,5 +10,7 @@
###############################################################################
from Moore import options, run_reconstruction
from RecoConf.standalone import standalone_PV_reco
from RecoConf.hlt1_tracking import (global_ouput_name, global_model_name)
run_reconstruction(options, standalone_PV_reco)
with global_ouput_name.bind(name=options.output_file), global_model_name.bind(name="/share/lazy/pv-finder/TorchScript_FourFeature_CNN7LayerPlus_TargetsAA_Next200epochs_160K_lr_3em4_bs256_Alt_Loss_A_3p0_aws.pt"):
run_reconstruction(options, standalone_PV_reco)
......@@ -226,6 +226,14 @@ def make_CNNVertexFinder_pvs(velo_tracks):
"""
return CNNVertexFinder(TracksLocation=velo_tracks["v2"]).OutputVertices
@configurable
def global_ouput_name(name="bla.root"):
return name
@configurable
def global_model_name(name="bla.pt"):
return name
def make_PVFinder_pvs(velo_tracks):
"""Makes primary vertices from velo tracks using PVFinder.
......@@ -237,6 +245,8 @@ def make_PVFinder_pvs(velo_tracks):
"""
locdict=mc_unpackers()
return PVFinder(TracksLocation=velo_tracks["v2"],
DumpOutputName=global_ouput_name(),
ModelName=global_model_name(),
MCHitsInput=locdict["MCVPHits"],
MCParticleInput=locdict["MCParticles"],
MCVerticesInput=locdict["MCVertices"],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment