CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
miniAODValidation_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
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  BenchmarkLabel = 'packedGenParticlesValidation/CompWithGenParticles',
15  InputCollection = 'packedGenParticles',
16  MatchCollection = 'genParticles1'
17 )
18 
19 miniAODValidationSequence = cms.Sequence(
20  genParticlesValidation
21 )