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('DQMFEDMonitor')
0004 
0005 process.source = cms.Source(
0006   "PoolSource",
0007   fileNames = cms.untracked.vstring(
0008         #'file:/home/magnan/SOFTWARE/CMS/data/FED/edmOutput_run13.root'
0009         #'file:/home/magnan/SOFTWARE/CMS/data/FED/edmOutput_run85269.root'
0010         #'file:/home/magnan/SOFTWARE/CMS/data/FED/edmOutput_run96164.root'
0011         #'file:/home/magnan/SOFTWARE/CMS/data/FED/SiStripCommissioningSource_00096164_137.138.192.137_16715.root'
0012         #'file:/home/magnan/SOFTWARE/CMS/data/FED/Commissioning08/FEED31F3-58AC-DD11-BF73-000423D99658.root'
0013         #'file:/home/magnan/SOFTWARE/CMS/data/FED/Commissioning08/Run69750_FEED31F3-58AC-DD11-BF73-000423D99658.root'
0014         #'file:/home/magnan/SOFTWARE/CMS/data/FED/Commissioning08/Run69800_026DBE87-A5AC-DD11-9397-0030487C608C.root'
0015         #'file:/home/magnan/SOFTWARE/CMS/CMSSW_3_1_0_pre11/src/FedWorkDir/FedMonitoring/test/Digi_run69800.root'
0016         #'file:/home/magnan/SOFTWARE/CMS/data/FED/Commissioning08/Run69797_FC26431D-91AC-DD11-A0D1-001617E30CC8.root'
0017         #'file:/home/magnan/SOFTWARE/CMS/data/FED/Commissioning08/Run69874_98BB9120-E6AC-DD11-9B91-000423D99896.root'
0018         'file:/home/magnan/SOFTWARE/CMS/data/FED/Commissioning09/Run106019_00D9F347-4D72-DE11-93F6-001D09F24399.root'
0019         #'file:/home/magnan/SOFTWARE/CMS/data/FED/Commissioning09/Run101045_A6F7D0D3-4560-DE11-A52A-001D09F2545B.root'
0020  
0021         #'file:/home/magnan/SOFTWARE/CMS/data/FED/edmOutput_run82983.root'
0022         #'file:/home/magnan/SOFTWARE/CMS/data/FED/edmOutput_run77848.root'
0023         #'file:/home/magnan/SOFTWARE/CMS/data/FED/edmOutput_run79635.root'
0024         )
0025   )
0026 
0027 #process.load("DQM.SiStripMonitorHardware.test.source_cff")
0028 process.maxEvents = cms.untracked.PSet(
0029     input = cms.untracked.int32(1000)
0030     )
0031 
0032 #process.service = cms.ProfilerService {
0033 #    untracked int32 firstEvent = 1
0034 #    untracked int32 lastEvent = 50
0035 #    untracked vstring paths = { "p"}
0036 #    }
0037 
0038 #process.load('DQM.SiStripCommon.MessageLogger_cfi')
0039 process.load('FWCore/MessageService/MessageLogger_cfi')
0040 process.MessageLogger = cms.Service(
0041     "MessageLogger",
0042     info = cms.untracked.PSet(
0043         threshold = cms.untracked.string('INFO'),
0044         #limit = cms.untracked.int32(100000),
0045         noLineBreaks = cms.untracked.bool(False)
0046         ),
0047     suppressInfo = cms.untracked.vstring(),
0048     # allows to suppress output from specific modules 
0049     suppressDebug = cms.untracked.vstring(),
0050     debug = cms.untracked.PSet(
0051         threshold = cms.untracked.string('DEBUG'),
0052         #limit = cms.untracked.int32(100000),
0053         noLineBreaks = cms.untracked.bool(False)
0054         ),
0055     warning = cms.untracked.PSet(
0056         threshold = cms.untracked.string('WARNING'),
0057         #limit = cms.untracked.int32(100000),
0058         noLineBreaks = cms.untracked.bool(False)
0059         ),
0060     cerr = cms.untracked.PSet(
0061         threshold = cms.untracked.string('ERROR'),
0062         #limit = cms.untracked.int32(100000),
0063         noLineBreaks = cms.untracked.bool(False)
0064         ),
0065     error = cms.untracked.PSet(
0066         threshold = cms.untracked.string('ERROR'),
0067         #limit = cms.untracked.int32(100000),
0068         noLineBreaks = cms.untracked.bool(False)
0069         ),
0070     suppressWarning = cms.untracked.vstring(),
0071     #debugModules = cms.untracked.vstring('*'),#'siStripFEDMonitor'),
0072     destinations = cms.untracked.vstring('cerr', 
0073                                          'debug', 
0074                                          'info', 
0075                                          'warning', 
0076                                          'error')
0077 
0078     )
0079 
0080 #needed to produce tkHistoMap
0081 process.load("DQM.SiStripCommon.TkHistoMap_cff")
0082 # load TrackerTopology (needed for TkDetMap and TkHistoMap)
0083 process.trackerTopology = cms.ESProducer("TrackerTopologyEP")
0084 
0085 # Conditions (Global Tag is used here):
0086 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0087 #process.GlobalTag.connect = "frontier://FrontierProd/CMS_COND_21X_GLOBALTAG"
0088 process.GlobalTag.globaltag = "GR09_31X_V1P::All"
0089 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0090 
0091 
0092 process.load('DQM.SiStripMonitorHardware.siStripFEDMonitor_cfi')
0093 #process.load('DQM.SiStripMonitorHardware.siStripFEDMonitor_P5_cff')
0094 #process.load('DQM.SiStripMonitorHardware.siStripFEDMonitor_Tier0_cff')
0095 #process.siStripFEDMonitor.FillWithEventNumber = False
0096 #process.siStripFEDMonitor.PrintDebugMessages = 2
0097 process.siStripFEDMonitor.TimeHistogramConfig.NBins = 600
0098 process.siStripFEDMonitor.TimeHistogramConfig.Min = 0
0099 process.siStripFEDMonitor.TimeHistogramConfig.Max = 3600
0100 process.siStripFEDMonitor.WriteDQMStore = True
0101 process.siStripFEDMonitor.DQMStoreFileName = "DQMStore_monitoring_106019.root"
0102 #process.siStripFEDMonitor.FillAllDetailedHistograms = False
0103 process.Tracer = cms.Service('Tracer',indentation = cms.untracked.string('$$'))
0104 
0105 process.load('PerfTools.Callgrind.callgrindSwitch_cff')
0106 
0107 process.p = cms.Path( #process.profilerStart*
0108                       process.siStripFEDMonitor
0109                       #*process.profilerStop 
0110                       )