Skip to content
Snippets Groups Projects

proof-of-concept for a new tupling algorithm

Merged Abhijit Mathad requested to merge newtuplealgo into master
All threads resolved!
2 files
+ 14
12
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -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"
Loading