CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dtTTrigValidSummary_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("Validation")
4 
5 process.load("FWCore.MessageService.MessageLogger_cfi")
6 process.MessageLogger.debugModules = cms.untracked.vstring('')
7 process.MessageLogger.resolution=dict()
8 process.MessageLogger.cerr = cms.untracked.PSet(
9  threshold = cms.untracked.string('DEBUG'),
10  noLineBreaks = cms.untracked.bool(False),
11  DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(0)),
12  INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)),
13  resolution = cms.untracked.PSet(limit = cms.untracked.int32(-1))
14 )
15 
16 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
17 process.GlobalTag.globaltag = ''
18 
19 process.load("Configuration.StandardSequences.GeometryDB_cff")
20 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
21 process.load("Geometry.DTGeometry.dtGeometry_cfi")
22 process.DTGeometryESModule.applyAlignment = False
23 process.DTGeometryESModule.fromDDD = False
24 
25 process.load("CondCore.CondDB.CondDB_cfi")
26 process.load("DQMServices.Core.DQM_cfg")
27 
28 """
29 process.source = cms.Source("EmptyIOVSource",
30  lastValue = cms.uint64(100),
31  timetype = cms.string('runnumber'),
32  firstValue = cms.uint64(1),
33  interval = cms.uint64(90)
34 )
35 """
36 process.source = cms.Source("EmptySource",
37  numberEventsInRun = cms.untracked.uint32(1),
38  firstRun = cms.untracked.uint32(1)
39 )
40 
41 process.maxEvents = cms.untracked.PSet(
42  input = cms.untracked.int32(1)
43 )
44 
45 process.eventInfoProvider = cms.EDFilter("EventCoordinatesSource",
46  eventInfoFolder = cms.untracked.string('EventInfo/')
47 )
48 
49 from DQMServices.Core.DQMQualityTester import DQMQualityTester
50 process.qTester = DQMQualityTester(
51  prescaleFactor = cms.untracked.int32(1),
52  qtList = cms.untracked.FileInPath('CalibMuon/DTCalibration/data/QualityTests_ttrig.xml')
53 )
54 
55 process.load("DQM.DTMonitorClient.dtResolutionTest_cfi")
56 process.resolutionTest.histoTag2D = 'hResDistVsDist_STEP3'
57 process.resolutionTest.histoTag = 'hResDist_STEP3'
58 process.resolutionTest.STEP = 'STEP3'
59 process.resolutionTest.OutputMEsInRootFile = cms.bool(True)
60 process.resolutionTest.readFile = cms.untracked.bool(True)
61 #process.resolutionTest.inputFile = cms.untracked.string('')
62 #process.resolutionTest.OutputFileName = cms.string('')
63 
64 process.dtValidSequence = cms.Sequence(process.resolutionTest*process.qTester)
65 process.validation_step = cms.Path(process.dtValidSequence)
66 #process.DQM.collectorHost = ''