Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:14:20

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