Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Validation")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.MessageLogger.debugModules = cms.untracked.vstring('')
0007 process.MessageLogger.resolution=dict()
0008 process.MessageLogger.cerr =  cms.untracked.PSet(
0009     threshold = cms.untracked.string('DEBUG'),
0010     noLineBreaks = cms.untracked.bool(False),
0011     DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0012     INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0013     resolution = cms.untracked.PSet(limit = cms.untracked.int32(-1))
0014 )
0015 
0016 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0017 process.GlobalTag.globaltag = ''
0018 
0019 process.load("Configuration.StandardSequences.GeometryDB_cff")
0020 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0021 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0022 process.DTGeometryESModule.applyAlignment = False
0023 process.DTGeometryESModule.fromDDD = False
0024 
0025 process.load("CondCore.CondDB.CondDB_cfi")
0026 process.load("DQMServices.Core.DQM_cfg")
0027 
0028 """
0029 process.source = cms.Source("EmptyIOVSource",
0030      lastValue = cms.uint64(100),
0031      timetype = cms.string('runnumber'),
0032      firstValue = cms.uint64(1),
0033      interval = cms.uint64(90)
0034 )
0035 """
0036 process.source = cms.Source("EmptySource",
0037     numberEventsInRun = cms.untracked.uint32(1),
0038     firstRun = cms.untracked.uint32(1)
0039 )
0040 
0041 process.maxEvents = cms.untracked.PSet(
0042     input = cms.untracked.int32(1)
0043 )
0044 
0045 process.eventInfoProvider = cms.EDFilter("EventCoordinatesSource",
0046     eventInfoFolder = cms.untracked.string('EventInfo/')
0047 )
0048 
0049 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0050 process.qTester = DQMQualityTester(
0051     prescaleFactor = cms.untracked.int32(1),
0052     qtList = cms.untracked.FileInPath('CalibMuon/DTCalibration/data/QualityTests_ttrig.xml')
0053 )
0054 
0055 process.load("DQM.DTMonitorClient.dtResolutionTest_cfi")
0056 process.resolutionTest.histoTag2D = 'hResDistVsDist_STEP3' 
0057 process.resolutionTest.histoTag  = 'hResDist_STEP3'
0058 process.resolutionTest.STEP = 'STEP3'
0059 process.resolutionTest.OutputMEsInRootFile = cms.bool(True)
0060 process.resolutionTest.readFile = cms.untracked.bool(True)
0061 #process.resolutionTest.inputFile = cms.untracked.string('')
0062 #process.resolutionTest.OutputFileName = cms.string('')
0063 
0064 process.dtValidSequence = cms.Sequence(process.resolutionTest*process.qTester)
0065 process.validation_step = cms.Path(process.dtValidSequence)
0066 #process.DQM.collectorHost = ''