Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-04-06 03:10:52

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ICALIB")
0004 
0005 process.load("Configuration.StandardSequences.Services_cff")
0006 process.RandomNumberGeneratorService.prod = cms.PSet(
0007     initialSeed = cms.untracked.uint32(789341),
0008     engineName = cms.untracked.string('TRandom3')
0009 )
0010 
0011 ## speciffy detector D49, as the geometry is needed (will take tracker T15)
0012 process.load("Configuration.Geometry.GeometryExtended2026D49_cff")
0013 process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')
0014 
0015 process.MessageLogger = cms.Service("MessageLogger",
0016     cerr = cms.untracked.PSet(
0017         enable = cms.untracked.bool(False)
0018     ),
0019     cout = cms.untracked.PSet(
0020         enable = cms.untracked.bool(True),
0021         threshold = cms.untracked.string('INFO')
0022     )
0023 )
0024 
0025 process.source = cms.Source("EmptyIOVSource",
0026     lastValue = cms.uint64(1),
0027     timetype = cms.string('runnumber'),
0028     firstValue = cms.uint64(1),
0029     interval = cms.uint64(1)
0030 )
0031 
0032 process.maxEvents = cms.untracked.PSet(
0033     input = cms.untracked.int32(1)
0034 )
0035 
0036 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0037     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0038     DBParameters = cms.PSet(
0039         authenticationPath = cms.untracked.string('')
0040     ),
0041     timetype = cms.untracked.string('runnumber'),
0042     connect = cms.string('sqlite_file:SiStripBadStripPhase2_T15_v0.db'),
0043     toPut = cms.VPSet(cms.PSet(
0044         record = cms.string('SiStripBadStripRcd'),
0045         tag = cms.string('SiStripBadStripPhase2_T15')
0046     ))
0047 )
0048 
0049 process.prod = cms.EDAnalyzer("SiPhase2BadStripChannelBuilder",                    
0050                               Record = cms.string('SiStripBadStripRcd'),
0051                               SinceAppendMode = cms.bool(True),
0052                               IOVMode = cms.string('Run'),
0053                               printDebug = cms.untracked.bool(False),
0054                               doStoreOnDB = cms.bool(True),
0055                               #popConAlgo = cms.uint32(1), #NAIVE
0056                               popConAlgo = cms.uint32(2), #RANDOM
0057                               badComponentsFraction = cms.double(0.01)  #1% of bad strips
0058                               #badComponentsFraction = cms.double(0.05)  #5% of bad strips
0059                               #badComponentsFraction = cms.double(0.1)   #10% of bad strips
0060                               )
0061 
0062 #process.print = cms.OutputModule("AsciiOutputModule")
0063 
0064 process.p = cms.Path(process.prod)
0065 #process.ep = cms.EndPath(process.print)