CMS 3D CMS Logo

GenH190ZZ4muExample_cfg.py

Go to the documentation of this file.
00001 # The following comments couldn't be translated into the new config version:
00002 
00003 # this is an example of the MessageLogger explicit configuration
00004 # it's different from "standard" configuration and shuts off all
00005 # messages to cout stream, etc.
00006 # if you want to free up Fwk messages, just uncomment
00007 # (others can be in a similar way)
00008 #
00009 
00010 import FWCore.ParameterSet.Config as cms
00011 
00012 process = cms.Process("Gen")
00013 # control point for all seeds
00014 #
00015 process.load("Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff")
00016 
00017 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
00018 
00019 process.load("Configuration.Generator.PythiaH190ZZ4mu_cfi")
00020 
00021 #replace PythiaSource.pythiaHepMCVerbosity = true # turn of HepMC list printouts
00022 #replace PythiaSource.pythiaPylistVerbosity = 1 # turn on Pythia printouts
00023 #replace PythiaSource.maxEventsToPrint = 1 # number of events to print
00024 # Vertex smearing
00025 # There're several types of Vertex smearing module (Gauss, Flat, BeamProfile, Betafunc, BetafuncEarlyCollisions);
00026 # the cff's are available for each one :
00027 # Configuration/StandardSequences/data/VtxSmearedGauss.cff
00028 # Configuration/StandardSequences/data/VtxSmearedFlat.cff
00029 # Configuration/StandardSequences/data/VtxSmearedBeamProfile.cff
00030 # Configuration/StandardSequences/data/VtxSmearedBetafuncNominalCollision.cff
00031 # Configuration/StandardSequences/data/vtxSmearedBetafuncEarlyCollision.cff
00032 # Currently, we suggest using Betafunc vertex smearing in the desired LHC configuration 
00033 process.load("Configuration.StandardSequences.VtxSmearedBetafuncEarlyCollision_cff")
00034 
00035 process.maxEvents = cms.untracked.PSet(
00036     input = cms.untracked.int32(100)
00037 )
00038 process.MessageLogger = cms.Service("MessageLogger",
00039     cout = cms.untracked.PSet(
00040         default = cms.untracked.PSet( ## kill all messages in the log
00041 
00042             limit = cms.untracked.int32(0)
00043         ),
00044         FwkJob = cms.untracked.PSet( ## except *all* of FwkJob's
00045 
00046             limit = cms.untracked.int32(-1)
00047         )
00048     ),
00049     categories = cms.untracked.vstring('FwkJob'),
00050     destinations = cms.untracked.vstring('cout')
00051 )
00052 
00053 process.GEN = cms.OutputModule("PoolOutputModule",
00054     fileName = cms.untracked.string('pythiaH190ZZ4mu.root')
00055 )
00056 
00057 process.p1 = cms.Path(process.VtxSmeared)
00058 process.e = cms.EndPath(process.GEN)
00059 process.schedule = cms.Schedule(process.p1,process.e)
00060 
00061 

Generated on Tue Jun 9 17:26:58 2009 for CMSSW by  doxygen 1.5.4