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