parameters: (fileName, mode="read")
return_statement: return theFile
docstring: Open the ROOT file corresponding to fileName in the corresponding mode,
      redirecting the output not to see missing dictionnaries
  
      Returns:
          theFile (TFile)
docstring_summary: Open the ROOT file corresponding to fileName in the corresponding mode,
      redirecting the output not to see missing dictionnaries
docstring_tokens: Open the ROOT file corresponding to fileName in the corresponding mode redirecting the output not to see missing dictionnaries
function: def openROOTFile(fileName, mode="read"):
      """
      Open the ROOT file corresponding to fileName in the corresponding mode,
      redirecting the output not to see missing dictionnaries
  
      Returns:
          theFile (TFile)
      """
      #with stderrRedirected():
      with _setIgnoreLevel(ROOT.kError):
          theFile = ROOT.TFile.Open(fileName, mode)
      if not theFile:
          logging.warning("File %s does not exist", fileName)
      return theFile
function_tokens: def openROOTFile ( fileName , mode = "read" ) : #with stderrRedirected(): with _setIgnoreLevel ( ROOT . kError ) : theFile = ROOT . TFile . Open ( fileName , mode ) if not theFile : logging . warning ( "File %s does not exist" , fileName ) return theFile