Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:14:48

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_2017_realistic --beamspot Realistic25ns13TeVEarly2017Collision --datatier GEN-SIM --eventcontent FEVTDEBUG --geometry DB:Extended --era Run2_2017 --relval 9000,50 --fileout file:step1.root
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 from Configuration.Eras.Era_Run2_2017_cff import Run2_2017
0009 
0010 process = cms.Process('SIM',Run2_2017)
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.GeometryExtended2017DDD_cff')
0019 process.load('Configuration.Geometry.GeometryExtended2017DDDReco_cff')
0020 process.load('Configuration.StandardSequences.MagneticField_cff')
0021 process.load('Configuration.StandardSequences.Generator_cff')
0022 process.load('IOMC.EventVertexGenerators.VtxSmearedRealistic25ns13TeVEarly2017Collision_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     IgnoreCompletely = cms.untracked.vstring(),
0038     Rethrow = cms.untracked.vstring(),
0039     TryToContinue = cms.untracked.vstring(),
0040     accelerators = cms.untracked.vstring('*'),
0041     allowUnscheduled = cms.obsolete.untracked.bool,
0042     canDeleteEarly = cms.untracked.vstring(),
0043     deleteNonConsumedUnscheduledModules = cms.untracked.bool(True),
0044     dumpOptions = cms.untracked.bool(False),
0045     emptyRunLumiMode = cms.obsolete.untracked.string,
0046     eventSetup = cms.untracked.PSet(
0047         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0048             allowAnyLabel_=cms.required.untracked.uint32
0049         ),
0050         numberOfConcurrentIOVs = cms.untracked.uint32(0)
0051     ),
0052     fileMode = cms.untracked.string('FULLMERGE'),
0053     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0054     makeTriggerResults = cms.obsolete.untracked.bool,
0055     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(0),
0056     numberOfConcurrentRuns = cms.untracked.uint32(1),
0057     numberOfStreams = cms.untracked.uint32(0),
0058     numberOfThreads = cms.untracked.uint32(1),
0059     printDependencies = cms.untracked.bool(False),
0060     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0061     throwIfIllegalParameter = cms.untracked.bool(True),
0062     wantSummary = cms.untracked.bool(False)
0063 )
0064 
0065 # Production Info
0066 process.configurationMetadata = cms.untracked.PSet(
0067     annotation = cms.untracked.string('TTbar_13TeV_TuneCUETP8M1_cfi nevts:10'),
0068     name = cms.untracked.string('Applications'),
0069     version = cms.untracked.string('$Revision: 1.19 $')
0070 )
0071 
0072 # Output definition
0073 
0074 process.FEVTDEBUGoutput = cms.OutputModule("PoolOutputModule",
0075     SelectEvents = cms.untracked.PSet(
0076         SelectEvents = cms.vstring('generation_step')
0077     ),
0078     dataset = cms.untracked.PSet(
0079         dataTier = cms.untracked.string('GEN-SIM'),
0080         filterName = cms.untracked.string('')
0081     ),
0082     fileName = cms.untracked.string('file:step1.root'),
0083     outputCommands = process.FEVTDEBUGEventContent.outputCommands,
0084     splitLevel = cms.untracked.int32(0)
0085 )
0086 
0087 # Additional output definition
0088 
0089 # Other statements
0090 if hasattr(process, "XMLFromDBSource"): process.XMLFromDBSource.label="Extended"
0091 if hasattr(process, "DDDetectorESProducerFromDB"): process.DDDetectorESProducerFromDB.label="Extended"
0092 process.genstepfilter.triggerConditions=cms.vstring("generation_step")
0093 from Configuration.AlCa.GlobalTag import GlobalTag
0094 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2017_realistic', '')
0095 
0096 process.generator = cms.EDFilter("Pythia8ConcurrentGeneratorFilter",
0097     PythiaParameters = cms.PSet(
0098         parameterSets = cms.vstring(
0099             'pythia8CommonSettings',
0100             'pythia8CUEP8M1Settings',
0101             'processParameters'
0102         ),
0103         processParameters = cms.vstring(
0104             'Top:gg2ttbar = on ',
0105             'Top:qqbar2ttbar = on ',
0106             '6:m0 = 175 '
0107         ),
0108         pythia8CUEP8M1Settings = cms.vstring(
0109             'Tune:pp 14',
0110             'Tune:ee 7',
0111             'MultipartonInteractions:pT0Ref=2.4024',
0112             'MultipartonInteractions:ecmPow=0.25208',
0113             'MultipartonInteractions:expPow=1.6'
0114         ),
0115         pythia8CommonSettings = cms.vstring(
0116             'Tune:preferLHAPDF = 2',
0117             'Main:timesAllowErrors = 10000',
0118             'Check:epTolErr = 0.01',
0119             'Beams:setProductionScalesFromLHEF = off',
0120             'SLHA:minMassSM = 1000.',
0121             'ParticleDecays:limitTau0 = on',
0122             'ParticleDecays:tau0Max = 10',
0123             'ParticleDecays:allowPhotonRadiation = on'
0124         )
0125     ),
0126     comEnergy = cms.double(13000.0),
0127     filterEfficiency = cms.untracked.double(1.0),
0128     maxEventsToPrint = cms.untracked.int32(0),
0129     pythiaHepMCVerbosity = cms.untracked.bool(False),
0130     pythiaPylistVerbosity = cms.untracked.int32(0)
0131 )
0132 
0133 
0134 process.ProductionFilterSequence = cms.Sequence(process.generator)
0135 
0136 # Path and EndPath definitions
0137 process.generation_step = cms.Path(process.pgen)
0138 process.simulation_step = cms.Path(process.psim)
0139 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0140 process.endjob_step = cms.EndPath(process.endOfProcess)
0141 process.FEVTDEBUGoutput_step = cms.EndPath(process.FEVTDEBUGoutput)
0142 
0143 # Schedule definition
0144 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.endjob_step,process.FEVTDEBUGoutput_step)
0145 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0146 associatePatAlgosToolsTask(process)
0147 # filter all path with the production filter sequence
0148 for path in process.paths:
0149     getattr(process,path).insert(0, process.ProductionFilterSequence)
0150 
0151 
0152 
0153 # Customisation from command line
0154 
0155 # Add early deletion of temporary data products to reduce peak memory need
0156 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0157 process = customiseEarlyDelete(process)
0158 # End adding early deletion