Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-04-02 03:10:43

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0005 #process.load("Geometry.CMSCommonData.cmsExtendedGeometry2026D49XML_cfi")
0006 #process.load("Geometry.CMSCommonData.cmsExtendedGeometry2026D68XML_cfi")
0007 #process.load("Geometry.CMSCommonData.cmsExtendedGeometry2026D70XML_cfi")
0008 process.load("Geometry.HGCalCommonData.testHGCalV14XML_cfi")
0009 process.load("Geometry.HGCalCommonData.hgcalParametersInitialization_cfi")
0010 process.load("Geometry.HGCalCommonData.hgcalNumberingInitialization_cfi")
0011 process.load("Geometry.EcalCommonData.ecalSimulationParameters_cff")
0012 process.load("Geometry.HcalCommonData.hcalDDDSimConstants_cff")
0013 process.load('FWCore.MessageService.MessageLogger_cfi')
0014 
0015 if hasattr(process,'MessageLogger'):
0016     process.MessageLogger.HGCalGeom=dict()
0017 
0018 process.load("IOMC.RandomEngine.IOMC_cff")
0019 process.RandomNumberGeneratorService.generator.initialSeed = 456789
0020 
0021 process.source = cms.Source("EmptySource")
0022 
0023 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0024                                    PGunParameters = cms.PSet(
0025                                        PartID = cms.vint32(14),
0026                                        MinEta = cms.double(-3.5),
0027                                        MaxEta = cms.double(3.5),
0028                                        MinPhi = cms.double(-3.14159265359),
0029                                        MaxPhi = cms.double(3.14159265359),
0030                                        MinE   = cms.double(9.99),
0031                                        MaxE   = cms.double(10.01)
0032                                    ),
0033                                    AddAntiParticle = cms.bool(False),
0034                                    Verbosity       = cms.untracked.int32(0),
0035                                    firstRun        = cms.untracked.uint32(1)
0036                                )
0037 
0038 process.maxEvents = cms.untracked.PSet(
0039     input = cms.untracked.int32(1)
0040 )
0041 
0042 process.load("Geometry.HGCalCommonData.hgcalWaferTesterEE_cfi")
0043 
0044 process.hgcalWaferTesterHEF = process.hgcalWaferTesterEE.clone(
0045     NameSense  = "HGCalHESiliconSensitive",
0046     NameDevice = "HGCal HE Front",
0047 )
0048  
0049  
0050 process.p1 = cms.Path(process.generator*process.hgcalWaferTesterEE*process.hgcalWaferTesterHEF)