Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-31 23:46:15

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0005 
0006 #process.load("Geometry.CMSCommonData.cmsExtendedGeometry2026D49XML_cfi")
0007 #process.load("Geometry.CMSCommonData.cmsExtendedGeometry2026D68XML_cfi")
0008 #process.load("Geometry.CMSCommonData.cmsExtendedGeometry2026D70XML_cfi")
0009 #process.load("Geometry.CMSCommonData.cmsExtendedGeometry2026D71XML_cfi")
0010 process.load("Geometry.HGCalCommonData.testHGCXML_cfi")
0011 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0012 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0013 process.load("Geometry.EcalCommonData.ecalSimulationParameters_cff")
0014 process.load("Geometry.HcalCommonData.hcalDDDSimConstants_cff")
0015 process.load("Geometry.HGCalCommonData.hgcalParametersInitialization_cfi")
0016 process.load("Geometry.HGCalCommonData.hgcalNumberingInitialization_cfi")
0017 process.load('FWCore.MessageService.MessageLogger_cfi')
0018 process.load("Geometry.HGCalCommonData.hgcGeometryTester_cfi")
0019 
0020 if hasattr(process,'MessageLogger'):
0021     process.MessageLogger.HGCalGeom=dict()
0022     process.MessageLogger.HGCalGeomX=dict()
0023 
0024 process.load("IOMC.RandomEngine.IOMC_cff")
0025 process.RandomNumberGeneratorService.generator.initialSeed = 456789
0026 
0027 process.source = cms.Source("EmptySource")
0028 
0029 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0030                                    PGunParameters = cms.PSet(
0031                                        PartID = cms.vint32(14),
0032                                        MinEta = cms.double(-3.5),
0033                                        MaxEta = cms.double(3.5),
0034                                        MinPhi = cms.double(-3.14159265359),
0035                                        MaxPhi = cms.double(3.14159265359),
0036                                        MinE   = cms.double(9.99),
0037                                        MaxE   = cms.double(10.01)
0038                                    ),
0039                                    AddAntiParticle = cms.bool(False),
0040                                    Verbosity       = cms.untracked.int32(0),
0041                                    firstRun        = cms.untracked.uint32(1)
0042                                )
0043 
0044 process.maxEvents = cms.untracked.PSet(
0045     input = cms.untracked.int32(1)
0046 )
0047 
0048 process.p1 = cms.Path(process.generator*process.hgcGeometryTester)