Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:39

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('ESRAW2DIGI')
0004 
0005 process.load('Configuration/StandardSequences/Services_cff')
0006 process.load('FWCore/MessageService/MessageLogger_cfi')
0007 process.load('EventFilter/ESRawToDigi/esRawToDigi_cfi')
0008 process.esRawToDigi.sourceTag = 'esDigiToRaw'
0009 process.esRawToDigi.debugMode = True
0010 
0011 # Input source
0012 process.source = cms.Source("PoolSource",
0013                             fileNames = cms.untracked.vstring('file:/home/cmkuo/CMSSW/tmp/CMSSW_3_1_0_pre4/src/EventFilter/ESDigiToRaw/test/digi2raw.root')
0014                             )
0015 
0016 # Output definition
0017 process.output = cms.OutputModule("PoolOutputModule",
0018                                   fileName = cms.untracked.string('raw2digi.root'),
0019                                   )
0020 
0021 process.raw2digi = cms.Path(process.esRawToDigi)
0022 process.out_step = cms.EndPath(process.output)
0023 
0024 process.schedule = cms.Schedule(process.raw2digi, process.out_step)
0025