CMS 3D CMS Logo

single_neutrino_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("TestProcess")
00004 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
00005 
00006 process.source = cms.Source("EmptySource")
00007 
00008 process.maxEvents = cms.untracked.PSet(
00009     input = cms.untracked.int32(10000)
00010 )
00011 process.writer = cms.EDFilter("FlatEGunASCIIWriter",
00012     # you can give it or not ; the default is FlatEGunHepMC.dat"
00013     OutFileName = cms.untracked.string('single_neutrino.random.dat'),
00014     PGunParameters = cms.PSet(
00015         PartID = cms.vint32(14),
00016         MaxEta = cms.double(5.5),
00017         MaxPhi = cms.double(3.14159265359),
00018         MinEta = cms.double(-5.5),
00019         MinE = cms.double(9.99),
00020         MinPhi = cms.double(-3.14159265359),
00021         MaxE = cms.double(10.01)
00022     )
00023 )
00024 
00025 process.p1 = cms.Path(process.writer)
00026 

Generated on Tue Jun 9 17:49:14 2009 for CMSSW by  doxygen 1.5.4