Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-19 01:44:10

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Phase2C11I13M9_cff import Phase2C11I13M9
0004 
0005 process = cms.Process('SIM',Phase2C11I13M9)
0006 
0007 # import of standard configurations
0008 process.load('Configuration.StandardSequences.Services_cff')
0009 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0010 process.load('FWCore.MessageService.MessageLogger_cfi')
0011 process.load('Configuration.EventContent.EventContent_cff')
0012 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0013 process.load('Configuration.Geometry.GeometryExtended2026D77Reco_cff')
0014 process.load('Configuration.StandardSequences.MagneticField_cff')
0015 process.load('Configuration.StandardSequences.Generator_cff')
0016 process.load('IOMC.EventVertexGenerators.VtxSmearedHLLHC14TeV_cfi')
0017 process.load('GeneratorInterface.Core.genFilterSummary_cff')
0018 process.load('Configuration.StandardSequences.SimIdeal_cff')
0019 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0020 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0021 
0022 process.maxEvents = cms.untracked.PSet(
0023     input = cms.untracked.int32(10),
0024     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0025 )
0026 
0027 # Input source
0028 process.source = cms.Source("EmptySource")
0029 
0030 process.options = cms.untracked.PSet(
0031     FailPath = cms.untracked.vstring(),
0032     IgnoreCompletely = cms.untracked.vstring(),
0033     Rethrow = cms.untracked.vstring(),
0034     SkipEvent = cms.untracked.vstring(),
0035     allowUnscheduled = cms.obsolete.untracked.bool,
0036     canDeleteEarly = cms.untracked.vstring(),
0037     deleteNonConsumedUnscheduledModules = cms.untracked.bool(True),
0038     emptyRunLumiMode = cms.obsolete.untracked.string,
0039     eventSetup = cms.untracked.PSet(
0040         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0041             allowAnyLabel_=cms.required.untracked.uint32
0042         ),
0043         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0044     ),
0045     fileMode = cms.untracked.string('FULLMERGE'),
0046     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0047     makeTriggerResults = cms.obsolete.untracked.bool,
0048     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0049     numberOfConcurrentRuns = cms.untracked.uint32(1),
0050     numberOfStreams = cms.untracked.uint32(0),
0051     numberOfThreads = cms.untracked.uint32(1),
0052     printDependencies = cms.untracked.bool(False),
0053     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0054     throwIfIllegalParameter = cms.untracked.bool(True),
0055     wantSummary = cms.untracked.bool(False)
0056 )
0057 
0058 # Production Info
0059 process.configurationMetadata = cms.untracked.PSet(
0060     annotation = cms.untracked.string('TTbar_14TeV_TuneCP5_cfi nevts:10'),
0061     name = cms.untracked.string('Applications'),
0062     version = cms.untracked.string('$Revision: 1.19 $')
0063 )
0064 
0065 
0066 # Additional output definition
0067 
0068 # Other statements
0069 process.genstepfilter.triggerConditions=cms.vstring("generation_step")
0070 from Configuration.AlCa.GlobalTag import GlobalTag
0071 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T21', '')
0072 
0073 process.generator = cms.EDFilter("Pythia8GeneratorFilter",
0074     PythiaParameters = cms.PSet(
0075         parameterSets = cms.vstring(
0076             'pythia8CommonSettings', 
0077             'pythia8CP5Settings', 
0078             'processParameters'
0079         ),
0080         processParameters = cms.vstring(
0081             'Top:gg2ttbar = on ', 
0082             'Top:qqbar2ttbar = on ', 
0083             '6:m0 = 175 '
0084         ),
0085         pythia8CP5Settings = cms.vstring(
0086             'Tune:pp 14', 
0087             'Tune:ee 7', 
0088             'MultipartonInteractions:ecmPow=0.03344', 
0089             'MultipartonInteractions:bProfile=2', 
0090             'MultipartonInteractions:pT0Ref=1.41', 
0091             'MultipartonInteractions:coreRadius=0.7634', 
0092             'MultipartonInteractions:coreFraction=0.63', 
0093             'ColourReconnection:range=5.176', 
0094             'SigmaTotal:zeroAXB=off', 
0095             'SpaceShower:alphaSorder=2', 
0096             'SpaceShower:alphaSvalue=0.118', 
0097             'SigmaProcess:alphaSvalue=0.118', 
0098             'SigmaProcess:alphaSorder=2', 
0099             'MultipartonInteractions:alphaSvalue=0.118', 
0100             'MultipartonInteractions:alphaSorder=2', 
0101             'TimeShower:alphaSorder=2', 
0102             'TimeShower:alphaSvalue=0.118', 
0103             'SigmaTotal:mode = 0', 
0104             'SigmaTotal:sigmaEl = 21.89', 
0105             'SigmaTotal:sigmaTot = 100.309', 
0106             'PDF:pSet=LHAPDF6:NNPDF31_nnlo_as_0118'
0107         ),
0108         pythia8CommonSettings = cms.vstring(
0109             'Tune:preferLHAPDF = 2', 
0110             'Main:timesAllowErrors = 10000', 
0111             'Check:epTolErr = 0.01', 
0112             'Beams:setProductionScalesFromLHEF = off', 
0113             'SLHA:minMassSM = 1000.', 
0114             'ParticleDecays:limitTau0 = on', 
0115             'ParticleDecays:tau0Max = 10', 
0116             'ParticleDecays:allowPhotonRadiation = on'
0117         )
0118     ),
0119     comEnergy = cms.double(14000.0),
0120     filterEfficiency = cms.untracked.double(1.0),
0121     maxEventsToPrint = cms.untracked.int32(0),
0122     pythiaHepMCVerbosity = cms.untracked.bool(False),
0123     pythiaPylistVerbosity = cms.untracked.int32(0)
0124 )
0125 
0126 
0127 process.ProductionFilterSequence = cms.Sequence(process.generator)
0128 
0129 # Path and EndPath definitions
0130 process.generation_step = cms.Path(process.pgen)
0131 process.simulation_step = cms.Path(process.psim)
0132 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0133 process.endjob_step = cms.EndPath(process.endOfProcess)
0134 
0135 # Schedule definition
0136 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.endjob_step)
0137 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0138 associatePatAlgosToolsTask(process)
0139 # filter all path with the production filter sequence
0140 for path in process.paths:
0141     getattr(process,path).insert(0, process.ProductionFilterSequence)
0142 
0143 
0144 
0145 # Customisation from command line
0146 
0147 # Add early deletion of temporary data products to reduce peak memory need
0148 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0149 process = customiseEarlyDelete(process)
0150 # End adding early deletion