Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:08:10

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0005 
0006 process.load("Geometry.ForwardCommonData.hfnoseXML_cfi")
0007 process.load("Geometry.ForwardCommonData.hfnoseParametersInitialization_cfi")
0008 process.load("Geometry.ForwardCommonData.hfnoseNumberingInitialization_cfi")
0009 process.load("Geometry.CaloEventSetup.HFNoseTopology_cfi")
0010 process.load("Geometry.ForwardGeometry.HFNoseGeometryESProducer_cfi")
0011 process.load('FWCore.MessageService.MessageLogger_cfi')
0012 
0013 if hasattr(process,'MessageLogger'):
0014     process.MessageLogger.HGCalGeom=dict()
0015 
0016 process.load("IOMC.RandomEngine.IOMC_cff")
0017 process.RandomNumberGeneratorService.generator.initialSeed = 456789
0018 
0019 process.source = cms.Source("EmptySource")
0020 
0021 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0022     PGunParameters = cms.PSet(
0023         PartID = cms.vint32(14),
0024         MinEta = cms.double(-3.5),
0025         MaxEta = cms.double(3.5),
0026         MinPhi = cms.double(-3.14159265359),
0027         MaxPhi = cms.double(3.14159265359),
0028         MinE   = cms.double(9.99),
0029         MaxE   = cms.double(10.01)
0030     ),
0031     AddAntiParticle = cms.bool(False),
0032     Verbosity       = cms.untracked.int32(0),
0033     firstRun        = cms.untracked.uint32(1)
0034 )
0035 
0036 process.maxEvents = cms.untracked.PSet(
0037     input = cms.untracked.int32(1)
0038 )
0039 
0040 process.prodNose = cms.EDAnalyzer("HFNoseGeometryTester",
0041                                   Detector   = cms.string("HGCalHFNoseSensitive"),
0042                                   )
0043 
0044 process.p1 = cms.Path(process.generator*process.prodNose)