Skip to content
Snippets Groups Projects
Commit 5ba669a0 authored by Gitlab CI's avatar Gitlab CI Committed by amathad
Browse files

Fixed formatting

patch generated by https://gitlab.cern.ch/lhcb/Analysis/-/jobs/12437619
parent 7fc979e7
No related branches found
No related tags found
1 merge request!767proof-of-concept for a new tupling algorithm
Pipeline #2363320 passed
......@@ -19,18 +19,18 @@ from GaudiKernel.Configurable import ConfigurableGeneric as RFileCnv
from Configurables import CondDB
from Configurables import MakeData
from Configurables import FunTuple
""" Define helpful class and function
class ParticleTupleProp:
A class that one can configure with branch_name, decay descriptor and functors.
class ParticleTupleProp:
A class that one can configure with branch_name, decay descriptor and functors.
Function convert_to_parsable_objs:
Since ParticleTupleProp cannot currently be passed as Gaudi::Property, define
Function convert_to_parsable_objs:
Since ParticleTupleProp cannot currently be passed as Gaudi::Property, define
this function to turn member variables into parsable_objs for FunTuple
"""
class ParticleTupleProp:
def __init__(self, branch_name, decay_descriptor, particle_code):
"""
......@@ -67,6 +67,7 @@ def convert_to_parsable_objs(particle_tuple_props):
return branch_list, discrp_list, func_list, func_bnamelist, func_rtypelist
#Configure LHCb application
app = LHCbApp()
app.DataType = "Upgrade"
......
......@@ -19,18 +19,18 @@ from GaudiKernel.Configurable import ConfigurableGeneric as RFileCnv
from Configurables import CondDB
from Configurables import MakeData
from Configurables import FunTuple
""" Define helpful class and function
class ParticleTupleProp:
A class that one can configure with branch_name, decay descriptor and functors.
class ParticleTupleProp:
A class that one can configure with branch_name, decay descriptor and functors.
Function convert_to_parsable_objs:
Since ParticleTupleProp cannot currently be passed as Gaudi::Property, define
Function convert_to_parsable_objs:
Since ParticleTupleProp cannot currently be passed as Gaudi::Property, define
this function to turn member variables into parsable_objs for FunTuple
"""
class ParticleTupleProp:
def __init__(self, branch_name, decay_descriptor, particle_code):
"""
......@@ -67,6 +67,7 @@ def convert_to_parsable_objs(particle_tuple_props):
return branch_list, discrp_list, func_list, func_bnamelist, func_rtypelist
#Configure LHCb application
app = LHCbApp()
app.DataType = "Upgrade"
......
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