code: def get_tree(self, process_name):
          
          for tree_name, tree in self.trees.items():
              if process_name in tree:
                  return tree
docs: return tree that is managing time-periods for given process