Skip to content

Commit

Permalink
select electrons from multiCl outside barrel and with pt>10GeV
Browse files Browse the repository at this point in the history
  • Loading branch information
mbluj committed Sep 15, 2020
1 parent 09eab8d commit c88b134
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
# HGCal electron stuff
from RecoEgamma.EgammaTools.cleanedEcalDrivenGsfElectronsFromMultiCl_cfi import cleanedEcalDrivenGsfElectronsFromMultiCl
from RecoEgamma.EgammaTools.hgcalElectronIDValueMap_cff import hgcalElectronIDValueMap
# HGCal electrons cleaned against duplicates and electrons in barrel
cleanedEcalDrivenGsfElectronsFromMultiClNoEB = cleanedEcalDrivenGsfElectronsFromMultiCl.clone(
cleanBarrel = True
# HGCal electrons cleaned against duplicates and electrons in barrel (pt>10GeV)
# TauValElectronSelector defined Validation/RecoTau/plugins/Selectors.cc;
# is there a more intuitive place where such a selector is defined?
cleanedEcalDrivenGsfElectronsFromMultiClNoEB = cms.EDFilter('TauValElectronSelector',
cut = cms.string('!isEB && pt >= 10.'),
src = cms.InputTag('cleanedEcalDrivenGsfElectronsFromMultiCl')
)
# Electron collection merger
mergedGsfElectronsForTauId = cms.EDProducer('GsfElectronCollectionMerger',
Expand Down Expand Up @@ -37,6 +40,7 @@
)

electronsForTauDiscriminationAgainstElectronMVA6Phase2Task = cms.Task(
cleanedEcalDrivenGsfElectronsFromMultiCl,
cleanedEcalDrivenGsfElectronsFromMultiClNoEB,
mergedGsfElectronsForTauId,
hgcElectronIdForTauId
Expand Down

0 comments on commit c88b134

Please sign in to comment.