<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_tree(self, process_name):
 """ return tree that is managing time-periods for given process"""

        for tree_name, tree in self.trees.items():
            if process_name in tree:
                return tree