-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial versions of cffs for phase2 anti-e
- Loading branch information
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
RecoTauTag/RecoTau/python/PATTauDiscriminationAgainstElectronMVA6_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# Electron collection merger | ||
mergedSlimmedElectronsForTauId = cms.EDProducer('PATElectronCollectionMerger', | ||
src = cms.VInputTag('slimmedElectrons', 'slimmedElectronsFromMultiClNoEB') | ||
) | ||
# anti-e phase-2 tauID | ||
from RecoTauTag.RecoTau.patTauDiscriminationAgainstElectronMVA6_cfi import * | ||
patTauDiscriminationAgainstElectronMVA6Phase2 = patTauDiscriminationAgainstElectronMVA6.clone( | ||
#FIXME, correct settings for phase2 | ||
srcElectrons = 'mergedSlimmedElectronsForTauId' | ||
) | ||
|
||
patTauDiscriminationAgainstElectronMVA6Phase2Task = cms.Task( | ||
mergedSlimmedElectronsForTauId, | ||
patTauDiscriminationAgainstElectronMVA6Phase2 | ||
) | ||
|
||
patTauDiscriminationAgainstElectronMVA6Phase2Seq = cms.Sequence( | ||
patTauDiscriminationAgainstElectronMVA6Phase2Task | ||
) |
34 changes: 34 additions & 0 deletions
34
RecoTauTag/RecoTau/python/PFRecoTauDiscriminationAgainstElectronMVA6_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# HGCal electron stuff | ||
from RecoEgamma.EgammaTools.cleanedEcalDrivenGsfElectronsFromMultiCl_cfi import cleanedEcalDrivenGsfElectronsFromMultiCl | ||
from RecoEgamma.EgammaTools.hgcalElectronIDValueMap_cff import hgcalElectronIDValueMap | ||
|
||
cleanedEcalDrivenGsfElectronsFromMultiClNoEB = cleanedEcalDrivenGsfElectronsFromMultiCl.clone( | ||
cleanBarrel = True | ||
) | ||
hgcElectronIDNoEB = hgcalElectronIDValueMap.clone( | ||
electrons = cms.InputTag("cleanedEcalDrivenGsfElectronsFromMultiClNoEB"), | ||
) | ||
|
||
# Electron collection merger | ||
mergedGsfElectronsForTauId = cms.EDProducer('GsfElectronCollectionMerger', | ||
src = cms.VInputTag('gedGsfElectrons', 'cleanedEcalDrivenGsfElectronsFromMultiClNoEB') | ||
) | ||
# anti-e phase-2 tauID | ||
from RecoTauTag.RecoTau.pfRecoTauDiscriminationAgainstElectronMVA6_cfi import * | ||
pfRecoTauDiscriminationAgainstElectronMVA6Phase2 = pfRecoTauDiscriminationAgainstElectronMVA6.clone( | ||
#FIXME, correct settings for phase2 | ||
srcElectrons = 'mergedGsfElectronsForTauId' | ||
) | ||
|
||
pfRecoTauDiscriminationAgainstElectronMVA6Phase2Task = cms.Task( | ||
cleanedEcalDrivenGsfElectronsFromMultiClNoEB, | ||
hgcElectronIDNoEB, | ||
mergedGsfElectronsForTauId, | ||
pfRecoTauDiscriminationAgainstElectronMVA6Phase2 | ||
) | ||
|
||
pfRecoTauDiscriminationAgainstElectronMVA6Phase2Seq = cms.Sequence( | ||
pfRecoTauDiscriminationAgainstElectronMVA6Phase2Task | ||
) |