CMS 3D CMS Logo

PFRecoTauDiscriminationByIsolationUsingLeadingPion_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.PFRecoTauDiscriminationByIsolation_cfi import pfRecoTauDiscriminationByIsolation
6 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadPion
7 
8 pfRecoTauDiscriminationByIsolationUsingLeadingPion = copy.deepcopy(pfRecoTauDiscriminationByIsolation)
9 
10 # Require a lead pion (charged OR neutral) instead of strictly a leading track
11 pfRecoTauDiscriminationByIsolationUsingLeadingPion.Prediscriminants = requireLeadPion