CMS 3D CMS Logo

PFRecoTauDiscriminationByTrackIsolationUsingLeadingPion_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 import copy
4 
5 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByTrackIsolation_cfi import pfRecoTauDiscriminationByTrackIsolation
6 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadPion
7 
8 pfRecoTauDiscriminationByTrackIsolationUsingLeadingPion = copy.deepcopy(pfRecoTauDiscriminationByTrackIsolation)
9 
10 # Require a lead pion (charged OR neutral) instead of strictly a leading track
11 pfRecoTauDiscriminationByTrackIsolationUsingLeadingPion.Prediscriminants = requireLeadPion