File indexing completed on 2023-03-17 11:25:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 import random
0004 import math
0005
0006 from Configuration.StandardSequences.Eras import eras
0007 process = cms.Process('SIM',eras.Run2_2016)
0008
0009
0010 process.load("CondCore.CondDB.CondDB_cfi")
0011 process.load('Configuration.StandardSequences.Services_cff')
0012 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0013 process.load('FWCore.MessageService.MessageLogger_cfi')
0014 process.load('Configuration.EventContent.EventContent_cff')
0015 process.load('Configuration.StandardSequences.MagneticField_cff')
0016 process.load('Configuration.StandardSequences.Generator_cff')
0017 process.load('IOMC.EventVertexGenerators.VtxSmearedRealistic25ns13TeV2016Collision_cfi')
0018 process.load('GeneratorInterface.Core.genFilterSummary_cff')
0019 process.load('Configuration.StandardSequences.SimIdeal_cff')
0020 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0021 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0022
0023 process.load('Configuration.Geometry.GeometryExtended2016_CTPPS_cff')
0024
0025 process.RandomNumberGeneratorService.generator.initialSeed = cms.untracked.uint32(random.randint(0,900000000))
0026
0027 nEvent_ = 1000
0028 process.maxEvents = cms.untracked.PSet(
0029 input = cms.untracked.int32(nEvent_)
0030 )
0031
0032 process.source = cms.Source("EmptySource")
0033 """
0034 process.source = cms.Source("EmptySource",
0035 #firstRun = cms.untracked.uint32(306572), # 2016H data
0036 #firstTime = cms.untracked.uint64(6487615523004612608) # this is needed because it lacks the MC tag, run based
0037 #firstRun = cms.untracked.uint32(273730), # 2016H data
0038 #firstTime = cms.untracked.uint64(6286859745043152896) # this is needed because it lacks the MC tag, run based
0039 firstRun = cms.untracked.uint32(282730), # 2016H data
0040 firstTime = cms.untracked.uint64(6339435345951588352) # this is needed because it lacks the MC tag, run based
0041 )
0042 """
0043
0044 process.options = cms.untracked.PSet()
0045
0046
0047 from Configuration.AlCa.GlobalTag import GlobalTag
0048 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0049
0050
0051
0052 process.configurationMetadata = cms.untracked.PSet(
0053 annotation = cms.untracked.string('GeneratorInterface/ExhumeInterface/python/ExHuME_CEPDijetsGG_M100_7TeV_cff.py nevts:1'),
0054 name = cms.untracked.string('Applications'),
0055 version = cms.untracked.string('$Revision: 1.19 $')
0056 )
0057
0058
0059
0060 process.generator = cms.EDFilter("ExhumeGeneratorFilter",
0061 ExhumeParameters = cms.PSet(
0062 AlphaEw = cms.double(0.0072974),
0063 B = cms.double(4.0),
0064 BottomMass = cms.double(4.6),
0065 CharmMass = cms.double(1.42),
0066 HiggsMass = cms.double(120.0),
0067 HiggsVev = cms.double(246.0),
0068 LambdaQCD = cms.double(80.0),
0069 MinQt2 = cms.double(0.64),
0070 MuonMass = cms.double(0.1057),
0071 PDF = cms.double(11000),
0072 Rg = cms.double(1.2),
0073 StrangeMass = cms.double(0.19),
0074 Survive = cms.double(0.03),
0075 TauMass = cms.double(1.77),
0076 TopMass = cms.double(175.0),
0077 WMass = cms.double(80.33),
0078 ZMass = cms.double(91.187)
0079 ),
0080 ExhumeProcess = cms.PSet(
0081 MassRangeHigh = cms.double(2000.0),
0082 MassRangeLow = cms.double(300.0),
0083 ProcessType = cms.string('GG'),
0084 ThetaMin = cms.double(0.3)
0085 ),
0086 PythiaParameters = cms.PSet(
0087 parameterSets = cms.vstring()
0088 ),
0089 comEnergy = cms.double(13000.0),
0090 maxEventsToPrint = cms.untracked.int32(2),
0091 pythiaHepMCVerbosity = cms.untracked.bool(False),
0092 pythiaPylistVerbosity = cms.untracked.int32(1)
0093 )
0094
0095 process.ProductionFilterSequence = cms.Sequence(process.generator)
0096
0097
0098 process.o1 = cms.OutputModule("PoolOutputModule",
0099 outputCommands = cms.untracked.vstring('keep *'),
0100 fileName = cms.untracked.string('gluglu_step1_SIM2016.root')
0101 )
0102
0103 process.generation_step = cms.Path(process.pgen)
0104 process.simulation_step = cms.Path(process.psim)
0105 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0106 process.outpath = cms.EndPath(process.o1)
0107 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.outpath)
0108
0109
0110 for path in process.paths:
0111 getattr(process,path)._seq = process.ProductionFilterSequence * getattr(process,path)._seq
0112