CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecoTauDiscriminationByLeadingTrackFinding_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 pfRecoTauDiscriminationByLeadingTrackFinding = pfRecoTauDiscriminationByLeadingObjectPtCut.clone(
6  # Tau collection to discriminate
7  PFTauProducer = cms.InputTag('pfRecoTauProducer'),
8 
9  # Only look for charged PFCandidates
10  UseOnlyChargedHadrons = cms.bool(True),
11 
12  # no pre-reqs for this cut
13  Prediscriminants = noPrediscriminants,
14 
15  # Any *existing* charged PFCandidate will meet this requirement - so it is
16  # a test for existence, not pt
17  MinPtLeadingObject = cms.double(0.0)
18 )
19