parameters: (rootFile,pathSplit)
docstring: Get the list of keys of the directory (rootFile,pathSplit),
      if (rootFile,pathSplit) is not a directory then get the key in a list
docstring_summary: Get the list of keys of the directory (rootFile,pathSplit),
      if (rootFile,pathSplit) is not a directory then get the key in a list
docstring_tokens: Get the list of keys of the directory ( rootFile pathSplit ) if ( rootFile pathSplit ) is not a directory then get the key in a list
function: def getKeyList(rootFile,pathSplit):
      """
      Get the list of keys of the directory (rootFile,pathSplit),
      if (rootFile,pathSplit) is not a directory then get the key in a list
      """
      if isDirectory(rootFile,pathSplit):
          changeDirectory(rootFile,pathSplit)
          return ROOT.gDirectory.GetListOfKeys()
      else: return [getKey(rootFile,pathSplit)]
function_tokens: def getKeyList ( rootFile , pathSplit ) : if isDirectory ( rootFile , pathSplit ) : changeDirectory ( rootFile , pathSplit ) return ROOT . gDirectory . GetListOfKeys ( ) else : return [ getKey ( rootFile , pathSplit ) ]