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 pfElectronValidation1.BenchmarkLabel = cms.string(
'PFElectronValidation/CompWithGenElectron')
21 pfElectronValidationSequence = cms.Sequence( gensource + pfElectronValidation1 )
25 pfElectronValidation2 = pfElectronDQMAnalyzer.clone()
26 pfElectronValidation2.InputCollection = cms.InputTag(
'pfAllElectrons',
'',
'PFlowDQMnoTracking')
27 pfElectronValidation2.MatchCollection = cms.InputTag(
'gensource',
'',
'PFlowDQMnoTracking')
28 pfElectronValidation2.BenchmarkLabel = cms.string(
'PFElectronValidation/CompWithGenElectron')
29 pfElectronValidationSequence_NoTracking = cms.Sequence( pfElectronValidation2 )