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(
"FlatRandomPtGunSource",
26 maxEvents = cms.untracked.int32(100),
27 PGunParameters = cms.untracked.PSet(
28 MaxPt = cms.untracked.double(100.0),
29 MinPt = cms.untracked.double(100.0),
32 PartID = cms.untracked.vint32(-13),
33 MaxEta = cms.untracked.double(2.6),
34 MaxPhi = cms.untracked.double(3.14159265359),
35 MinEta = cms.untracked.double(-2.6),
36 MinPhi = cms.untracked.double(-3.14159265359)
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_plus_pt100GeV.root')
52 process.configurationMetadata = cms.untracked.PSet(
53 annotation = cms.untracked.string(
'gen. mu+ pt=100GeV for muon subsystems validation scan')
55 process.outpath = cms.EndPath(process.GEN)