File indexing completed on 2024-04-06 12:27:38
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 process = cms.Process("PROD")
0005
0006
0007 process.maxEvents = cms.untracked.PSet(
0008 input = cms.untracked.int32(10)
0009 )
0010
0011
0012 process.source = cms.Source("EmptySource")
0013 process.load("Configuration.Generator.QCDForPF_cfi")
0014 process.generator.comEnergy = 14000.
0015
0016
0017 process.load("FastSimulation.Configuration.RandomServiceInitialization_cff")
0018 process.load("FastSimulation.Configuration.CommonInputs_cff")
0019
0020 process.RandomNumberGeneratorService.generator.initialSeed=1
0021 process.fastSimProducer.SimulateCalorimetry = True
0022 for layer in process.fastSimProducer.detectorDefinition.BarrelLayers:
0023 layer.interactionModels = cms.untracked.vstring("pairProduction", "nuclearInteraction", "bremsstrahlung", "energyLoss", "multipleScattering", "trackerSimHits")
0024 for layer in process.fastSimProducer.detectorDefinition.ForwardLayers:
0025 layer.interactionModels = cms.untracked.vstring("pairProduction", "nuclearInteraction", "bremsstrahlung", "energyLoss", "multipleScattering", "trackerSimHits")
0026 process.famosPileUp.PileUpSimulator.averageNumber = 0.0
0027
0028
0029
0030 process.GlobalTag.globaltag = "MC_3XY_V14::All"
0031
0032
0033 process.load("Configuration.StandardSequences.MagneticField_40T_cff")
0034
0035 process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True
0036
0037 process.load("RecoParticleFlow.PFProducer.particleFlowSimParticle_cff")
0038 process.load("RecoParticleFlow.PFTracking.particleFlowDisplacedVertexCandidate_cff")
0039 process.load("RecoParticleFlow.PFTracking.particleFlowDisplacedVertex_cff")
0040
0041
0042 process.p1 = cms.Path(
0043 process.generator +
0044 process.famosWithEverything +
0045 process.caloJetMetGen +
0046 process.particleFlowSimParticle +
0047 process.particleFlowDisplacedVertexCandidate +
0048 process.particleFlowDisplacedVertex
0049 )
0050
0051
0052 process.load("FastSimulation.Configuration.EventContent_cff")
0053 process.aod = cms.OutputModule("PoolOutputModule",
0054 process.AODSIMEventContent,
0055 fileName = cms.untracked.string('aod.root')
0056 )
0057
0058 process.reco = cms.OutputModule("PoolOutputModule",
0059 process.RECOSIMEventContent,
0060 fileName = cms.untracked.string('reco.root')
0061 )
0062
0063 process.load("RecoParticleFlow.Configuration.Display_EventContent_cff")
0064 process.display = cms.OutputModule("PoolOutputModule",
0065 process.DisplayEventContent,
0066 fileName = cms.untracked.string('display.root')
0067 )
0068
0069
0070 process.outpath = cms.EndPath(process.aod+process.display)
0071
0072