Skip to content
Snippets Groups Projects
Commit 81e367b3 authored by amathad's avatar amathad
Browse files

few fixes

parent 01d3ff66
No related branches found
No related tags found
1 merge request!731Make "process" a required input and configure pyconf functions globally once with user input
Pipeline #4593243 failed
This commit is part of merge request !731. Comments created here will be created in the context of that merge request.
......@@ -30,7 +30,7 @@ from DaVinci import Options, make_config
# Definition of strucing line
#
bd2dsk_line = "SpruceB2OC_BdToDsmK_DsmToHHH_FEST_Line"
bd2dsk_data = get_particles(f"/Event/Spruce/{bd2dsk_line}/Particles", "Spruce")
bd2dsk_data = get_particles(f"/Event/Spruce/{bd2dsk_line}/Particles")
_basic = 'basic'
_composite = 'composite'
......@@ -259,7 +259,7 @@ def alg_config(options: Options):
#
# DecayTreeFitter Algorithm
#
v2_pvs = get_pvs(options.process)
v2_pvs = get_pvs()
#
# DecayTreeFitter Algorithm
......
......@@ -27,8 +27,8 @@ def main(options: Options):
# PP2MCP relations need MC particles and ProtoParticles
# Since MC is already unpacked, only unpack protos and relations
extra_inputs = []
extra_inputs += [get_charged_protoparticles(options.process)]
extra_inputs += [get_neutral_protoparticles(options.process)]
extra_inputs += [get_charged_protoparticles()]
extra_inputs += [get_neutral_protoparticles()]
relations = [
get_pp2mcp_relations(
......
......@@ -33,7 +33,7 @@ def main(options: Options):
#get RecSummary object that holds information about nPVs, nTracks, nFTClusters
# Note more information can be added to the RecSummary object
# (see MRs: https://gitlab.cern.ch/lhcb/Moore/-/merge_requests/1649)
rec_summary = get_rec_summary(options.process)
rec_summary = get_rec_summary()
evt_vars = FC({
'nTracks': F.VALUE_OR(-1) @ F.NTRACKS(rec_summary),
'nPVs': F.VALUE_OR(-1) @ F.NPVS(rec_summary),
......
......@@ -50,7 +50,6 @@ def add_filter(name, code):
Adding an event pre-filter using a code defined by the user.
Args:
options (class Options): lbexec provided options object
name (str): filter's name.
code (str): filter's code.
......
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