def __init__(self, parent = None, branch = 5):
        '''
        Constructor
        '''
        self.events = []
        self.subevents = []
        self.parent = parent
        if parent is not None:
            self.depth = parent.depth + 1
        else:
            self.depth = 0
        self.branch = 5
def __init__ ( self , parent = None , branch = 5 ) : self . events = [ ] self . subevents = [ ] self . parent = parent if parent is not None : self . depth = parent . depth + 1 else : self . depth = 0 self . branch = 5
Constructor