# https://github.com/cms-sw/genproductions/blob/ced43eeb2ececc35b1ebc3397cb60aad920370a9/python/ThirteenTeV/SUSYGluGluToBBHToBB_M-600_TuneCUETP8M1_13TeV-pythia8_cfi.py

import FWCore.ParameterSet.Config as cms 
from Configuration.Generator.Pythia8CommonSettings_cfi import *                                                                  
from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import *    

generator = cms.EDFilter("Pythia8GeneratorFilter",                                                                       
    pythiaPylistVerbosity = cms.untracked.int32(1),                                                                              
    filterEfficiency = cms.untracked.double(1.0),                                                                                
    pythiaHepMCVerbosity = cms.untracked.bool(False),                                                                            
    comEnergy = cms.double(13000.0),                                                                                             
    crossSection = cms.untracked.double(518.3),                                                                                  
    maxEventsToPrint = cms.untracked.int32(1),                                                                                   
    PythiaParameters = cms.PSet(                                                                                                 
            pythia8CommonSettingsBlock,                                                                                          
            pythia8CUEP8M1SettingsBlock, 
                    processParameters = cms.vstring(                                                                     
                                                    'Higgs:useBSM = on',
                                                    'HiggsBSM:gg2A3bbbar = on',                                                                   
                                                    '36:m0 = 600',                                                                           
                                                    '36:onMode = off',                                                                       
                                                    '36:onIfMatch = 5 -5',                                                                                                        
            ),                                                                                                                   
                                                                                                                                 
        parameterSets = cms.vstring('pythia8CommonSettings',                                                                     
            'pythia8CUEP8M1Settings',                                                                                            
            'processParameters')                                                                                                 
    )                                                                                                                            
) 

configurationMetadata = cms.untracked.PSet(
    version = cms.untracked.string('\$Revision$'),
    name = cms.untracked.string('\$Source$'),
    annotation = cms.untracked.string('gg->bbA, 13TeV, mA = 600GeV, A->bb, TuneCUETP8M1')
)