CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoTauTag/RecoTau/python/PFRecoTauDiscriminationByIsolation_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import *
00004 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack
00005 
00006 PFRecoTauDiscriminationByIsolation = cms.EDProducer("PFRecoTauDiscriminationByIsolation",
00007     PFTauProducer = cms.InputTag('pfRecoTauProducer'), #tau collection to discriminate
00008 
00009     # Require leading pion ensures that:
00010     #  1) these is at least one track above threshold (0.5 GeV) in the signal cone
00011     #  2) a track in the signal cone has pT > 5 GeV
00012     Prediscriminants = requireLeadTrack,
00013 
00014     # Select which collections to use for isolation.  You can select one or both
00015     ApplyDiscriminationByECALIsolation    = cms.bool(True),  # use PFGammas when isolating
00016     ApplyDiscriminationByTrackerIsolation = cms.bool(True),  # use PFChargedHadr when isolating
00017 
00018     applyOccupancyCut                     = cms.bool(True),  # apply a cut on number of isolation objects
00019     maximumOccupancy                      = cms.uint32(0),   # no tracks > 1 GeV or gammas > 1.5 GeV allowed
00020 
00021     applySumPtCut                         = cms.bool(False), # apply a cut on the sum Pt of the isolation objects
00022     maximumSumPtCut                       = cms.double(6.0),
00023 
00024     applyRelativeSumPtCut                 = cms.bool(False), # apply a cut on IsoPt/TotalPt
00025     relativeSumPtCut                      = cms.double(0.0),
00026 
00027     qualityCuts                           = PFTauQualityCuts,# set the standard quality cuts
00028     PVProducer                            = cms.InputTag('offlinePrimaryVertices'), # needed for quality cuts
00029 )
00030 
00031 
00032