Belle II Software  release-08-01-10
validationtest.py
1 #!/usr/bin/env python3
2 
3 
10 
11 import ROOT
12 
13 
14 def add_properties(object, dictionary):
15  """ Adds metaoptions to an object. """
16  for key, value in dictionary.items():
17  object.GetListOfFunctions().Add(ROOT.TNamed(key, value))