CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
miniAODValidation_cff.py
Go to the documentation of this file.
2 
3 # genParticles
4 genParticles1 = cms.EDProducer("GenParticlePruner",
5  src = cms.InputTag("genParticles"),
6  select = cms.vstring('drop *',
7  # for miniAOD matching
8  'keep status == 1')
9  )
10 
11 from DQMOffline.PFTau.PFElectronDQMAnalyzer_cfi import pfElectronDQMAnalyzer
12 
13 genParticlesValidation = pfElectronDQMAnalyzer.clone()
14 genParticlesValidation.BenchmarkLabel = cms.string('packedGenParticlesValidation/CompWithGenParticles')
15 genParticlesValidation.InputCollection = cms.InputTag('packedGenParticles')
16 genParticlesValidation.MatchCollection = cms.InputTag('genParticles1')
17 
18 miniAODValidationSequence = cms.Sequence(
19  genParticlesValidation
20  )