Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-29 07:44:26

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
0004 process = cms.Process("PROD",Phase2C11)
0005 
0006 process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0007 process.load("Configuration.Geometry.GeometryExtended2026D71Reco_cff")
0008 process.load('Configuration.StandardSequences.MagneticField_cff')
0009 process.load('TrackingTools.TrackAssociator.DetIdAssociatorESProducer_cff')
0010 process.load('FWCore.MessageService.MessageLogger_cfi')
0011 process.load('Geometry.HGCalGeometry.hgcalTestNeighbor_cfi')
0012 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0013 from Configuration.AlCa.autoCond import autoCond
0014 process.GlobalTag.globaltag = autoCond['phase2_realistic']
0015 
0016 if hasattr(process,'MessageLogger'):
0017     process.MessageLogger.HGCalGeom=dict()
0018     process.MessageLogger.HGCalGeomX=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 
0045 #process.p1 = cms.Path(process.generator*process.hgcalEETestNeighbor)
0046 process.p1 = cms.Path(process.generator*process.hgcalEETestNeighbor*process.hgcalHEFTestNeighbor*process.hgcalHEBTestNeighbor)