Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("CALIB")
0004 
0005 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0006 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0007 process.DTGeometryESModule.applyAlignment = False
0008 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0009 
0010 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0011 process.load("DQMServices.Core.DQM_cfg")
0012 
0013 process.source = cms.Source("EmptySource",
0014     numberEventsInRun = cms.untracked.uint32(1),
0015     firstRun = cms.untracked.uint32(70675)
0016 )
0017 
0018 process.maxEvents = cms.untracked.PSet(
0019     input = cms.untracked.int32(1)
0020 )
0021 process.ttrigRef = cms.ESSource("PoolDBESSource",
0022     DBParameters = cms.PSet(
0023         messageLevel = cms.untracked.int32(0),
0024         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0025     ),
0026     timetype = cms.string('runnumber'),
0027     toGet = cms.VPSet(cms.PSet(
0028         record = cms.string('DTTtrigRcd'),
0029         tag = cms.string('DT_tTrig_CRAFT_V04_k-07_offline'),
0030         label = cms.untracked.string('ttrigRef')
0031     ), 
0032         cms.PSet(
0033             record = cms.string('DTTtrigRcd'),
0034             tag = cms.string('ttrig'),
0035             connect = cms.untracked.string('sqlite_file:ttrig_67838.db'),
0036             label = cms.untracked.string('ttrigToValidate')
0037         )),
0038     connect = cms.string('oracle://cms_orcoff_prep/CMS_COND_30X_DT'),
0039     siteLocalConfig = cms.untracked.bool(False)
0040 )
0041 
0042 process.MessageLogger = cms.Service("MessageLogger",
0043     debugModules = cms.untracked.vstring('dtTTrigAnalyzer'),
0044     cout = cms.untracked.PSet(
0045         default = cms.untracked.PSet(
0046             limit = cms.untracked.int32(0)
0047         ),
0048         t0dbValidation = cms.untracked.PSet(
0049             limit = cms.untracked.int32(10000000)
0050         ),
0051         noLineBreaks = cms.untracked.bool(True),
0052         threshold = cms.untracked.string('DEBUG'),
0053         DEBUG = cms.untracked.PSet(
0054             limit = cms.untracked.int32(0)
0055         )
0056     ),
0057     categories = cms.untracked.vstring('tTrigdbValidation'),
0058     destinations = cms.untracked.vstring('cout')
0059 )
0060 
0061 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0062 process.dtTTrigAnalyzer = DQMEDAnalyzer('DTtTrigDBValidation',
0063     labelDBRef = cms.string('ttrigRef'),
0064     labelDB = cms.string('ttrigToValidate'),
0065     tTrigTestName = cms.string('tTrigDifferenceInRange'),
0066     OutputMEsInRootFile = cms.untracked.bool(True),
0067     OutputFileName = cms.untracked.string('tTrigTestMonitoring.root')
0068 )
0069 
0070 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0071 process.qTester = DQMQualityTester(
0072     prescaleFactor = cms.untracked.int32(1),
0073     qtList = cms.untracked.FileInPath('DQMOffline/CalibMuon/data/QualityTests.xml')
0074 )
0075 
0076 process.p = cms.Path(process.dtTTrigAnalyzer*process.qTester)
0077 process.DQM.collectorHost = ''
0078 
0079