Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:29:13

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("TEST")
0003 
0004 process.source = cms.Source("EmptySource")
0005 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
0006 
0007 process.tester = cms.EDAnalyzer("SiteLocalConfigServiceTester",
0008                             sourceTempDir=cms.untracked.string("/x/y/z"),
0009                             sourceCacheHint=cms.untracked.string("storage-only"),
0010                             sourceReadHint=cms.untracked.string("direct-unbuffered"),
0011                             sourceTTreeCacheSize=cms.untracked.uint32(0),
0012                             sourceNativeProtocols=cms.untracked.vstring("rfio"),
0013                             sourceValuesSet=cms.untracked.bool(True),
0014                             expectedUseLocalConnectString = cms.untracked.bool(True),
0015                             expectedLocalConnectPrefix = cms.untracked.string("TestOverride:Prefix"),
0016                             expectedLocalConnectSuffix = cms.untracked.string("TestOverride.Suffix")
0017 
0018 )
0019 
0020 process.o = cms.EndPath(process.tester)
0021 
0022 process.add_(cms.Service("SiteLocalConfigService",
0023                          overrideSourceCacheTempDir=cms.untracked.string("/x/y/z"),
0024                          overrideSourceCacheHintDir=cms.untracked.string("storage-only"),
0025                          overrideSourceReadHint=cms.untracked.string("direct-unbuffered"),
0026                          overrideSourceNativeProtocols=cms.untracked.vstring("rfio"),
0027                          overrideSourceTTreeCacheSize=cms.untracked.uint32(0),
0028                          overrideUseLocalConnectString = cms.untracked.bool(True),
0029                          overrideLocalConnectPrefix = cms.untracked.string("TestOverride:Prefix"),
0030                          overrideLocalConnectSuffix = cms.untracked.string("TestOverride.Suffix")
0031 ))