CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GenMuonMinE100GeV_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("FlatRandomEGunSource",
26  maxEvents = cms.untracked.int32(100),
27  PGunParameters = cms.untracked.PSet(
28  # you can request more than 1 particle
29  #untracked vint32 PartID = {211,11}
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), ## in radians
36 
37  MaxE = cms.untracked.double(100.0)
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_e100GeV.root')
50 )
51 
52 process.configurationMetadata = cms.untracked.PSet(
53  version = cms.untracked.string('$Revision: 1.1 $'),
54  name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/Validation/MuonHits/python/GenMuonMinE100GeV_cfg.py,v $'),
55  annotation = cms.untracked.string('gen. muons for muon subsystems validation scan')
56 )
57 process.outpath = cms.EndPath(process.GEN)
58