CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecoTauDiscriminationByLeadingPionPtCut_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from RecoTauTag.RecoTau.TauDiscriminatorTools import noPrediscriminants
3 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByLeadingObjectPtCut_cfi import pfRecoTauDiscriminationByLeadingObjectPtCut
4 
5 pfRecoTauDiscriminationByLeadingPionPtCut = pfRecoTauDiscriminationByLeadingObjectPtCut.clone(
6 
7  # Tau collection to discriminate
8  PFTauProducer = cms.InputTag('pfRecoTauProducer'),
9 
10  # no pre-reqs for this cut
11  Prediscriminants = noPrediscriminants,
12 
13  # Allow either charged or neutral PFCandidates to meet this requirement
14  UseOnlyChargedHadrons = cms.bool(False),
15 
16  MinPtLeadingObject = cms.double(5.0)
17 )
18 
19