Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:02

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TRANSFER")
0004 
0005 import FWCore.Framework.test.cmsExceptionsFatal_cff
0006 process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options
0007 
0008 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0009 
0010 process.source = cms.Source("WatcherSource",
0011                             inputDir = cms.string("."),
0012                             filePatterns = cms.vstring("inDir/.*\.dat"),
0013                             inprocessDir = cms.string("process"),
0014                             processedDir = cms.string("processed"),
0015                             corruptedDir = cms.string("corrupt"),
0016                             tokenFile = cms.untracked.string("watcherSourceToken"),
0017                             timeOutInSec = cms.int32(10),
0018                             verbosity = cms.untracked.int32(1)
0019 )
0020 
0021 #process.finishProcessFile = cms.EDAnalyzer("ecallasersortingtest::CreateFileAfterStartAnalyzer",
0022 #                              fileName = cms.untracked.string("watcherSourceToken")
0023 #)
0024 
0025 process.a1 = cms.EDAnalyzer("StreamThingAnalyzer",
0026     product_to_get = cms.string('m1')
0027 )
0028 
0029 process.out = cms.OutputModule("PoolOutputModule",
0030     fileName = cms.untracked.string('myout.root')
0031 )
0032 
0033 process.end = cms.EndPath(process.a1*process.out)