CMS 3D CMS Logo

dtTTrigValidSummary_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from Configuration.StandardSequences.Eras import eras
3 
4 process = cms.Process("Validation",eras.Run3)
5 
6 process.load("FWCore.MessageService.MessageLogger_cfi")
7 process.MessageLogger.debugModules = cms.untracked.vstring('')
8 process.MessageLogger.resolution=dict()
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.FrontierConditions_GlobalTag_cff")
18 from Configuration.AlCa.autoCond import autoCond
19 process.GlobalTag.globaltag=autoCond['run3_data']
20 
21 process.load("Configuration.StandardSequences.GeometryDB_cff")
22 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
23 process.load("Geometry.DTGeometry.dtGeometry_cfi")
24 process.DTGeometryESModule.applyAlignment = False
25 process.DTGeometryESModule.fromDDD = False
26 
27 process.load("CondCore.CondDB.CondDB_cfi")
28 process.load("DQMServices.Core.DQM_cfg")
29 
30 """
31 process.source = cms.Source("EmptyIOVSource",
32  lastValue = cms.uint64(100),
33  timetype = cms.string('runnumber'),
34  firstValue = cms.uint64(1),
35  interval = cms.uint64(90)
36 )
37 """
38 process.source = cms.Source("EmptySource",
39  numberEventsInRun = cms.untracked.uint32(1),
40  firstRun = cms.untracked.uint32(1)
41 )
42 
43 process.maxEvents = cms.untracked.PSet(
44  input = cms.untracked.int32(1)
45 )
46 
47 process.eventInfoProvider = cms.EDFilter("EventCoordinatesSource",
48  eventInfoFolder = cms.untracked.string('EventInfo/')
49 )
50 
51 from DQMServices.Core.DQMQualityTester import DQMQualityTester
52 process.qTester = DQMQualityTester(
53  prescaleFactor = cms.untracked.int32(1),
54  qtList = cms.untracked.FileInPath('CalibMuon/DTCalibration/data/QualityTests_ttrig.xml')
55 )
56 
57 process.load("DQM.DTMonitorClient.dtResolutionTest_cfi")
58 process.resolutionTest.histoTag2D = 'hResDistVsDist_STEP3'
59 process.resolutionTest.histoTag = 'hResDist_STEP3'
60 process.resolutionTest.STEP = 'STEP3'
61 process.resolutionTest.OutputMEsInRootFile = cms.bool(True)
62 process.resolutionTest.readFile = cms.untracked.bool(True)
63 #process.resolutionTest.inputFile = cms.untracked.string('')
64 #process.resolutionTest.OutputFileName = cms.string('')
65 
66 process.dtValidSequence = cms.Sequence(process.resolutionTest*process.qTester)
67 process.validation_step = cms.Path(process.dtValidSequence)
68 #process.DQM.collectorHost = ''