CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoTauTag/RecoTau/python/PFRecoTauDiscriminationByTrackIsolation_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 requireLeadTrack
00005 
00006 pfRecoTauDiscriminationByTrackIsolation = cms.EDProducer("PFRecoTauDiscriminationByIsolation",
00007 
00008     PFTauProducer = cms.InputTag('pfRecoTauProducer'), #tau collection to discriminate
00009 
00010     # Require leading pion ensures that:
00011     #  1) these is at least one track above threshold (0.5 GeV) in the signal cone
00012     #  2) a track in the signal cone has pT > 5 GeV
00013     Prediscriminants = requireLeadTrack,
00014 
00015     # Select which collections to use for isolation.  You can select one or both
00016     ApplyDiscriminationByECALIsolation    = cms.bool(False),  # use PFGammas when isolating
00017     ApplyDiscriminationByTrackerIsolation = cms.bool(True),   # use PFChargedHadr when isolating
00018 
00019     applyOccupancyCut                     = cms.bool(True),  # apply a cut on number of isolation objects
00020     maximumOccupancy                      = cms.uint32(0),   # no tracks > 1 GeV allowed
00021 
00022     applySumPtCut                         = cms.bool(False), # apply a cut on the sum Pt of the isolation objects
00023     maximumSumPtCut                       = cms.double(6.0),
00024 
00025     applyRelativeSumPtCut                 = cms.bool(False), # apply a cut on IsoPt/TotalPt
00026     relativeSumPtCut                      = cms.double(0.0),
00027 
00028     qualityCuts                           = PFTauQualityCuts,# set the standard quality cuts
00029 )
00030