Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-29 22:16:06

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
0004 process = cms.Process("PROD",Phase2C11)
0005 process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0006 process.load('Configuration.Geometry.GeometryExtended2026D86Reco_cff')
0007 process.load('FWCore.MessageService.MessageLogger_cfi')
0008 
0009 if hasattr(process,'MessageLogger'):
0010     process.MessageLogger.HGCalGeom=dict()
0011     process.MessageLogger.HGCalGeomX=dict()
0012 
0013 process.load("IOMC.RandomEngine.IOMC_cff")
0014 process.RandomNumberGeneratorService.generator.initialSeed = 456789
0015 
0016 process.source = cms.Source("EmptySource")
0017 
0018 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0019     PGunParameters = cms.PSet(
0020         PartID = cms.vint32(14),
0021         MinEta = cms.double(-3.5),
0022         MaxEta = cms.double(3.5),
0023         MinPhi = cms.double(-3.14159265359),
0024         MaxPhi = cms.double(3.14159265359),
0025         MinE   = cms.double(9.99),
0026         MaxE   = cms.double(10.01)
0027     ),
0028     AddAntiParticle = cms.bool(False),
0029     Verbosity       = cms.untracked.int32(0),
0030     firstRun        = cms.untracked.uint32(1)
0031 )
0032 
0033 process.maxEvents = cms.untracked.PSet(
0034     input = cms.untracked.int32(1)
0035 )
0036 
0037 process.prodEE = cms.EDAnalyzer("HGCalGeometryCornerTester",
0038                                 detector   = cms.string("HGCalEESensitive"),
0039                                 cornerType = cms.int32(0)
0040                                 )
0041 
0042 process.prodHEF = process.prodEE.clone(
0043     detector   = "HGCalHESiliconSensitive",
0044 )
0045 
0046 process.prodHEB = process.prodEE.clone(
0047     detector   = "HGCalHEScintillatorSensitive",
0048 )
0049 
0050 process.p1 = cms.Path(process.generator*process.prodEE*process.prodHEF)
0051 #process.p1 = cms.Path(process.prodHEB)
0052 #process.p1 = cms.Path(process.generator*process.prodEE*process.prodHEF*process.prodHEB)