Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:09:17

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