Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-30 23:47:27

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0005 process.load("Configuration.Geometry.GeometryExtended2026D83Reco_cff")
0006 process.load("FWCore.MessageService.MessageLogger_cfi")
0007 process.load("Geometry.CaloTopology.hgcalTopologyTester_cfi")
0008 
0009 if 'MessageLogger' in process.__dict__:
0010     process.MessageLogger.HGCalGeom=dict()
0011 
0012 process.load("IOMC.RandomEngine.IOMC_cff")
0013 process.RandomNumberGeneratorService.generator.initialSeed = 456789
0014 
0015 process.source = cms.Source("EmptySource")
0016 
0017 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0018     PGunParameters = cms.PSet(
0019         PartID = cms.vint32(14),
0020         MinEta = cms.double(-3.5),
0021         MaxEta = cms.double(3.5),
0022         MinPhi = cms.double(-3.14159265359),
0023         MaxPhi = cms.double(3.14159265359),
0024         MinE   = cms.double(9.99),
0025         MaxE   = cms.double(10.01)
0026     ),
0027     AddAntiParticle = cms.bool(False),
0028     Verbosity       = cms.untracked.int32(0),
0029     firstRun        = cms.untracked.uint32(1)
0030 )
0031 
0032 process.maxEvents = cms.untracked.PSet(
0033     input = cms.untracked.int32(1)
0034 )
0035 
0036 process.p1 = cms.Path(process.generator*
0037                       process.hgcalTopologyTesterEE*
0038                       process.hgcalTopologyTesterHEF*
0039                       process.hgcalTopologyTesterHEB)