Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:12:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('DQMFEDMonitor')
0004 
0005 process.load('FWCore/MessageService/MessageLogger_cfi')
0006 #process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0007 
0008 process.MessageLogger = cms.Service(
0009     "MessageLogger",
0010     info = cms.untracked.PSet(
0011         threshold = cms.untracked.string('INFO'),
0012         #limit = cms.untracked.int32(100000),
0013         noLineBreaks = cms.untracked.bool(False)
0014         ),
0015     suppressInfo = cms.untracked.vstring(),
0016     # allows to suppress output from specific modules 
0017     suppressDebug = cms.untracked.vstring(),
0018     debug = cms.untracked.PSet(
0019         threshold = cms.untracked.string('DEBUG'),
0020         #limit = cms.untracked.int32(100000),
0021         noLineBreaks = cms.untracked.bool(False)
0022         ),
0023     warning = cms.untracked.PSet(
0024         threshold = cms.untracked.string('WARNING'),
0025         #limit = cms.untracked.int32(100000),
0026         noLineBreaks = cms.untracked.bool(False)
0027         ),
0028     cerr = cms.untracked.PSet(
0029         threshold = cms.untracked.string('ERROR'),
0030         #limit = cms.untracked.int32(100000),
0031         noLineBreaks = cms.untracked.bool(False)
0032         ),
0033     error = cms.untracked.PSet(
0034         threshold = cms.untracked.string('ERROR'),
0035         #limit = cms.untracked.int32(100000),
0036         noLineBreaks = cms.untracked.bool(False)
0037         ),
0038     suppressWarning = cms.untracked.vstring(),
0039     #debugModules = cms.untracked.vstring('*'),#'siStripFEDMonitor'),
0040     destinations = cms.untracked.vstring('cerr', 
0041                                          'debug', 
0042                                          'info', 
0043                                          'warning', 
0044                                          'error')
0045 
0046     )
0047 
0048 myfilelist = cms.untracked.vstring()
0049 
0050 myfilelist.extend( [
0051     #'/store/caf/user/venturia/nostripevents_Run2011A_prompt_jet_v4_160404-166502_v14.root',
0052     #'/store/data/Run2011A/MinimumBias/RAW/v1/000/167/913/14FFCB99-85A1-E011-B5DE-001D09F24259.root',
0053     '/store/data/Run2011A/MinimumBias/RAW/v1/000/166/683/062DC70A-1E91-E011-8998-0030487CD906.root',
0054     #'/store/data/Run2011A/MinimumBias/RAW/v1/000/166/683/0E2C8788-1A91-E011-A2F6-0030487CAEAC.root',
0055     #'/store/data/Run2011A/MinimumBias/RAW/v1/000/166/683/10A608E7-2791-E011-A849-0030487CD6E6.root',
0056     #'/store/data/Run2011A/MinimumBias/RAW/v1/000/166/683/3A606350-1691-E011-8E82-0030487C5CFA.root',
0057     #'/store/data/Run2011A/MinimumBias/RAW/v1/000/166/683/3C50CD4E-1B91-E011-8A01-0030487CD6E8.root',
0058     #'/store/data/Run2011A/MinimumBias/RAW/v1/000/166/683/4641277D-1F91-E011-AFE1-0030487CD6D2.root',
0059     #'/store/data/Run2011A/MinimumBias/RAW/v1/000/166/683/562E7E04-1791-E011-A319-0030487C7828.root',
0060     #'/store/data/Run2011A/MinimumBias/RAW/v1/000/166/683/66CB679F-1C91-E011-BC31-0030487CD6D8.root',
0061     #'/store/data/Run2011A/MinimumBias/RAW/v1/000/166/683/7C2122E0-1991-E011-A89D-003048F1110E.root',
0062     #'/store/data/Run2011A/MinimumBias/RAW/v1/000/166/683/88835770-1891-E011-9C0F-0030487CD718.root',
0063     #'/store/data/Run2011A/MinimumBias/RAW/v1/000/166/683/A05BEE57-1D91-E011-8435-0030487CD17C.root',
0064     #'/store/data/Run2011A/MinimumBias/RAW/v1/000/166/683/CE6060B3-1791-E011-AEC0-0030487CAF5E.root',
0065     ] )
0066 
0067 process.source = cms.Source ("PoolSource",
0068                              fileNames=myfilelist
0069                              )
0070 
0071 #process.load("DQM.SiStripMonitorHardware.test.source_cff")
0072 process.maxEvents = cms.untracked.PSet(
0073     input = cms.untracked.int32(1000)
0074     )
0075 
0076 process.load("DQM.SiStripCommon.TkHistoMap_cff")
0077 # load TrackerTopology (needed for TkDetMap and TkHistoMap)
0078 process.trackerTopology = cms.ESProducer("TrackerTopologyEP")
0079 
0080 # Conditions (Global Tag is used here):
0081 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0082 #process.GlobalTag.connect = "frontier://FrontierProd/CMS_COND_21X_GLOBALTAG"
0083 process.GlobalTag.globaltag = "GR_E_V14::All"
0084 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0085 
0086 #process.load('DQM.SiStripMonitorHardware.siStripFEDMonitor_cfi')
0087 process.load('DQM.SiStripMonitorHardware.siStripFEDMonitor_P5_cff')
0088 #process.load('DQM.SiStripMonitorHardware.siStripFEDMonitor_Tier0_cff')
0089 #process.siStripFEDMonitor.FillWithEventNumber = False
0090 process.siStripFEDMonitor.PrintDebugMessages = 1
0091 #process.siStripFEDMonitor.TimeHistogramConfig.NBins = 600
0092 #process.siStripFEDMonitor.TimeHistogramConfig.Min = 0
0093 #process.siStripFEDMonitor.TimeHistogramConfig.Max = 3600
0094 process.siStripFEDMonitor.WriteDQMStore = True
0095 process.siStripFEDMonitor.DQMStoreFileName = "DQMStore_FEDMonitoring.root"
0096 #process.siStripFEDMonitor.FillAllDetailedHistograms = False
0097 #process.Tracer = cms.Service('Tracer',indentation = cms.untracked.string('$$'))
0098 
0099 process.load('PerfTools.Callgrind.callgrindSwitch_cff')
0100 
0101 process.p = cms.Path( #process.profilerStart*
0102                       process.siStripFEDMonitor
0103                       #*process.profilerStop 
0104                       )