Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:55

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('BUILDTKMAP')
0004 
0005 process.maxEvents = cms.untracked.PSet(
0006     input = cms.untracked.int32(1)
0007 )
0008 process.source = cms.Source("EmptySource")
0009 
0010 process.load('FWCore/MessageService/MessageLogger_cfi')
0011 process.MessageLogger = cms.Service("MessageLogger",
0012     cerr = cms.untracked.PSet(
0013         noLineBreaks = cms.untracked.bool(False),
0014         threshold = cms.untracked.string('ERROR')
0015     ),
0016     files = cms.untracked.PSet(
0017         debug = cms.untracked.PSet(
0018             noLineBreaks = cms.untracked.bool(False),
0019             threshold = cms.untracked.string('DEBUG')
0020         ),
0021         error = cms.untracked.PSet(
0022             noLineBreaks = cms.untracked.bool(False),
0023             threshold = cms.untracked.string('ERROR')
0024         ),
0025         info = cms.untracked.PSet(
0026             noLineBreaks = cms.untracked.bool(False),
0027             threshold = cms.untracked.string('INFO')
0028         ),
0029         warning = cms.untracked.PSet(
0030             noLineBreaks = cms.untracked.bool(False),
0031             threshold = cms.untracked.string('WARNING')
0032         )
0033     ),
0034     suppressDebug = cms.untracked.vstring(),
0035     suppressInfo = cms.untracked.vstring(),
0036     suppressWarning = cms.untracked.vstring()
0037 )
0038 
0039 
0040 #process.load("CondCore.DBCommon.CondDBSetup_cfi")
0041 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0042 process.GlobalTag.globaltag = "CRAFT0831X_V1::All"
0043 #process.GlobalTag.globaltag = "GR09_31X_V1P::All"
0044 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0045 
0046 #needed to produce tkHistoMap
0047 process.load("DQM.SiStripCommon.TkHistoMap_cff")
0048 # load TrackerTopology (needed for TkDetMap and TkHistoMap)
0049 process.trackerTopology = cms.ESProducer("TrackerTopologyEP")
0050 
0051 process.load('DQM.SiStripMonitorHardware.siStripBuildTrackerMap_cfi')
0052 process.siStripBuildTrackerMap.InputFileName = '/home/magnan/SOFTWARE/CMS/data/FED/CMAnalysis/69797/CM_69797.root'
0053 process.siStripBuildTrackerMap.MechanicalView = True
0054 process.siStripBuildTrackerMap.TkHistoMapNameVec = 'TkHMap_MeanCMAPV0','TkHMap_MeanCMAPV1','TkHMap_MeanCMAPV0minusAPV1','TkHMap_RmsCMAPV0','TkHMap_RmsCMAPV1','TkHMap_RmsCMAPV0minusAPV1'
0055 process.siStripBuildTrackerMap.HistogramFolderName = 'DQMData/'
0056 process.siStripBuildTrackerMap.PrintDebugMessages = 2
0057 
0058 process.p = cms.Path( process.siStripBuildTrackerMap
0059                       )