test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloRecoTauDiscriminationByFlightPathSignificance_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 caloRecoTauDiscriminationByFlightPathSignificance = cms.EDProducer("CaloRecoTauDiscriminationByFlightPathSignificance",
7  CaloTauProducer = cms.InputTag('caloRecoTauProducer'), #tau collection to discriminate
8 
9  Prediscriminants = requireLeadTrack,
10  BooleanOutput = cms.bool(True),
11 
12  flightPathSig = cms.double(1.5), # used only if threeProngSelection == true
13  UsePVerror = cms.bool(True),
14 
15  qualityCuts = PFTauQualityCuts,# set the standard quality cuts
16  PVProducer = PFTauQualityCuts.primaryVertexSrc # needed for quality cuts
17 )