File indexing completed on 2024-04-06 12:13:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
0004 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.load("GeneratorInterface.ExternalDecays.TauSpinner_cfi")
0007
0008 process.MessageLogger.cerr = cms.untracked.PSet(
0009 threshold = cms.untracked.string('INFO'),
0010 FwkReport = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0011 DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(-1))
0012 )
0013
0014 numberOfEvents = 1000
0015
0016 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0017 TauSpinnerReco = cms.PSet(
0018 initialSeed = cms.untracked.uint32(123456789),
0019 engineName = cms.untracked.string('HepJamesRandom')
0020 )
0021 )
0022 process.randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer")
0023
0024 process.GlobalTag.globaltag = 'MC_70_V1::All'
0025
0026 process.source = cms.Source("PoolSource",fileNames = cms.untracked.vstring('file:/afs/cern.ch/user/i/inugent/tmp/5C3DF315-CF96-E111-9323-0025B3E05BF4.root'))
0027
0028 process.debugOutput = cms.OutputModule("PoolOutputModule",
0029 outputCommands = cms.untracked.vstring('keep *'),
0030 fileName = cms.untracked.string('TauSpinerRecoTest.root'),
0031 )
0032 process.out_step = cms.EndPath(process.debugOutput)
0033
0034 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(numberOfEvents) )
0035 process.p1 = cms.Path(process.TauSpinnerReco )
0036 process.schedule = cms.Schedule(process.p1)
0037 process.schedule.append(process.out_step)