Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:27

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("ICALIB")
0003 
0004 process.load("Configuration.Geometry.GeometryExtended2017_cff")
0005 process.load("Geometry.TrackerGeometryBuilder.trackerParameters_cfi")
0006 process.TrackerTopologyEP = cms.ESProducer("TrackerTopologyEP")
0007 
0008 process.MessageLogger = cms.Service("MessageLogger",
0009     cerr = cms.untracked.PSet(
0010         enable = cms.untracked.bool(False)
0011     ),
0012     cout = cms.untracked.PSet(
0013         enable = cms.untracked.bool(True),
0014         threshold = cms.untracked.string('INFO')
0015     )
0016 )
0017 
0018 process.source = cms.Source("EmptyIOVSource",
0019     timetype = cms.string('runnumber'),
0020     firstValue = cms.uint64(1),
0021     lastValue = cms.uint64(1),
0022     interval = cms.uint64(1)
0023 )
0024 
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32(1)
0027 )
0028 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0029     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0030     DBParameters = cms.PSet(
0031         authenticationPath = cms.untracked.string('')
0032     ),
0033     timetype = cms.untracked.string('runnumber'),
0034     connect = cms.string('sqlite_file:SiPixelQuality_phase1_2018_permanentlyBad.db'),
0035     toPut = cms.VPSet(cms.PSet(
0036         record = cms.string('SiPixelQualityFromDbRcd'),
0037         tag = cms.string('SiPixelQuality_phase1_2018_permanentlyBad')
0038     ))
0039 )
0040 
0041 process.prod = cms.EDAnalyzer("SiPixelBadModuleByHandBuilder",
0042                               BadModuleList = cms.untracked.VPSet(),
0043                               Record = cms.string('SiPixelQualityFromDbRcd'),
0044                               SinceAppendMode = cms.bool(True),
0045                               IOVMode = cms.string('Run'),
0046                               printDebug = cms.untracked.bool(True),
0047                               doStoreOnDB = cms.bool(True),
0048                               ROCListFile = cms.untracked.string("forPermanentSiPixelQuality_unlabeled.txt"),
0049                               )
0050 
0051 #process.print = cms.OutputModule("AsciiOutputModule")
0052 
0053 process.p = cms.Path(process.prod)
0054 #process.ep = cms.EndPath(process.print)