Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("CALIB")
0005 process.MessageLogger = cms.Service("MessageLogger",
0006     cerr = cms.untracked.PSet(
0007         enable = cms.untracked.bool(False)
0008     ),
0009     cout = cms.untracked.PSet(
0010         enable = cms.untracked.bool(True),
0011         threshold = cms.untracked.string('INFO')
0012     )
0013 )
0014 
0015 process.source = cms.Source("EmptyIOVSource",
0016                             firstValue = cms.uint64(108597),
0017                             lastValue = cms.uint64(108597),
0018                             timetype = cms.string('runnumber'),
0019                             interval = cms.uint64(1)
0020                             )
0021 
0022 # the DB Geometry is NOT used because in this cfg only one tag is taken from the DB and no GT is used. To be fixed if this is a problem
0023 process.load('Configuration.Geometry.GeometryExtended_cff')
0024 process.TrackerTopologyEP = cms.ESProducer("TrackerTopologyEP")
0025 process.load("Geometry.TrackerGeometryBuilder.trackerParameters_cfi")
0026 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0027 process.trackerGeometry.applyAlignment = False
0028 
0029 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
0030 
0031 process.poolDBESSource = cms.ESSource(
0032                                       "PoolDBESSource",
0033                                       BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0034                                       DBParameters = cms.PSet(messageLevel = cms.untracked.int32(2),
0035                                                               authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0036                                                               ),
0037                                       timetype = cms.untracked.string('runnumber'),
0038                                       connect = cms.string('frontier://FrontierProd/CMS_COND_31X_STRIP'),
0039                                       toGet = cms.VPSet(cms.PSet(record = cms.string('SiStripNoisesRcd'),
0040                                                                  tag = cms.string('SiStripNoise_GR09_31X_v1_hlt')
0041                                                                  ),
0042                                                         cms.PSet(record = cms.string('SiStripBadChannelRcd'),
0043                                                                  tag = cms.string('SiStripBadComponents_OfflineAnalysis_HotStrips_GR09_31X_v1_offline')
0044                                                                  )
0045                                                         )
0046                                       )
0047     
0048 
0049 process.SiStripQualityESProducer = cms.ESProducer("SiStripQualityESProducer",
0050                                                   ReduceGranularity = cms.bool(False),
0051                                                   PrintDebugOutput = cms.bool(False),
0052                                                   UseEmptyRunInfo = cms.bool(False),
0053                                                   ListOfRecordToMerge = cms.VPSet(cms.PSet(record = cms.string('SiStripBadChannelRcd'),
0054                                                                                            tag = cms.string('')
0055                                                                                            )
0056                                                                                   )
0057                                                   )
0058 
0059 
0060 from CalibTracker.SiStripQuality.siStripQualityStatistics_cfi import siStripQualityStatistics
0061 process.stat = siStripQualityStatistics.clone(
0062         #TkMapFileName = cms.untracked.string('TkMaps/TkMapBadComponents_full.png'),
0063         )
0064 process.analysis = cms.EDAnalyzer("SiStripCorrelateBadStripAndNoise")
0065 
0066 
0067 process.p = cms.Path(process.stat+process.analysis)
0068