CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from RecoTauTag.RecoTau.HLTPFRecoTauQualityCuts_cfi import hltPFTauQualityCuts
00004 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack, noPrediscriminants
00005 
00006 hltPFRecoTauDiscriminationByIsolation = cms.EDProducer(
00007     "PFRecoTauDiscriminationByIsolation",
00008     PFTauProducer = cms.InputTag('hltPFRecoTauProducer'), #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 = noPrediscriminants,
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 or gammas > 1.5 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     storeRawSumPt = cms.bool(False),
00025 
00026     applyRelativeSumPtCut = cms.bool(False), # apply a cut on IsoPt/TotalPt
00027     relativeSumPtCut = cms.double(0.0),
00028 
00029     qualityCuts = hltPFTauQualityCuts,# set the standard quality cuts
00030 
00031     # Delta-Beta corrections to remove Pileup
00032     applyDeltaBetaCorrection = cms.bool(False),
00033     particleFlowSrc = cms.InputTag("hltParticleFlow"),
00034     vertexSrc = hltPFTauQualityCuts.primaryVertexSrc,
00035     customOuterCone = cms.double( -1.0 ),
00036 
00037     # This must correspond to the cone size of the algorithm which built the
00038     # tau. (or if customOuterCone option is used, the custom cone size)
00039     isoConeSizeForDeltaBeta = cms.double(0.3),
00040     # The delta beta factor maps the expected neutral contribution in the
00041     # isolation cone from the observed PU charged contribution.  This factor can
00042     # optionally be a function (use 'x') of the number of vertices in the event
00043     # (taken from the multiplicity of vertexSrc collection)
00044     deltaBetaFactor = cms.string("0.38"),
00045     # By default, the pt threshold for tracks used to compute the DeltaBeta
00046     # correction is taken as the gamma Et threshold from the isolation quality
00047     # cuts.
00048     # Uncommenting the parameter below allows this threshold to be overridden.
00049     deltaBetaPUTrackPtCutOverride = cms.double(0.5),
00050 
00051     # Rho corrections
00052     applyRhoCorrection = cms.bool(False),
00053     rhoProducer = cms.InputTag("kt6PFJets", "rho"),
00054     rhoConeSize = cms.double(0.5),
00055     rhoUEOffsetCorrection = cms.double(1.0),
00056 )