hasROOT = False
try:
    import ROOT
    hasROOT = True
except ImportError:
    pass

if hasROOT:
    from DelphesEvents import DelphesEvents
    from DelphesEventBuilder import DelphesEventBuilder
    from EventBuilderConfigMaker import EventBuilderConfigMaker

hasROOT = False
try:
    import ROOT
    hasROOT = True
except ImportError:
    pass

if hasROOT:
    from .DelphesEvents import DelphesEvents
    from .DelphesEventBuilder import DelphesEventBuilder
    from .EventBuilderConfigMaker import EventBuilderConfigMaker

use relative import in delphes