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.HGCalCommonData.testHGCalV15XML_cfi")
0008 process.load("Geometry.HGCalCommonData.hgcalV15ParametersInitialization_cfi")
0009 process.load("Geometry.HGCalCommonData.hgcalNumberingInitialization_cfi")
0010 process.load("Geometry.EcalCommonData.ecalSimulationParameters_cff")
0011 process.load("Geometry.HcalCommonData.hcalDDDSimConstants_cff")
0012 process.load('FWCore.MessageService.MessageLogger_cfi')
0013 
0014 if hasattr(process,'MessageLogger'):
0015     process.MessageLogger.HGCalGeom=dict()
0016 
0017 process.load("IOMC.RandomEngine.IOMC_cff")
0018 process.RandomNumberGeneratorService.generator.initialSeed = 456789
0019 
0020 process.source = cms.Source("EmptySource")
0021 
0022 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0023                                    PGunParameters = cms.PSet(
0024                                        PartID = cms.vint32(14),
0025                                        MinEta = cms.double(-3.5),
0026                                        MaxEta = cms.double(3.5),
0027                                        MinPhi = cms.double(-3.14159265359),
0028                                        MaxPhi = cms.double(3.14159265359),
0029                                        MinE   = cms.double(9.99),
0030                                        MaxE   = cms.double(10.01)
0031                                    ),
0032                                    AddAntiParticle = cms.bool(False),
0033                                    Verbosity       = cms.untracked.int32(0),
0034                                    firstRun        = cms.untracked.uint32(1)
0035                                )
0036 
0037 process.maxEvents = cms.untracked.PSet(
0038     input = cms.untracked.int32(1)
0039 )
0040 
0041 process.load("Geometry.HGCalCommonData.hgcalNumberingTesterEE_cfi")
0042 process.hgcalNumberingTesterEE.LocalPositionX= [500.0,350.0,800.0,1400.0]
0043 process.hgcalNumberingTesterEE.LocalPositionY= [500.0,0.0,0.0,0.0]
0044 
0045 process.hgcalNumberingTesterHEF = process.hgcalNumberingTesterEE.clone(
0046     NameSense  = "HGCalHESiliconSensitive",
0047     NameDevice = "HGCal HE Front",
0048     Increment  = 9
0049 )
0050  
0051 process.hgcalNumberingTesterHEB = process.hgcalNumberingTesterEE.clone(
0052     NameSense  = "HGCalHEScintillatorSensitive",
0053     NameDevice = "HGCal HE Back",
0054     Increment  = 9,
0055     LocalPositionX= [1100.0,1400.0,1500.0,1600.0],
0056     LocalPositionY= [1100.0,1000.0,500.0,0.0],
0057     DetType    = 0
0058 )
0059  
0060 process.p1 = cms.Path(process.generator*process.hgcalNumberingTesterEE*process.hgcalNumberingTesterHEF*process.hgcalNumberingTesterHEB)