CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/Validation/MuonHits/python/GenMuonMinE100GeV_cfg.py

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("FlatRandomEGunSource",
00026     maxEvents = cms.untracked.int32(100),
00027     PGunParameters = cms.untracked.PSet(
00028         # you can request more than 1 particle
00029         #untracked vint32  PartID = {211,11}
00030         PartID = cms.untracked.vint32(13),
00031         MaxEta = cms.untracked.double(2.4),
00032         MaxPhi = cms.untracked.double(3.14159265359),
00033         MinEta = cms.untracked.double(-2.4),
00034         MinE = cms.untracked.double(100.0),
00035         MinPhi = cms.untracked.double(-3.14159265359), ## in radians
00036 
00037         MaxE = cms.untracked.double(100.0)
00038     ),
00039     Verbosity = cms.untracked.int32(0) ## set to 1 (or greater)  for printouts
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_minus_e100GeV.root')
00050 )
00051 
00052 process.configurationMetadata = cms.untracked.PSet(
00053     version = cms.untracked.string('$Revision: 1.1 $'),
00054     name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/Validation/MuonHits/python/GenMuonMinE100GeV_cfg.py,v $'),
00055     annotation = cms.untracked.string('gen. muons for muon subsystems validation scan')
00056 )
00057 process.outpath = cms.EndPath(process.GEN)
00058