CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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