Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-06-30 04:13:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("CALIB")
0004 process.MessageLogger = cms.Service("MessageLogger",
0005     cerr = cms.untracked.PSet(
0006         enable = cms.untracked.bool(False)
0007     ),
0008     cout = cms.untracked.PSet(
0009         enable = cms.untracked.bool(True),
0010         threshold = cms.untracked.string('INFO')
0011     )
0012 )
0013 
0014 process.source = cms.Source("EmptyIOVSource",
0015     firstValue = cms.uint64(1),
0016     lastValue = cms.uint64(100000),
0017     timetype = cms.string('runnumber'),
0018     interval = cms.uint64(1)
0019 )
0020 
0021 process.maxEvents = cms.untracked.PSet(
0022     input = cms.untracked.int32(-1)
0023 )
0024 process.a = cms.ESSource("PoolDBESSource",
0025     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0026     DBParameters = cms.PSet(
0027         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0028     ),
0029     timetype = cms.string('runnumber'),
0030     toGet = cms.VPSet(cms.PSet(
0031         record = cms.string('SiStripBadModuleRcd'),
0032         tag = cms.string('inputTag')
0033     )),
0034     connect = cms.string('sqlite_file:dbfile.db')
0035 )
0036 
0037 process.SiStripQualityESProducer = cms.ESProducer("SiStripQualityESProducer",
0038     PrintDebug = cms.untracked.bool(True),
0039     appendToDataLabel = cms.string('test'),
0040     ReduceGranularity = cms.bool(True),
0041     ThresholdForReducedGranularity = cms.double(0.3),
0042     ListOfRecordToMerge = cms.VPSet(cms.PSet(
0043         record = cms.string('SiStripBadModuleRcd'),
0044         tag = cms.string('')
0045     ))
0046 )
0047 
0048 #### Add these lines to produce a tracker map
0049 #process.load("DQM.SiStripCommon.TkHistoMap_cff")
0050 ### load TrackerTopology (needed for TkDetMap and TkHistoMap)
0051 #process.load("Configuration.Geometry.GeometryExtended2017_cff")
0052 #process.load("Geometry.TrackerGeometryBuilder.trackerParameters_cfi")
0053 #process.trackerTopology = cms.ESProducer("TrackerTopologyEP")
0054 ####
0055 
0056 from CalibTracker.SiStripQuality.siStripQualityStatistics_cfi import siStripQualityStatistics
0057 process.stat = siStripQualityStatistics.clone(
0058         #TkMapFileName = cms.untracked.string('TkMaps/TkMapBadComponents_offline.png'),
0059         StripQualityLabel = cms.string("test")
0060         )
0061 
0062 process.out = cms.OutputModule("AsciiOutputModule")
0063 
0064 process.p = cms.Path(process.stat)
0065 process.ep = cms.EndPath(process.out)
0066