CMS 3D CMS Logo

nanogenDQM_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import copy
3 
4 from PhysicsTools.NanoAOD.nanoDQM_cfi import nanoDQM
6 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
7 
8 nanogenDQM = DQMEDAnalyzer("NanoAODDQM",
9  vplots = cms.PSet(GenDressedLepton = nanoDQM.vplots.GenDressedLepton,
10  GenIsolatedPhoton = nanoDQM.vplots.GenIsolatedPhoton,
11  GenJet = nanoDQM.vplots.GenJet,
12  GenJetAK8 = nanoDQM.vplots.GenJetAK8,
13  GenMET = nanoDQM.vplots.GenMET,
14  GenPart = nanoDQM.vplots.GenPart,
15  GenVtx = nanoDQM.vplots.GenVtx,
16  GenVisTau = nanoDQM.vplots.GenVisTau,
17  LHEPart = nanoDQM.vplots.LHEPart,
18  LHEScaleWeight = nanoDQM.vplots.LHEScaleWeight,
19  LHEPdfWeight = nanoDQM.vplots.LHEPdfWeight,
20  PSWeight = nanoDQM.vplots.PSWeight,
21  )
22 )
23 
24 from DQMServices.Core.DQMQualityTester import DQMQualityTester
25 nanoDQMQTester = DQMQualityTester(
26  qtList = cms.untracked.FileInPath('PhysicsTools/NanoAOD/test/dqmQualityTests.xml'),
27  prescaleFactor = cms.untracked.int32(1),
28  testInEventloop = cms.untracked.bool(False),
29  qtestOnEndLumi = cms.untracked.bool(False),
30  verboseQT = cms.untracked.bool(True)
31 )
32 
33 nanogenHarvest = cms.Sequence( nanoDQMQTester )