Difference: GenH190ZZ4muExample ( vs. 1)

Revision 12009-02-25 - SeoKonKang

 
META TOPICPARENT name="UosMeeting"
# The following comments couldn't be translated into the new config version:

# this is an example of the MessageLogger explicit configuration
# it's different from "standard" configuration and shuts off all
# messages to cout stream, etc.
# if you want to free up Fwk messages, just uncomment
# (others can be in a similar way)
#

import FWCore.ParameterSet.Config as cms

process = cms.Process("Gen")
# control point for all seeds
#
process.load("Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff")

process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")

process.load("Configuration.Generator.PythiaH190ZZ4mu_cfi")

#replace PythiaSource.pythiaHepMCVerbosity = true # turn of HepMC list printouts
#replace PythiaSource.pythiaPylistVerbosity = 1 # turn on Pythia printouts
#replace PythiaSource.maxEventsToPrint = 1 # number of events to print
# Vertex smearing
# There're several types of Vertex smearing module (Gauss, Flat, BeamProfile, Betafunc, BetafuncEarlyCollisions);
# the cff's are available for each one :
# Configuration/StandardSequences/data/VtxSmearedGauss.cff
# Configuration/StandardSequences/data/VtxSmearedFlat.cff
# Configuration/StandardSequences/data/VtxSmearedBeamProfile.cff
# Configuration/StandardSequences/data/VtxSmearedBetafuncNominalCollision.cff
# Configuration/StandardSequences/data/VtxSmearedBetafuncEarlyCollision.cff
# Currently, we suggest using Betafunc vertex smearing in the desired LHC configuration 
process.load("Configuration.StandardSequences.VtxSmearedBetafuncEarlyCollision_cff")

process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32(100)
)
process.MessageLogger = cms.Service("MessageLogger",
    cout = cms.untracked.PSet(
        default = cms.untracked.PSet( ## kill all messages in the log

            limit = cms.untracked.int32(0)
        ),
        FwkJob = cms.untracked.PSet( ## except *all* of FwkJob's

            limit = cms.untracked.int32(-1)
        )
    ),
    categories = cms.untracked.vstring('FwkJob'),
    destinations = cms.untracked.vstring('cout')
)

process.GEN = cms.OutputModule("PoolOutputModule",
    fileName = cms.untracked.string('pythiaH190ZZ4mu.root')
)

process.p1 = cms.Path(process.VtxSmeared)
process.e = cms.EndPath(process.GEN)
process.schedule = cms.Schedule(process.p1,process.e)


-- SeoKonKang - 25 Feb 2009

 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding KoreaCmsWiki? Send feedback