CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/RecoTauTag/RecoTau/python/PFRecoTauDiscriminationLowPt_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from  RecoTauTag.RecoTau.PFRecoTauDiscriminationByTrackIsolation_cfi  import pfRecoTauDiscriminationByTrackIsolation
00004 lowptpfTauDiscrByTrackIsolation = pfRecoTauDiscriminationByTrackIsolation.clone()
00005 lowptpfTauDiscrByTrackIsolation.PFTauProducer  = cms.InputTag('pfLayer0Taus')
00006 lowptpfTauDiscrByTrackIsolation.Prediscriminants.leadTrack.Producer = cms.InputTag('fixedConePFTauDiscriminationByLeadingTrackFinding')
00007 lowptpfTauDiscrByTrackIsolation.ApplySumPtCut = cms.bool(True)
00008 lowptpfTauDiscrByTrackIsolation.ApplyRelativeSumPtCut = cms.bool(False)
00009 lowptpfTauDiscrByTrackIsolation.maximumSumPtCut                       = cms.double(1.0)
00010 lowptpfTauDiscrByTrackIsolation.applyOccupancyCut                     = cms.bool(False)
00011 lowptpfTauDiscrByTrackIsolation.qualityCuts.isolationQualityCuts.minTrackPt=cms.double(0.0)
00012 
00013 lowptpfTauDiscrByRelTrackIsolation = pfRecoTauDiscriminationByTrackIsolation.clone()
00014 lowptpfTauDiscrByRelTrackIsolation.PFTauProducer  = cms.InputTag('pfLayer0Taus')
00015 lowptpfTauDiscrByRelTrackIsolation.Prediscriminants.leadTrack.Producer = cms.InputTag('fixedConePFTauDiscriminationByLeadingTrackFinding')
00016 lowptpfTauDiscrByRelTrackIsolation.ApplySumPtCut = cms.bool(False)
00017 lowptpfTauDiscrByRelTrackIsolation.ApplyRelativeSumPtCut = cms.bool(True)
00018 lowptpfTauDiscrByRelTrackIsolation.maximumSumPtCut                       = cms.double(0.05)
00019 lowptpfTauDiscrByRelTrackIsolation.applyOccupancyCut                     = cms.bool(True)
00020 lowptpfTauDiscrByRelTrackIsolation.qualityCuts.isolationQualityCuts.minTrackPt=cms.double(0.0)
00021 
00022 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByCharge_cfi import pfRecoTauDiscriminationByCharge
00023 pfRecoTauByCharge = pfRecoTauDiscriminationByCharge.clone()
00024 pfRecoTauByCharge.PFTauProducer  = cms.InputTag('pfLayer0Taus')
00025 pfRecoTauByCharge.ApplyOneOrThreeProngCut                    = cms.bool(True)
00026 
00027 
00028 DiscrLowPtTau = cms.EDProducer(
00029     "PFTauDiscriminatorLogicalAndProducer",
00030     PFTauProducer = cms.InputTag('pfLayer0Taus'),
00031     Prediscriminants = cms.PSet(
00032     BooleanOperator = cms.string("and"),
00033     isCharge = cms.PSet( Producer = cms.InputTag('pfRecoTauByCharge'),
00034                          cut      = cms.double(0.5)
00035                          ),
00036     lowptrel = cms.PSet( Producer = cms.InputTag('lowptpfTauDiscrByRelTrackIsolation'),
00037                          cut      = cms.double(0.5)
00038                          ),
00039     lowpt = cms.PSet( Producer = cms.InputTag('lowptpfTauDiscrByRelTrackIsolation'),
00040                       cut      = cms.double(0.5)
00041                       ),
00042     ),
00043     PassValue = cms.double(1.),
00044     FailValue = cms.double(0.)
00045     )
00046 
00047 
00048 TauDiscrForLowPt = cms.Sequence(
00049     pfRecoTauByCharge+
00050     lowptpfTauDiscrByRelTrackIsolation+
00051     lowptpfTauDiscrByTrackIsolation+
00052     DiscrLowPtTau
00053     )