def METHOD_NAME(process):
    L1NtupleTFileOut(process)
    process.load('L1Trigger.L1TNtuples.L1NtupleGEN_cff')
    process.l1ntuplegen = cms.Path(
        process.METHOD_NAME
    )
    process.schedule.append(process.l1ntuplegen)
    return process