Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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 
0009 process.load("DQMServices.Core.DQM_cfg")
0010 
0011 process.source = cms.Source("EmptyIOVSource",
0012     firstValue = cms.uint64(1),
0013     lastValue = cms.uint64(100),
0014     timetype = cms.string('runnumber'),
0015     interval = cms.uint64(90)
0016 )
0017 
0018 process.maxEvents = cms.untracked.PSet(
0019     input = cms.untracked.int32(1)
0020 )
0021 
0022 process.tzeroRef = cms.ESSource("PoolDBESSource",
0023     DBParameters = cms.PSet(
0024         messageLevel = cms.untracked.int32(0),
0025         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0026     ),
0027     toGet = cms.VPSet(
0028         cms.PSet(
0029             record = cms.string('DTT0Rcd'),
0030             tag = cms.string('t0'),
0031             connect = cms.untracked.string('sqlite_file:/afs/cern.ch/cms/CAF/CMSALCA/ALCA_MUONCALIB/DTCALIB/COMM09/t0/t0_111873.db'),
0032             label = cms.untracked.string('tzeroRef')
0033         ), 
0034         cms.PSet(
0035             record = cms.string('DTT0Rcd'),
0036             tag = cms.string('t0'),
0037             connect = cms.untracked.string('sqlite_file:/afs/cern.ch/cms/CAF/CMSALCA/ALCA_MUONCALIB/DTCALIB/COMM09/t0/t0_new_111873.db'),
0038             label = cms.untracked.string('tzeroToValidate')
0039         )
0040     ),
0041     connect = cms.string('')
0042 )
0043 
0044 process.MessageLogger = cms.Service("MessageLogger",
0045     debugModules = cms.untracked.vstring('dtT0Analyzer'),
0046     cout = cms.untracked.PSet(
0047         default = cms.untracked.PSet(
0048             limit = cms.untracked.int32(0)
0049         ),
0050         t0dbValidation = cms.untracked.PSet(
0051             limit = cms.untracked.int32(10000000)
0052         ),
0053         noLineBreaks = cms.untracked.bool(True),
0054         threshold = cms.untracked.string('DEBUG'),
0055         #FwkJob = cms.untracked.PSet(
0056         #    limit = cms.untracked.int32(0)
0057         #),
0058         DEBUG = cms.untracked.PSet(
0059             limit = cms.untracked.int32(0)
0060         )
0061     ),
0062     categories = cms.untracked.vstring('t0dbValidation'),
0063     destinations = cms.untracked.vstring('cout')
0064 )
0065 
0066 process.dtT0Analyzer = cms.EDAnalyzer("DTt0DBValidation",
0067     labelDBRef = cms.untracked.string('tzeroRef'),
0068     t0TestName = cms.untracked.string('t0DifferenceInRange'),
0069     OutputFileName = cms.untracked.string('t0TestMonitoring_111873_new_Vs_original.root'),
0070     labelDB = cms.untracked.string('tzeroToValidate')
0071 )
0072 
0073 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0074 process.qTester = DQMQualityTester(
0075     prescaleFactor = cms.untracked.int32(1),
0076     qtList = cms.untracked.FileInPath('DQMOffline/CalibMuon/data/QualityTests.xml')
0077 )
0078 
0079 process.p = cms.Path(process.dtT0Analyzer*process.qTester)
0080 process.DQM.collectorHost = ''
0081 
0082