Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-10-12 22:41:51

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 process.load("Geometry.HGCalCommonData.testHGCalV16XML_cfi")
0007 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cff")
0008 process.load("Geometry.EcalCommonData.ecalSimulationParameters_cff")
0009 process.load("Geometry.HcalCommonData.hcalDDDSimConstants_cff")
0010 process.load("Geometry.HGCalCommonData.hgcalV15ParametersInitialization_cfi")
0011 process.load("Geometry.HGCalCommonData.hgcalNumberingInitialization_cfi")
0012 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0013 process.load("Geometry.MuonNumbering.muonOffsetESProducer_cff")
0014 process.load("Geometry.MTDNumberingBuilder.mtdNumberingGeometry_cff")
0015 process.load("Geometry.CaloEventSetup.HGCalV9Topology_cfi")
0016 process.load("Geometry.HGCalGeometry.HGCalGeometryESProducer_cfi")
0017 process.load("Geometry.HGCalGeometry.hgcalEEWaferInFileCheck_cfi")
0018 
0019 process.load('FWCore.MessageService.MessageLogger_cfi')
0020 if hasattr(process,'MessageLogger'):
0021     process.MessageLogger.HGCalGeom=dict()
0022 
0023 process.load("IOMC.RandomEngine.IOMC_cff")
0024 process.RandomNumberGeneratorService.generator.initialSeed = 456789
0025 
0026 process.source = cms.Source("EmptySource")
0027 
0028 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0029                                    PGunParameters = cms.PSet(
0030                                        PartID = cms.vint32(14),
0031                                        MinEta = cms.double(-3.5),
0032                                        MaxEta = cms.double(3.5),
0033                                        MinPhi = cms.double(-3.14159265359),
0034                                        MaxPhi = cms.double(3.14159265359),
0035                                        MinE   = cms.double(9.99),
0036                                        MaxE   = cms.double(10.01)
0037                                    ),
0038                                    AddAntiParticle = cms.bool(False),
0039                                    Verbosity       = cms.untracked.int32(0),
0040                                    firstRun        = cms.untracked.uint32(1)
0041                                )
0042 
0043 process.maxEvents = cms.untracked.PSet(
0044     input = cms.untracked.int32(1)
0045 )
0046 
0047 process.hgcalHEWaferInFileCheck = process.hgcalEEWaferInFileCheck.clone(
0048     NameSense  = "HGCalHESiliconSensitive",
0049     NameDevice = "HGCal HE Silicon",
0050 )
0051 
0052 process.p1 = cms.Path(process.generator*process.hgcalEEWaferInFileCheck*process.hgcalHEWaferInFileCheck)