Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 #-------------------------------------------------
0005 # CALIBRATION
0006 #-------------------------------------------------
0007 process.load("DQM.SiStripMonitorSummary.Tags21X_cff")
0008 
0009 #-------------------------------------------------
0010 # DQM
0011 #-------------------------------------------------
0012 process.load("DQM.SiStripMonitorSummary.SiStripMonitorCondDataOnDemandExample_cfi")
0013 
0014 ## SI STRIP MONITOR TRACK:
0015 process.load("DQM.SiStripCommon.TkHistoMap_cfi");
0016 
0017 process.MessageLogger = cms.Service("MessageLogger",
0018     debugModules = cms.untracked.vstring('SiStripMonitorCondDataOnDemandExample'),
0019     cout = cms.untracked.PSet(
0020         threshold = cms.untracked.string('Error')
0021     ),
0022     destinations = cms.untracked.vstring('error.log', 
0023         'cout')
0024 )
0025 
0026 
0027 process.source = cms.Source("EmptySource",
0028     lastRun = cms.untracked.uint32(70409),
0029     timetype = cms.string('runnumber'),
0030     firstRun = cms.untracked.uint32(70409),
0031     interval = cms.uint32(1)
0032 )
0033 
0034 process.maxEvents = cms.untracked.PSet(
0035     input = cms.untracked.int32(2)
0036 )
0037 
0038 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0039 process.qTester = DQMQualityTester(
0040     qtList = cms.untracked.FileInPath('DQM/SiStripMonitorSummary/data/CondDBQtests.xml'),
0041     QualityTestPrescaler = cms.untracked.int32(1),
0042     getQualityTestsFromFile = cms.untracked.bool(True)
0043 )
0044 
0045 
0046 process.DQMStore = cms.Service("DQMStore",
0047     verbose = cms.untracked.int32(1)
0048 )
0049 
0050 process.p = cms.Path(process.myOnDemandExample*process.qTester)
0051 process.myOnDemandExample.OutputMEsInRootFile = True
0052 
0053 process.myOnDemandExample.MonitorSiStripPedestal      = False
0054 process.myOnDemandExample.MonitorSiStripNoise         = False
0055 process.myOnDemandExample.MonitorSiStripApvGain       = False ## to be tested on REAL data
0056 
0057 process.myOnDemandExample.MonitorSiStripQuality      = True
0058 process.myOnDemandExample.MonitorSiStripLorentzAngle = False
0059 process.myOnDemandExample.MonitorSiStripBackPlaneCorrection = False
0060 process.myOnDemandExample.MonitorSiStripCabling      = False
0061 
0062 
0063 
0064 process.myOnDemandExample.SiStripNoisesDQM_PSet.GainRenormalisation   = False
0065 process.myOnDemandExample.SiStripNoisesDQM_PSet.SimGainRenormalisation   = False
0066 process.myOnDemandExample.SiStripNoisesDQM_PSet.CondObj_fillId        = 'onlyProfile'
0067 process.myOnDemandExample.SiStripPedestalsDQM_PSet.CondObj_fillId        = 'onlyProfile'