Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-04-27 23:38:31

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.19 
0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
0005 # with command line options: TTbar_13TeV_TuneCUETP8M1_cfi -s GEN,SIM -n 10 --conditions auto:phase1_2018_realistic --beamspot Realistic25ns13TeVEarly2018Collision --datatier GEN-SIM --eventcontent FEVTDEBUG --geometry DB:Extended --era Run2_2018 --relval 9000,50 --fileout file:step1.root
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 from Configuration.Eras.Era_Run2_2018_cff import Run2_2018
0009 
0010 process = cms.Process('SIM',Run2_2018)
0011 
0012 # import of standard configurations
0013 process.load('Configuration.StandardSequences.Services_cff')
0014 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0015 process.load('FWCore.MessageService.MessageLogger_cfi')
0016 process.load('Configuration.EventContent.EventContent_cff')
0017 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0018 process.load('Configuration.Geometry.GeometryExtended2018DDDReco_cff')
0019 process.load('Configuration.Geometry.GeometryExtended2018DDD_cff')
0020 process.load('Configuration.StandardSequences.MagneticField_cff')
0021 process.load('Configuration.StandardSequences.Generator_cff')
0022 process.load('IOMC.EventVertexGenerators.VtxSmearedRealistic25ns13TeVEarly2018Collision_cfi')
0023 process.load('GeneratorInterface.Core.genFilterSummary_cff')
0024 process.load('Configuration.StandardSequences.SimIdeal_cff')
0025 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0026 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0027 
0028 process.maxEvents = cms.untracked.PSet(
0029     input = cms.untracked.int32(10),
0030     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0031 )
0032 
0033 # Input source
0034 process.source = cms.Source("EmptySource")
0035 
0036 process.options = cms.untracked.PSet(
0037     FailPath = cms.untracked.vstring(),
0038     IgnoreCompletely = cms.untracked.vstring(),
0039     Rethrow = cms.untracked.vstring(),
0040     SkipEvent = cms.untracked.vstring(),
0041     accelerators = cms.untracked.vstring('*'),
0042     allowUnscheduled = cms.obsolete.untracked.bool,
0043     canDeleteEarly = cms.untracked.vstring(),
0044     deleteNonConsumedUnscheduledModules = cms.untracked.bool(True),
0045     dumpOptions = cms.untracked.bool(False),
0046     emptyRunLumiMode = cms.obsolete.untracked.string,
0047     eventSetup = cms.untracked.PSet(
0048         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0049             allowAnyLabel_=cms.required.untracked.uint32
0050         ),
0051         numberOfConcurrentIOVs = cms.untracked.uint32(0)
0052     ),
0053     fileMode = cms.untracked.string('FULLMERGE'),
0054     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0055     makeTriggerResults = cms.obsolete.untracked.bool,
0056     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(0),
0057     numberOfConcurrentRuns = cms.untracked.uint32(1),
0058     numberOfStreams = cms.untracked.uint32(0),
0059     numberOfThreads = cms.untracked.uint32(1),
0060     printDependencies = cms.untracked.bool(False),
0061     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0062     throwIfIllegalParameter = cms.untracked.bool(True),
0063     wantSummary = cms.untracked.bool(False)
0064 )
0065 
0066 # Production Info
0067 process.configurationMetadata = cms.untracked.PSet(
0068     annotation = cms.untracked.string('TTbar_13TeV_TuneCUETP8M1_cfi nevts:10'),
0069     name = cms.untracked.string('Applications'),
0070     version = cms.untracked.string('$Revision: 1.19 $')
0071 )
0072 
0073 # Output definition
0074 
0075 process.FEVTDEBUGoutput = cms.OutputModule("PoolOutputModule",
0076     SelectEvents = cms.untracked.PSet(
0077         SelectEvents = cms.vstring('generation_step')
0078     ),
0079     dataset = cms.untracked.PSet(
0080         dataTier = cms.untracked.string('GEN-SIM'),
0081         filterName = cms.untracked.string('')
0082     ),
0083     fileName = cms.untracked.string('file:step1.root'),
0084     outputCommands = process.FEVTDEBUGEventContent.outputCommands,
0085     splitLevel = cms.untracked.int32(0)
0086 )
0087 
0088 # Additional output definition
0089 
0090 # Other statements
0091 if hasattr(process, "XMLFromDBSource"): process.XMLFromDBSource.label="Extended"
0092 if hasattr(process, "DDDetectorESProducerFromDB"): process.DDDetectorESProducerFromDB.label="Extended"
0093 process.genstepfilter.triggerConditions=cms.vstring("generation_step")
0094 from Configuration.AlCa.GlobalTag import GlobalTag
0095 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2018_realistic', '')
0096 
0097 process.generator = cms.EDFilter("Pythia8ConcurrentGeneratorFilter",
0098     PythiaParameters = cms.PSet(
0099         parameterSets = cms.vstring(
0100             'pythia8CommonSettings',
0101             'pythia8CUEP8M1Settings',
0102             'processParameters'
0103         ),
0104         processParameters = cms.vstring(
0105             'Top:gg2ttbar = on ',
0106             'Top:qqbar2ttbar = on ',
0107             '6:m0 = 175 '
0108         ),
0109         pythia8CUEP8M1Settings = cms.vstring(
0110             'Tune:pp 14',
0111             'Tune:ee 7',
0112             'MultipartonInteractions:pT0Ref=2.4024',
0113             'MultipartonInteractions:ecmPow=0.25208',
0114             'MultipartonInteractions:expPow=1.6'
0115         ),
0116         pythia8CommonSettings = cms.vstring(
0117             'Tune:preferLHAPDF = 2',
0118             'Main:timesAllowErrors = 10000',
0119             'Check:epTolErr = 0.01',
0120             'Beams:setProductionScalesFromLHEF = off',
0121             'SLHA:minMassSM = 1000.',
0122             'ParticleDecays:limitTau0 = on',
0123             'ParticleDecays:tau0Max = 10',
0124             'ParticleDecays:allowPhotonRadiation = on'
0125         )
0126     ),
0127     comEnergy = cms.double(13000.0),
0128     filterEfficiency = cms.untracked.double(1.0),
0129     maxEventsToPrint = cms.untracked.int32(0),
0130     pythiaHepMCVerbosity = cms.untracked.bool(False),
0131     pythiaPylistVerbosity = cms.untracked.int32(0)
0132 )
0133 
0134 
0135 process.ProductionFilterSequence = cms.Sequence(process.generator)
0136 
0137 # Path and EndPath definitions
0138 process.generation_step = cms.Path(process.pgen)
0139 process.simulation_step = cms.Path(process.psim)
0140 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0141 process.endjob_step = cms.EndPath(process.endOfProcess)
0142 process.FEVTDEBUGoutput_step = cms.EndPath(process.FEVTDEBUGoutput)
0143 
0144 # Schedule definition
0145 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.endjob_step,process.FEVTDEBUGoutput_step)
0146 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0147 associatePatAlgosToolsTask(process)
0148 # filter all path with the production filter sequence
0149 for path in process.paths:
0150     getattr(process,path).insert(0, process.ProductionFilterSequence)
0151 
0152 
0153 
0154 # Customisation from command line
0155 
0156 # Add early deletion of temporary data products to reduce peak memory need
0157 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0158 process = customiseEarlyDelete(process)
0159 # End adding early deletion