Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-04-01 02:23:16

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
0003 
0004 process = cms.Process("PROD",Phase2C11)
0005 
0006 process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0007 #process.load("Geometry.CMSCommonData.cmsExtendedGeometry2026D49XML_cfi")
0008 #process.load("Geometry.CMSCommonData.cmsExtendedGeometry2026D68XML_cfi")
0009 #process.load("Geometry.CMSCommonData.cmsExtendedGeometry2026D70XML_cfi")
0010 process.load("Geometry.HGCalCommonData.testHGCalV14XML_cfi")
0011 process.load("Geometry.HGCalCommonData.hgcalParametersInitialization_cfi")
0012 process.load("Geometry.HGCalCommonData.hgcalNumberingInitialization_cfi")
0013 process.load("Geometry.EcalCommonData.ecalSimulationParameters_cff")
0014 process.load("Geometry.HcalCommonData.hcalDDDSimConstants_cff")
0015 process.load('FWCore.MessageService.MessageLogger_cfi')
0016 
0017 if hasattr(process,'MessageLogger'):
0018     process.MessageLogger.HGCalGeom=dict()
0019 
0020 process.load("IOMC.RandomEngine.IOMC_cff")
0021 process.RandomNumberGeneratorService.generator.initialSeed = 456789
0022 
0023 process.source = cms.Source("EmptySource")
0024 
0025 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0026                                    PGunParameters = cms.PSet(
0027                                        PartID = cms.vint32(14),
0028                                        MinEta = cms.double(-3.5),
0029                                        MaxEta = cms.double(3.5),
0030                                        MinPhi = cms.double(-3.14159265359),
0031                                        MaxPhi = cms.double(3.14159265359),
0032                                        MinE   = cms.double(9.99),
0033                                        MaxE   = cms.double(10.01)
0034                                    ),
0035                                    AddAntiParticle = cms.bool(False),
0036                                    Verbosity       = cms.untracked.int32(0),
0037                                    firstRun        = cms.untracked.uint32(1)
0038                                )
0039 
0040 process.maxEvents = cms.untracked.PSet(
0041     input = cms.untracked.int32(1)
0042 )
0043 
0044 process.load("Geometry.HGCalCommonData.hgcalNumberingTesterEE_cfi")
0045 process.hgcalNumberingTesterEE.LocalPositionX= [500.0,350.0,800.0,1400.0]
0046 process.hgcalNumberingTesterEE.LocalPositionY= [500.0,0.0,0.0,0.0]
0047 #process.hgcalNumberingTesterEE.DetType = 1
0048 
0049 process.hgcalNumberingTesterHEF = process.hgcalNumberingTesterEE.clone(
0050     NameSense  = "HGCalHESiliconSensitive",
0051     NameDevice = "HGCal HE Front",
0052     Increment  = 9
0053 )
0054  
0055 process.hgcalNumberingTesterHEB = process.hgcalNumberingTesterEE.clone(
0056     NameSense  = "HGCalHEScintillatorSensitive",
0057     NameDevice = "HGCal HE Back",
0058     Increment  = 9,
0059     LocalPositionX= [1100.0,1400.0,1500.0,1600.0],
0060     LocalPositionY= [1100.0,1000.0,500.0,0.0],
0061     DetType    = 0
0062 )
0063  
0064 #process.p1 = cms.Path(process.generator*process.hgcalNumberingTesterEE*process.hgcalNumberingTesterHEF)
0065 process.p1 = cms.Path(process.generator*process.hgcalNumberingTesterEE*process.hgcalNumberingTesterHEF*process.hgcalNumberingTesterHEB)