Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-17 22:53:47

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.GeometryExtended2026D92_cff")
0006 process.load('FWCore.MessageService.MessageLogger_cfi')
0007 
0008 if hasattr(process,'MessageLogger'):
0009     process.MessageLogger.HGCalGeom=dict()
0010 
0011 process.load("IOMC.RandomEngine.IOMC_cff")
0012 process.RandomNumberGeneratorService.generator.initialSeed = 456789
0013 
0014 process.source = cms.Source("EmptySource")
0015 
0016 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0017                                    PGunParameters = cms.PSet(
0018                                        PartID = cms.vint32(14),
0019                                        MinEta = cms.double(-3.5),
0020                                        MaxEta = cms.double(3.5),
0021                                        MinPhi = cms.double(-3.14159265359),
0022                                        MaxPhi = cms.double(3.14159265359),
0023                                        MinE   = cms.double(9.99),
0024                                        MaxE   = cms.double(10.01)
0025                                    ),
0026                                    AddAntiParticle = cms.bool(False),
0027                                    Verbosity       = cms.untracked.int32(0),
0028                                    firstRun        = cms.untracked.uint32(1)
0029                                )
0030 
0031 process.maxEvents = cms.untracked.PSet(
0032     input = cms.untracked.int32(1)
0033 )
0034 
0035 process.load("Geometry.HGCalCommonData.hgcalPartialWaferTester_cfi")
0036 process.hgcalPartialWaferTester.nameSense = "HGCalEESensitive"
0037  
0038 process.p1 = cms.Path(process.generator*process.hgcalPartialWaferTester)