test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecoTauDiscriminationByIsolationUsingLeadingPion_cfi.py
Go to the documentation of this file.
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