CMS 3D CMS Logo

PFRecoTauDiscriminationByTauPolarization_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
4 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack
5 
6 pfRecoTauDiscriminationByTauPolarization = cms.EDProducer("PFRecoTauDiscriminationByTauPolarization",
7  PFTauProducer = cms.InputTag('pfRecoTauProducer'), #tau collection to discriminate
8 
9  Prediscriminants = requireLeadTrack,
10  BooleanOutput = cms.bool(True),
11 
12  rtau = cms.double(0.8), # minimum value for the polarization variable
13 
14  qualityCuts = PFTauQualityCuts,# set the standard quality cuts
15  PVProducer = PFTauQualityCuts.primaryVertexSrc # needed for quality cuts
16 )