new_contents: hasROOT = False
  try:
      import ROOT
      hasROOT = True
  except ImportError:
      pass
  
  if hasROOT:
      from DelphesEvents import DelphesEvents
      from DelphesEventBuilder import DelphesEventBuilder
  
subject: update imports in delphes