test
CMS 3D CMS Logo

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