CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoTauTag/RecoTau/python/PFRecoTauDiscriminationByIsolationChargedPtSum_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
00004 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadPion
00005 
00006 # Cut on sum pt < 8GeV  isolation tracks.
00007 
00008 pfRecoTauDiscriminationByIsolationChargedSumPt = cms.EDProducer(
00009     "PFRecoTauDiscriminationByIsolation",
00010     PFTauProducer = cms.InputTag('pfRecoTauProducer'),
00011 
00012     # Require leading pion ensures that: theee is at least one track above
00013     # threshold (0.5 GeV) in the signal cone a track in the signal cone has
00014     # pT > 5 GeV
00015     Prediscriminants = requireLeadPion,
00016 
00017     # Select which collections to use for isolation.
00018     ApplyDiscriminationByECALIsolation = cms.bool(False),
00019     ApplyDiscriminationByTrackerIsolation = cms.bool(True),
00020 
00021     applyOccupancyCut = cms.bool(False),
00022     maximumOccupancy = cms.uint32(1),
00023 
00024     applySumPtCut = cms.bool(True),
00025     maximumSumPtCut = cms.double(8.0),
00026 
00027     applyRelativeSumPtCut = cms.bool(False),
00028     relativeSumPtCut = cms.double(0.0),
00029 
00030     # Set the standard quality cuts on the isolation candidates
00031     qualityCuts = PFTauQualityCuts,
00032     PVProducer = PFTauQualityCuts.primaryVertexSrc  # need for Q cuts
00033 )