1 import FWCore.ParameterSet.Config
as cms
3 from DQMOffline.PFTau.PFElectronDQMAnalyzer_cfi
import pfElectronDQMAnalyzer
5 pfAllElectrons = cms.EDFilter(
"PdgIdPFCandidateSelector",
6 pdgId = cms.vint32(11, -11),
7 src = cms.InputTag(
"particleFlow")
10 gensource = cms.EDProducer(
"GenParticlePruner",
11 src = cms.InputTag(
"genParticles"),
12 select = cms.vstring(
'drop *',
19 pfElectronValidation1 = pfElectronDQMAnalyzer.clone(
20 BenchmarkLabel =
'PFElectronValidation/CompWithGenElectron' 22 pfElectronValidationSequence = cms.Sequence( gensource + pfElectronValidation1 )
26 pfElectronValidation2 = pfElectronDQMAnalyzer.clone(
27 InputCollection =
'pfAllElectrons::PFlowDQMnoTracking',
28 MatchCollection =
'gensource::PFlowDQMnoTracking',
29 BenchmarkLabel =
'PFElectronValidation/CompWithGenElectron' 31 pfElectronValidationSequence_NoTracking = cms.Sequence( pfElectronValidation2 )