# Auto generated configuration file
# using: 
# Revision: 1.19 
# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
# with command line options: Configuration/GenProduction/python/B2G-RunIISummer15GS-00208-fragment.py --filein dbs:/TprimeTprime_M-1400_13TeV-madgraph/RunIIWinter15wmLHE-MCRUN2_71_V1-v1/LHE --fileout file:B2G-RunIISummer15GS-00208.root --mc --eventcontent RAWSIM --customise SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1,Configuration/DataProcessing/Utils.addMonitoring --datatier GEN-SIM --conditions MCRUN2_71_V1::All --beamspot Realistic50ns13TeVCollision --step GEN,SIM --magField 38T_PostLS1 --python_filename /afs/cern.ch/cms/PPD/PdmV/work/McM/submit/B2G-RunIISummer15GS-00208/B2G-RunIISummer15GS-00208_1_cfg.py --no_exec -n 17
import FWCore.ParameterSet.Config as cms

process = cms.Process('SIM')

# import of standard configurations
process.load('Configuration.StandardSequences.Services_cff')
process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
process.load('FWCore.MessageService.MessageLogger_cfi')
process.load('Configuration.EventContent.EventContent_cff')
process.load('SimGeneral.MixingModule.mixNoPU_cfi')
process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
process.load('Configuration.Geometry.GeometrySimDB_cff')
process.load('Configuration.StandardSequences.MagneticField_38T_PostLS1_cff')
process.load('Configuration.StandardSequences.Generator_cff')
process.load('IOMC.EventVertexGenerators.VtxSmearedRealistic50ns13TeVCollision_cfi')
process.load('GeneratorInterface.Core.genFilterSummary_cff')
process.load('Configuration.StandardSequences.SimIdeal_cff')
process.load('Configuration.StandardSequences.EndOfProcess_cff')
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')

process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32(17)
)

# Input source
process.source = cms.Source("PoolSource",
    secondaryFileNames = cms.untracked.vstring(),
    fileNames = cms.untracked.vstring('/store/mc/RunIIWinter15wmLHE/TprimeTprime_M-1400_13TeV-madgraph/LHE/MCRUN2_71_V1-v1/50000/483B9B5C-4D05-E511-B2AF-008CFA1C907C.root', 
        '/store/mc/RunIIWinter15wmLHE/TprimeTprime_M-1400_13TeV-madgraph/LHE/MCRUN2_71_V1-v1/50000/4EF0BA1B-4A05-E511-BCBA-008CFA0A58B4.root', 
        '/store/mc/RunIIWinter15wmLHE/TprimeTprime_M-1400_13TeV-madgraph/LHE/MCRUN2_71_V1-v1/50000/6092385F-4D05-E511-AB07-008CFA197C38.root', 
        '/store/mc/RunIIWinter15wmLHE/TprimeTprime_M-1400_13TeV-madgraph/LHE/MCRUN2_71_V1-v1/50000/68C42484-1E07-E511-9F04-001E673C84B9.root', 
        '/store/mc/RunIIWinter15wmLHE/TprimeTprime_M-1400_13TeV-madgraph/LHE/MCRUN2_71_V1-v1/50000/8AC8465F-4D05-E511-BA7C-008CFA0A57E8.root', 
        '/store/mc/RunIIWinter15wmLHE/TprimeTprime_M-1400_13TeV-madgraph/LHE/MCRUN2_71_V1-v1/50000/A8920CB8-4B05-E511-B5C5-008CFA197D10.root', 
        '/store/mc/RunIIWinter15wmLHE/TprimeTprime_M-1400_13TeV-madgraph/LHE/MCRUN2_71_V1-v1/50000/AE79965D-4D05-E511-BF3C-008CFA1CB8A8.root', 
        '/store/mc/RunIIWinter15wmLHE/TprimeTprime_M-1400_13TeV-madgraph/LHE/MCRUN2_71_V1-v1/50000/B23EBC87-1E07-E511-9225-001E6739ABB9.root', 
        '/store/mc/RunIIWinter15wmLHE/TprimeTprime_M-1400_13TeV-madgraph/LHE/MCRUN2_71_V1-v1/50000/D4279F85-1E07-E511-B9E3-38EAA7A6DAA0.root'),
    inputCommands = cms.untracked.vstring('keep *', 
        'drop LHEXMLStringProduct_*_*_*'),
    dropDescendantsOfDroppedBranches = cms.untracked.bool(False)
)

process.options = cms.untracked.PSet(

)

# Production Info
process.configurationMetadata = cms.untracked.PSet(
    version = cms.untracked.string('$Revision: 1.19 $'),
    annotation = cms.untracked.string('Configuration/GenProduction/python/B2G-RunIISummer15GS-00208-fragment.py nevts:17'),
    name = cms.untracked.string('Applications')
)

# Output definition

process.RAWSIMoutput = cms.OutputModule("PoolOutputModule",
    splitLevel = cms.untracked.int32(0),
    eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
    outputCommands = process.RAWSIMEventContent.outputCommands,
    fileName = cms.untracked.string('file:B2G-RunIISummer15GS-00208.root'),
    dataset = cms.untracked.PSet(
        filterName = cms.untracked.string(''),
        dataTier = cms.untracked.string('GEN-SIM')
    ),
    SelectEvents = cms.untracked.PSet(
        SelectEvents = cms.vstring('generation_step')
    )
)

# Additional output definition

# Other statements
process.genstepfilter.triggerConditions=cms.vstring("generation_step")
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'MCRUN2_71_V1::All', '')

process.generator = cms.EDFilter("Pythia8HadronizerFilter",
    pythiaPylistVerbosity = cms.untracked.int32(1),
    filterEfficiency = cms.untracked.double(1.0),
    pythiaHepMCVerbosity = cms.untracked.bool(False),
    comEnergy = cms.double(13000.0),
    maxEventsToPrint = cms.untracked.int32(1),
    PythiaParameters = cms.PSet(
        pythia8CommonSettings = cms.vstring('Tune:preferLHAPDF = 2', 
            'Main:timesAllowErrors = 10000', 
            'Check:epTolErr = 0.01', 
            'Beams:setProductionScalesFromLHEF = off', 
            'SLHA:keepSM = on', 
            'SLHA:minMassSM = 1000.', 
            'ParticleDecays:limitTau0 = on', 
            'ParticleDecays:tau0Max = 10', 
            'ParticleDecays:allowPhotonRadiation = on'),
        pythia8CUEP8M1Settings = cms.vstring('Tune:pp 14', 
            'Tune:ee 7', 
            'MultipartonInteractions:pT0Ref=2.4024', 
            'MultipartonInteractions:ecmPow=0.25208', 
            'MultipartonInteractions:expPow=1.6'),
        processParameters = cms.vstring('8000001:new t23 t23bar 2 2 1 1400 10 1300 1500 0', 
            '8000001:doForceWidth = 1', 
            '6:m0 = 172.5 ! top mass', 
            '8000001:mayDecay = 1', 
            '8000001:oneChannel = 1 0.3334 100 24 5 ! add channel tprime to W b with BR=0.333', 
            '8000001:addChannel = 1 0.3333 100 23 6 ! add channel tprime to Z t with BR=0.333', 
            '8000001:addChannel = 1 0.3333 100 25 6 ! add channel tprime to H t with BR=0.333'),
        parameterSets = cms.vstring('pythia8CommonSettings', 
            'pythia8CUEP8M1Settings', 
            'processParameters')
    )
)


# Path and EndPath definitions
process.generation_step = cms.Path(process.pgen)
process.simulation_step = cms.Path(process.psim)
process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.endjob_step,process.RAWSIMoutput_step)
# filter all path with the production filter sequence
for path in process.paths:
	getattr(process,path)._seq = process.generator * getattr(process,path)._seq 

# customisation of the process.

# Automatic addition of the customisation function from Configuration.DataProcessing.Utils
from Configuration.DataProcessing.Utils import addMonitoring 

#call to customisation function addMonitoring imported from Configuration.DataProcessing.Utils
process = addMonitoring(process)

# Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.postLS1Customs
from SLHCUpgradeSimulations.Configuration.postLS1Customs import customisePostLS1 

#call to customisation function customisePostLS1 imported from SLHCUpgradeSimulations.Configuration.postLS1Customs
process = customisePostLS1(process)

# End of customisation functions
