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