3 process = cms.Process(
"Gen")
4 process.load(
"SimGeneral.HepPDTESSource.pythiapdt_cfi")
6 process.MessageLogger = cms.Service(
"MessageLogger",
7 cout = cms.untracked.PSet(
8 default = cms.untracked.PSet(
9 limit = cms.untracked.int32(0)
11 FwkJob = cms.untracked.PSet(
12 limit = cms.untracked.int32(-1)
15 categories = cms.untracked.vstring(
'FwkJob'),
16 destinations = cms.untracked.vstring(
'cout')
19 process.Timing = cms.Service(
"Timing")
21 process.RandomNumberGeneratorService = cms.Service(
"RandomNumberGeneratorService",
22 sourceSeed = cms.untracked.uint32(98765)
25 process.source = cms.Source(
"FlatRandomEGunSource",
26 maxEvents = cms.untracked.int32(100),
27 PGunParameters = cms.untracked.PSet(
30 PartID = cms.untracked.vint32(13),
31 MaxEta = cms.untracked.double(2.4),
32 MaxPhi = cms.untracked.double(3.14159265359),
33 MinEta = cms.untracked.double(-2.4),
34 MinE = cms.untracked.double(100.0),
35 MinPhi = cms.untracked.double(-3.14159265359),
37 MaxE = cms.untracked.double(100.0)
39 Verbosity = cms.untracked.int32(0)
43 process.GEN = cms.OutputModule(
"PoolOutputModule",
44 datasets = cms.untracked.PSet(
45 dataset1 = cms.untracked.PSet(
46 dataTier = cms.untracked.string(
'GEN')
49 fileName = cms.untracked.string(
'mu_minus_e100GeV.root')
52 process.configurationMetadata = cms.untracked.PSet(
53 annotation = cms.untracked.string(
'gen. muons for muon subsystems validation scan')
55 process.outpath = cms.EndPath(process.GEN)