CMS 3D CMS Logo

nanoDQM_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from PhysicsTools.NanoAOD.nanoDQM_cfi import nanoDQM
4 
5 nanoDQMMC = nanoDQM.clone()
6 nanoDQMMC.vplots.Electron.sels.Prompt = cms.string("genPartFlav == 1")
7 nanoDQMMC.vplots.Muon.sels.Prompt = cms.string("genPartFlav == 1")
8 nanoDQMMC.vplots.Photon.sels.Prompt = cms.string("genPartFlav == 1")
9 nanoDQMMC.vplots.Tau.sels.Prompt = cms.string("genPartFlav == 5")
10 nanoDQMMC.vplots.Jet.sels.Prompt = cms.string("genJetIdx != 1")
11 nanoDQMMC.vplots.Jet.sels.PromptB = cms.string("genJetIdx != 1 && hadronFlavour == 5")
12 
13 nanoDQMQTester = cms.EDAnalyzer("QualityTester",
14  qtList = cms.untracked.FileInPath('PhysicsTools/NanoAOD/test/dqmQualityTests.xml'),
15  prescaleFactor = cms.untracked.int32(1),
16  testInEventloop = cms.untracked.bool(False),
17  qtestOnEndLumi = cms.untracked.bool(False),
18  verboseQT = cms.untracked.bool(True)
19 )
20 
21 nanoHarvest = cms.Sequence( nanoDQMQTester )