/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
GeneratorInterface/Pythia6Interface/test/BasicGenTester_cfg.py
32 строки
1008 B
Giulio Eulisse
Snapshot of CMSSW_6_2_0_pre8.
26 июн 2013, 18:12
26 июн 2013, 18:12
214ab73
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms process = cms.Process("Analysis") # run the input file through the end; # for a limited number of events, replace -1 with the desired number # process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) process.load( "SimGeneral.HepPDTESSource.pythiapdt_cfi" ) process.source = cms.Source( "PoolSource", fileNames = cms.untracked.vstring( 'file:MG_ZJetsLNu_tauola.root' ) ) # FileService is mandatory, as the following analyzer module # will want it, to create output histogram file # process.TFileService = cms.Service("TFileService", fileName = cms.string("BasicGenTester_MG_ZJetsLNu_tauola.root") ) # the analyzer itself - empty parameter set # process.BasicGenTest = cms.EDAnalyzer( "BasicGenTester", NPartForHisto = cms.untracked.int32(1000), PtMaxForHisto = cms.untracked.double(5.0) ) process.p1 = cms.Path( process.BasicGenTest )