|
| 1 | +# Auto generated configuration file |
| 2 | +# using: |
| 3 | +# Revision: 1.19 |
| 4 | +# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v |
| 5 | +# with command line options: MinBias_8TeV_cfi --conditions auto:startup -s GEN,SIM --datatier GEN-SIM -n 10 |
| 6 | +# --relval 9000,300 --eventcontent RAWSIM --io MinBias.io --python MinBias.py --no_exec --fileout minbias.root |
| 7 | + |
| 8 | +import FWCore.ParameterSet.Config as cms |
| 9 | + |
| 10 | +process = cms.Process("SIM") |
| 11 | + |
| 12 | +# Import of standard configurations |
| 13 | +process.load("Configuration.StandardSequences.Services_cff") |
| 14 | +process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") |
| 15 | +process.load("FWCore.MessageService.MessageLogger_cfi") |
| 16 | +process.load("Configuration.EventContent.EventContent_cff") |
| 17 | +process.load("SimGeneral.MixingModule.mixNoPU_cfi") |
| 18 | +process.load("Configuration.StandardSequences.GeometryRecoDB_cff") |
| 19 | +process.load("Configuration.Geometry.GeometrySimDB_cff") |
| 20 | +process.load("Configuration.StandardSequences.MagneticField_38T_cff") |
| 21 | +process.load("Configuration.StandardSequences.Generator_cff") |
| 22 | +process.load("IOMC.EventVertexGenerators.VtxSmearedRealistic8TeVCollision_cfi") |
| 23 | +process.load("GeneratorInterface.Core.genFilterSummary_cff") |
| 24 | +process.load("Configuration.StandardSequences.SimIdeal_cff") |
| 25 | +process.load("Configuration.StandardSequences.EndOfProcess_cff") |
| 26 | +process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") |
| 27 | + |
| 28 | +process.maxEvents = cms.untracked.PSet(input=cms.untracked.int32(10)) |
| 29 | + |
| 30 | +# Input source |
| 31 | +process.source = cms.Source("EmptySource") |
| 32 | + |
| 33 | +process.options = cms.untracked.PSet() |
| 34 | +process.options.numberOfThreads = cms.untracked.uint32(1) |
| 35 | + |
| 36 | +# Production Info |
| 37 | +process.configurationMetadata = cms.untracked.PSet( |
| 38 | + version=cms.untracked.string("$Revision: 1.19 $"), |
| 39 | + annotation=cms.untracked.string("MinBias_8TeV_cfi nevts:10"), |
| 40 | + name=cms.untracked.string("Applications"), |
| 41 | +) |
| 42 | + |
| 43 | +# Additional output definition |
| 44 | + |
| 45 | +# Other statements |
| 46 | +process.genstepfilter.triggerConditions = cms.vstring("generation_step") |
| 47 | +from Configuration.AlCa.GlobalTag import GlobalTag |
| 48 | + |
| 49 | +process.GlobalTag = GlobalTag(process.GlobalTag, "auto:startup", "") |
| 50 | + |
| 51 | +process.generator = cms.EDFilter( |
| 52 | + "Pythia6GeneratorFilter", |
| 53 | + pythiaPylistVerbosity=cms.untracked.int32(0), |
| 54 | + filterEfficiency=cms.untracked.double(1.0), |
| 55 | + pythiaHepMCVerbosity=cms.untracked.bool(False), |
| 56 | + comEnergy=cms.double(8000.0), |
| 57 | + maxEventsToPrint=cms.untracked.int32(0), |
| 58 | + PythiaParameters=cms.PSet( |
| 59 | + pythiaUESettings=cms.vstring( |
| 60 | + "MSTU(21)=1 ! Check on possible errors during program execution", |
| 61 | + "MSTJ(22)=2 ! Decay those unstable particles", |
| 62 | + "PARJ(71)=10 . ! for which ctau 10 mm", |
| 63 | + "MSTP(33)=0 ! no K factors in hard cross sections", |
| 64 | + "MSTP(2)=1 ! which order running alphaS", |
| 65 | + "MSTP(51)=10042 ! structure function chosen (external PDF CTEQ6L1)", |
| 66 | + "MSTP(52)=2 ! work with LHAPDF", |
| 67 | + "PARP(82)=1.921 ! pt cutoff for multiparton interactions", |
| 68 | + "PARP(89)=1800. ! sqrts for which PARP82 is set", |
| 69 | + "PARP(90)=0.227 ! Multiple interactions: rescaling power", |
| 70 | + "MSTP(95)=6 ! CR (color reconnection parameters)", |
| 71 | + "PARP(77)=1.016 ! CR", |
| 72 | + "PARP(78)=0.538 ! CR", |
| 73 | + "PARP(80)=0.1 ! Prob. colored parton from BBR", |
| 74 | + "PARP(83)=0.356 ! Multiple interactions: matter distribution parameter", |
| 75 | + "PARP(84)=0.651 ! Multiple interactions: matter distribution parameter", |
| 76 | + "PARP(62)=1.025 ! ISR cutoff", |
| 77 | + "MSTP(91)=1 ! Gaussian primordial kT", |
| 78 | + "PARP(93)=10.0 ! primordial kT-max", |
| 79 | + "MSTP(81)=21 ! multiple parton interactions 1 is Pythia default", |
| 80 | + "MSTP(82)=4 ! Defines the multi-parton model", |
| 81 | + ), |
| 82 | + processParameters=cms.vstring( |
| 83 | + "MSEL=0 ! User defined processes", |
| 84 | + "MSUB(11)=1 ! Min bias process", |
| 85 | + "MSUB(12)=1 ! Min bias process", |
| 86 | + "MSUB(13)=1 ! Min bias process", |
| 87 | + "MSUB(28)=1 ! Min bias process", |
| 88 | + "MSUB(53)=1 ! Min bias process", |
| 89 | + "MSUB(68)=1 ! Min bias process", |
| 90 | + "MSUB(92)=1 ! Min bias process, single diffractive", |
| 91 | + "MSUB(93)=1 ! Min bias process, single diffractive", |
| 92 | + "MSUB(94)=1 ! Min bias process, double diffractive", |
| 93 | + "MSUB(95)=1 ! Min bias process", |
| 94 | + ), |
| 95 | + parameterSets=cms.vstring("pythiaUESettings", "processParameters"), |
| 96 | + ), |
| 97 | +) |
| 98 | + |
| 99 | +# Path and EndPath definitions |
| 100 | +process.generation_step = cms.Path(process.pgen) |
| 101 | +process.simulation_step = cms.Path(process.psim) |
| 102 | +process.genfiltersummary_step = cms.EndPath(process.genFilterSummary) |
| 103 | +process.endjob_step = cms.EndPath(process.endOfProcess) |
| 104 | + |
| 105 | +# Schedule definition |
| 106 | +process.schedule = cms.Schedule( |
| 107 | + process.generation_step, |
| 108 | + process.genfiltersummary_step, |
| 109 | + process.simulation_step, |
| 110 | + process.endjob_step, |
| 111 | +) |
| 112 | + |
| 113 | +# Filter all path with the production filter sequence |
| 114 | +for path in process.paths: |
| 115 | + getattr(process, path)._seq = process.generator * getattr(process, path)._seq |
0 commit comments