Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:08

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Rec")
0004 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0005 
0006 #
0007 # DQM
0008 #
0009 process.load("DQMServices.Core.DQM_cfg")
0010 
0011 process.load("RecoMuon.TrackingTools.MuonServiceProxy_cff")
0012 
0013 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cff")
0014 
0015 process.load("MagneticField.Engine.volumeBasedMagneticField_cfi")
0016 
0017 process.load("Geometry.CommonTopologies.globalTrackingGeometry_cfi")
0018 
0019 process.load("RecoMuon.DetLayers.muonDetLayerGeometry_cfi")
0020 
0021 process.load("DQMServices.Components.MEtoEDMConverter_cfi")
0022 
0023 # the task
0024 process.load("DQMOffline.Muon.muonAnalyzer_cff")
0025 
0026 # the clients
0027 process.load("DQMOffline.Muon.trackResidualsTest_cfi")
0028 
0029 process.load("DQMOffline.Muon.muonRecoTest_cfi")
0030 
0031 process.source = cms.Source("PoolSource",
0032     fileNames = cms.untracked.vstring('file:/tmp/giorgia/6021A7B3-6B15-DD11-8E66-001A92971B94.root')
0033 )
0034 
0035 process.maxEvents = cms.untracked.PSet(
0036     input = cms.untracked.int32(50000)
0037 )
0038 process.Timing = cms.Service("Timing")
0039 
0040 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0041 process.qTester1 = DQMQualityTester(
0042     prescaleFactor = cms.untracked.int32(1),
0043     qtList = cms.untracked.FileInPath('DQMOffline/Muon/data/QualityTests1.xml')
0044 )
0045 
0046 process.qTester2 = DQMQualityTester(
0047     prescaleFactor = cms.untracked.int32(1),
0048     qtList = cms.untracked.FileInPath('DQMOffline/Muon/data/QualityTests2.xml')
0049 )
0050 
0051 process.MessageLogger = cms.Service("MessageLogger",
0052     debugModules = cms.untracked.vstring('muonAnalyzer', 
0053         'muTrackResidualsTest', 
0054         'muRecoTest'),
0055     cout = cms.untracked.PSet(
0056         muonRecoTest = cms.untracked.PSet(
0057             limit = cms.untracked.int32(10000000)
0058         ),
0059         SegmentsTrackAssociator = cms.untracked.PSet(
0060             limit = cms.untracked.int32(10000000)
0061         ),
0062         muonAnalyzer = cms.untracked.PSet(
0063             limit = cms.untracked.int32(10000000)
0064         ),
0065         default = cms.untracked.PSet(
0066             limit = cms.untracked.int32(0)
0067         ),
0068         seedsAnalyzer = cms.untracked.PSet(
0069             limit = cms.untracked.int32(10000000)
0070         ),
0071         segmTrackAnalyzer = cms.untracked.PSet(
0072             limit = cms.untracked.int32(10000000)
0073         ),
0074         noLineBreaks = cms.untracked.bool(True),
0075         trackResidualsTest = cms.untracked.PSet(
0076             limit = cms.untracked.int32(10000000)
0077         ),
0078         threshold = cms.untracked.string('DEBUG'),
0079         muRecoAnalyzer = cms.untracked.PSet(
0080             limit = cms.untracked.int32(10000000)
0081         ),
0082         DEBUG = cms.untracked.PSet(
0083             limit = cms.untracked.int32(0)
0084         ),
0085         muEnergyDepositAnalyzer = cms.untracked.PSet(
0086             limit = cms.untracked.int32(10000000)
0087         )
0088     ),
0089     categories = cms.untracked.vstring('muonAnalyzer', 
0090         'seedsAnalyzer', 
0091         'muEnergyDeposit', 
0092         'muRecoAnalyzer', 
0093         'trackResidualsTest', 
0094         'segmTrackAnalyzer', 
0095         'SegmentsTrackAssociator', 
0096         'muonRecoTest'),
0097     destinations = cms.untracked.vstring('cout')
0098 )
0099 
0100 process.FEVT = cms.OutputModule("PoolOutputModule",
0101     outputCommands = cms.untracked.vstring('keep *_MEtoEDMConverter_*_*'),
0102     fileName = cms.untracked.string('reco-grumm.root')
0103 )
0104 
0105 process.options = cms.untracked.PSet(
0106     wantSummary = cms.untracked.bool(True) ## default is false
0107 
0108 )
0109 process.p = cms.Path(process.qTester1*process.muonAnalyzer*process.qTester2*process.muTrackResidualsTest*process.muRecoTest)
0110 process.DQM.collectorHost = ''
0111 process.muonAnalyzer.OutputMEsInRootFile = True
0112 
0113