Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29:57

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0005 process.load("IOMC.EventVertexGenerators.VtxSmearedGauss_cfi")
0006 process.load("Configuration.StandardSequences.GeometryExtended_cff")
0007 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0008 process.load("Geometry.EcalCommonData.ecalSimulationParameters_cff")
0009 process.load("Geometry.HcalCommonData.hcalDDConstants_cff")
0010 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0011 process.load("Geometry.MuonNumbering.muonOffsetESProducer_cff")
0012 process.load("Configuration.StandardSequences.MagneticField_cff")
0013 process.load("Configuration.EventContent.EventContent_cff")
0014 process.load('Configuration.StandardSequences.Generator_cff')
0015 process.load('Configuration.StandardSequences.SimIdeal_cff')
0016 process.load("Calibration.IsolatedParticles.electronStudy_cfi")
0017 process.load("FWCore.MessageService.MessageLogger_ReleaseValidation_cfi")
0018 
0019 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0020 from Configuration.AlCa.autoCond import autoCond
0021 process.GlobalTag.globaltag = autoCond['run1_mc']
0022 
0023 process.load("IOMC.RandomEngine.IOMC_cff")
0024 process.RandomNumberGeneratorService.generator.initialSeed = 456789
0025 process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876
0026 process.RandomNumberGeneratorService.VtxSmeared.initialSeed = 123456789
0027 process.rndmStore = cms.EDProducer("RandomEngineStateProducer")
0028 
0029 process.Timing = cms.Service("Timing")
0030 
0031 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",
0032     oncePerEventMode = cms.untracked.bool(True),
0033     showMallocInfo = cms.untracked.bool(True),
0034     dump = cms.untracked.bool(True),
0035     ignoreTotal = cms.untracked.int32(1)
0036 )
0037 
0038 process.maxEvents = cms.untracked.PSet(
0039     input = cms.untracked.int32(-1)
0040 )
0041 
0042 process.source = cms.Source("PoolSource",
0043                             fileNames =cms.untracked.vstring("file:ttbar.root")
0044 )
0045 
0046 process.rndmStore = cms.EDProducer("RandomEngineStateProducer")
0047 
0048 process.output = cms.OutputModule("PoolOutputModule",
0049     process.FEVTSIMEventContent,
0050     fileName = cms.untracked.string('Simevent_ttbar_FTFP_BERT_EML.root')
0051 )
0052 
0053 process.TFileService = cms.Service("TFileService",
0054     fileName = cms.string('ttbar_FTFP_BERT_EML.root')
0055 )
0056 
0057 process.generation_step = cms.Path(process.pgen)
0058 process.simulation_step = cms.Path(process.psim)
0059 process.analysis_step   = cms.Path(process.electronStudy)
0060 process.out_step = cms.EndPath(process.output)
0061 
0062 process.g4SimHits.Physics.type = 'SimG4Core/Physics/FTFP_BERT_EML'
0063 
0064 # Schedule definition
0065 process.schedule = cms.Schedule(process.generation_step,
0066                                 process.simulation_step,
0067                                 process.analysis_step,
0068                                 process.out_step
0069                                 )