Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:28

0001 import FWCore.ParameterSet.Config as cms    
0002 
0003 process = cms.Process("TEST")
0004 process.add_(cms.Service( "MessageLogger"))
0005 process.source = cms.Source( "EmptySource" )
0006 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0007 
0008 process.SiStripNoisesRcdSource = cms.ESSource( "EmptyESSource",
0009                                                recordName = cms.string( "SiStripNoisesRcd" ),
0010                                                iovIsRunNotTime = cms.bool( True ),
0011                                                firstValid = cms.vuint32( 1 )
0012                                                )
0013 process.SiStripGainRcdSource = cms.ESSource( "EmptyESSource",
0014                                              recordName = cms.string( "SiStripGainRcd" ),
0015                                              iovIsRunNotTime = cms.bool( True ),
0016                                              firstValid = cms.vuint32( 1 )
0017                                              )
0018 process.SiStripQualityRcdSource = cms.ESSource( "EmptyESSource",
0019                                                 recordName = cms.string( "SiStripQualityRcd" ),
0020                                                 iovIsRunNotTime = cms.bool( True ),
0021                                                 firstValid = cms.vuint32( 1 )
0022                                                 )
0023 
0024 process.load("RecoLocalTracker.SiStripClusterizer.test.ClusterizerUnitTestFunctions_cff")
0025 process.load("RecoLocalTracker.SiStripClusterizer.test.ClusterizerUnitTests_cff")
0026 testDefinition = cms.VPSet() + [ process.clusterizerTests ]
0027 
0028 process.es           = cms.ESProducer("ClusterizerUnitTesterESProducer", ClusterizerTestGroups = testDefinition  )
0029 process.runUnitTests = cms.EDAnalyzer("ClusterizerUnitTester",           ClusterizerTestGroups = testDefinition  )
0030 
0031 process.path = cms.Path( process.runUnitTests )