Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("Gen")
00004 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
00005
00006 process.MessageLogger = cms.Service("MessageLogger",
00007 cout = cms.untracked.PSet(
00008 default = cms.untracked.PSet(
00009 limit = cms.untracked.int32(0)
00010 ),
00011 FwkJob = cms.untracked.PSet(
00012 limit = cms.untracked.int32(-1)
00013 )
00014 ),
00015 categories = cms.untracked.vstring('FwkJob'),
00016 destinations = cms.untracked.vstring('cout')
00017 )
00018
00019 process.Timing = cms.Service("Timing")
00020
00021 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
00022 sourceSeed = cms.untracked.uint32(98765)
00023 )
00024
00025 process.source = cms.Source("FlatRandomPtGunSource",
00026 maxEvents = cms.untracked.int32(100),
00027 PGunParameters = cms.untracked.PSet(
00028 MaxPt = cms.untracked.double(100.0),
00029 MinPt = cms.untracked.double(100.0),
00030
00031
00032 PartID = cms.untracked.vint32(-13),
00033 MaxEta = cms.untracked.double(2.6),
00034 MaxPhi = cms.untracked.double(3.14159265359),
00035 MinEta = cms.untracked.double(-2.6),
00036 MinPhi = cms.untracked.double(-3.14159265359)
00037
00038 ),
00039 Verbosity = cms.untracked.int32(0)
00040
00041 )
00042
00043 process.GEN = cms.OutputModule("PoolOutputModule",
00044 datasets = cms.untracked.PSet(
00045 dataset1 = cms.untracked.PSet(
00046 dataTier = cms.untracked.string('GEN')
00047 )
00048 ),
00049 fileName = cms.untracked.string('mu_plus_pt100GeV.root')
00050 )
00051
00052 process.configurationMetadata = cms.untracked.PSet(
00053 version = cms.untracked.string('$Revision: 1.1 $'),
00054 name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/Validation/MuonHits/python/GenMuonPlsPt100GeV_cfg.py,v $'),
00055 annotation = cms.untracked.string('gen. mu+ pt=100GeV for muon subsystems validation scan')
00056 )
00057 process.outpath = cms.EndPath(process.GEN)
00058