test
CMS 3D CMS Logo

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