CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GenMuonMinPt100GeV_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("Gen")
4 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
5 
6 process.MessageLogger = cms.Service("MessageLogger",
7  cout = cms.untracked.PSet(
8  default = cms.untracked.PSet(
9  limit = cms.untracked.int32(0)
10  ),
11  FwkJob = cms.untracked.PSet(
12  limit = cms.untracked.int32(-1)
13  )
14  ),
15  categories = cms.untracked.vstring('FwkJob'),
16  destinations = cms.untracked.vstring('cout')
17 )
18 
19 process.Timing = cms.Service("Timing")
20 
21 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
22  sourceSeed = cms.untracked.uint32(98765)
23 )
24 
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),
30  # you can request more than 1 particle
31  #untracked vint32 PartID = {211,11}
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) ## in radians
37 
38  ),
39  Verbosity = cms.untracked.int32(0) ## set to 1 (or greater) for printouts
40 
41 )
42 
43 process.GEN = cms.OutputModule("PoolOutputModule",
44  datasets = cms.untracked.PSet(
45  dataset1 = cms.untracked.PSet(
46  dataTier = cms.untracked.string('GEN')
47  )
48  ),
49  fileName = cms.untracked.string('mu_minus_pt100GeV.root')
50 )
51 
52 process.configurationMetadata = cms.untracked.PSet(
53  annotation = cms.untracked.string('gen. mu- pt=100GeV for muon subsystems validation scan')
54 )
55 process.outpath = cms.EndPath(process.GEN)
56