Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-03-16 03:17:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Sim")
0004 process.load("SimG4CMS.Calo.PythiaMinBias_cfi")
0005 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0006 process.load('FWCore.MessageService.MessageLogger_cfi')
0007 process.load("Configuration.Geometry.GeometryExtended2017Reco_cff")
0008 process.load("Configuration.StandardSequences.MagneticField_cff")
0009 process.load("Configuration.EventContent.EventContent_cff")
0010 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0011 from Configuration.AlCa.autoCond import autoCond
0012 process.GlobalTag.globaltag = autoCond['phase1_2017_design']
0013 
0014 process.source = cms.Source("PoolSource",
0015                             fileNames = cms.untracked.vstring(
0016         'root://xrootd.unl.edu//store/mc/Phys14DR/DYToMuMu_M-50_Tune4C_13TeV-pythia8/GEN-SIM-RECO/PU20bx25_tsg_castor_PHYS14_25_V1-v1/10000/184C1AC9-A775-E411-9196-002590200824.root'
0017 #        'file:/afs/cern.ch/user/a/amkalsi/public/ForSunandaDa/024A536E-48EE-E611-843A-001E67E71C95.root'
0018         )
0019 )
0020 
0021 process.maxEvents = cms.untracked.PSet(
0022     input = cms.untracked.int32(200)
0023 )
0024 
0025 if hasattr(process,'MessageLogger'):
0026     process.MessageLogger.HitStudy=dict()
0027 
0028 process.load("IOMC.RandomEngine.IOMC_cff")
0029 process.RandomNumberGeneratorService.generator.initialSeed = 456789
0030 process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876
0031 process.RandomNumberGeneratorService.VtxSmeared.initialSeed = 123456789
0032 process.rndmStore = cms.EDProducer("RandomEngineStateProducer")
0033 
0034 process.load("SimG4CMS.Calo.hcalSimHitDump_cfi")
0035 
0036 process.hcalSimHitDump.MaxEvent = 20
0037  
0038 process.schedule = cms.Path(process.hcalSimHitDump)
0039