CMS 3D CMS Logo

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