Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:32:48

0001 import FWCore.ParameterSet.Config as cms
0002 import copy
0003 
0004 from PhysicsTools.NanoAOD.nanoDQM_cfi import nanoDQM
0005 from PhysicsTools.NanoAOD.nanoDQM_tools_cff import *
0006 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0007 
0008 nanogenDQM = DQMEDAnalyzer("NanoAODDQM",
0009     vplots = cms.PSet(GenDressedLepton = nanoDQM.vplots.GenDressedLepton,
0010         GenIsolatedPhoton = nanoDQM.vplots.GenIsolatedPhoton,
0011         GenJet = nanoDQM.vplots.GenJet,
0012         GenJetAK8 = nanoDQM.vplots.GenJetAK8,
0013         GenMET = nanoDQM.vplots.GenMET,
0014         GenPart = nanoDQM.vplots.GenPart, 
0015         GenVtx = nanoDQM.vplots.GenVtx,
0016         GenVisTau = nanoDQM.vplots.GenVisTau,
0017         LHEPart = nanoDQM.vplots.LHEPart,
0018         LHEScaleWeight = nanoDQM.vplots.LHEScaleWeight,
0019         LHEPdfWeight = nanoDQM.vplots.LHEPdfWeight,
0020         PSWeight = nanoDQM.vplots.PSWeight,
0021     )
0022 )
0023 
0024 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0025 nanoDQMQTester = DQMQualityTester(
0026     qtList = cms.untracked.FileInPath('PhysicsTools/NanoAOD/test/dqmQualityTests.xml'),
0027     prescaleFactor = cms.untracked.int32(1),                               
0028     testInEventloop = cms.untracked.bool(False),
0029     qtestOnEndLumi = cms.untracked.bool(False),
0030     verboseQT =  cms.untracked.bool(True)
0031 )
0032 
0033 nanogenHarvest = cms.Sequence( nanoDQMQTester )