Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-28 23:48:28

0001 import FWCore.ParameterSet.Config as cms    
0002 
0003 process = cms.Process("CONDOBJMON")
0004 #-------------------------------------------------
0005 # CALIBRATION
0006 #-------------------------------------------------
0007 process.load("DQM.SiStripMonitorSummary.Tags21X_cff")
0008 
0009 
0010 #-------------------------------------------------
0011 # DQM
0012 #-------------------------------------------------
0013 process.load("DQM.SiStripMonitorSummary.SiStripMonitorCondDataOffline_cfi")
0014 process.CondDataMonitoring.OutputMEsInRootFile        = cms.bool(False)
0015 process.CondDataMonitoring.MonitorSiStripPedestal      =cms.bool(True)
0016 process.CondDataMonitoring.MonitorSiStripNoise         =cms.bool(True)
0017 process.CondDataMonitoring.MonitorSiStripQuality       =cms.bool(False)
0018 process.CondDataMonitoring.MonitorSiStripCabling       =cms.bool(True)
0019 process.CondDataMonitoring.MonitorSiStripLowThreshold  =cms.bool(True)
0020 process.CondDataMonitoring.MonitorSiStripHighThreshold =cms.bool(True)
0021 process.CondDataMonitoring.MonitorSiStripApvGain       =cms.bool(False)
0022 process.CondDataMonitoring.MonitorSiStripLorentzAngle  =cms.bool(False)
0023 
0024 process.load("DQM.SiStripCommon.TkHistoMap_cfi")
0025 process.load("DQM.SiStripMonitorClient.SiStripDQMOffline_cff")
0026 
0027 process.source = cms.Source("EmptyIOVSource",
0028     lastValue = cms.uint64(insert_runnumber),
0029     timetype = cms.string('runnumber'),
0030     firstValue = cms.uint64(insert_runnumber),
0031     interval = cms.uint64(1)
0032 )
0033 
0034 process.maxEvents = cms.untracked.PSet(
0035     input = cms.untracked.int32(1)
0036 )
0037 
0038 process.MessageLogger = cms.Service("MessageLogger",
0039     debugModules = cms.untracked.vstring('SiStripMonitorCondData'),
0040     cout = cms.untracked.PSet(
0041         threshold = cms.untracked.string('Error')
0042     ),
0043     destinations = cms.untracked.vstring('error.log', 
0044         'cout')
0045 )
0046 
0047 process.qTester = cms.EDFilter("QualityTester",
0048     qtList = cms.untracked.FileInPath('DQM/SiStripMonitorSummary/data/insert_QtestsFileName'),
0049     QualityTestPrescaler = cms.untracked.int32(1),
0050     getQualityTestsFromFile = cms.untracked.bool(True)
0051 )
0052 
0053 process.DQMStore = cms.Service("DQMStore",
0054     verbose = cms.untracked.int32(1)
0055 )
0056 
0057 
0058 from CalibTracker.Configuration.Common.PoolDBESSource_cfi import *
0059 siStripCond = poolDBESSource.clone(
0060     toGet = (
0061         poolDBESSource.toGet[0].clone(
0062             record ='SiStripFedCablingRcd',
0063             tag ='insert_FedCablingTag'
0064         ), 
0065         poolDBESSource.toGet[0].clone( 
0066             record = 'SiStripNoisesRcd',
0067             tag = 'insert_NoiseTag'
0068         ), 
0069         poolDBESSource.toGet[0].clone(
0070             record = 'SiStripPedestalsRcd',
0071             tag = 'insert_PedestalTag'
0072         ),
0073         poolDBESSource.toGet[0].clone(
0074             record = 'SiStripApvGainRcd',
0075             tag = 'SiStripGain_Ideal_21X'
0076         ),
0077         poolDBESSource.toGet[0].clone(
0078             record = 'SiStripLorentzAngleRcd',
0079             tag = 'SiStripLorentzAngle_Ideal_21X'
0080         ),     
0081         poolDBESSource.toGet[0].clone(
0082             record = 'SiStripThresholdRcd',
0083             tag = 'insert_ThresholdTag'
0084         )
0085     ),
0086     connect = 'frontier://cmsfrontier.cern.ch:8000/FrontierProd/insertAccount'
0087 )
0088 
0089 sistripconn = cms.ESProducer("SiStripConnectivity")
0090 
0091 
0092     #-------------------------------------------------
0093     ## Scheduling
0094     #-------------------------------------------------
0095 
0096 ####process.p = cms.Path(process.CondDataMonitoring*process.qTester)
0097 process.p = cms.Path(process.CondDataMonitoring*process.SiStripOfflineDQMClient*process.qTester*process.dqmSaver)
0098 
0099 
0100 
0101 
0102 
0103   
0104