CMS 3D CMS Logo

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

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