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 nanoDQMQTester = cms.EDAnalyzer("QualityTester",
25  qtList = cms.untracked.FileInPath('PhysicsTools/NanoAOD/test/dqmQualityTests.xml'),
26  prescaleFactor = cms.untracked.int32(1),
27  testInEventloop = cms.untracked.bool(False),
28  qtestOnEndLumi = cms.untracked.bool(False),
29  verboseQT = cms.untracked.bool(True)
30 )
31 
32 nanogenHarvest = cms.Sequence( nanoDQMQTester )