test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecoTauDiscriminationByTrackIsolation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
4 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack
5 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByIsolation_cfi import pfRecoTauDiscriminationByIsolation
6 
7 pfRecoTauDiscriminationByTrackIsolation = pfRecoTauDiscriminationByIsolation.clone(
8 
9  PFTauProducer = cms.InputTag('pfRecoTauProducer'), #tau collection to discriminate
10 
11  # Require leading pion ensures that:
12  # 1) these is at least one track above threshold (0.5 GeV) in the signal cone
13  # 2) a track in the signal cone has pT > 5 GeV
14  Prediscriminants = requireLeadTrack,
15 
16  # Select which collections to use for isolation. You can select one or both
17  ApplyDiscriminationByECALIsolation = cms.bool(False), # use PFGammas when isolating
18  ApplyDiscriminationByTrackerIsolation = cms.bool(True), # use PFChargedHadr when isolating
19 
20  applyOccupancyCut = cms.bool(True), # apply a cut on number of isolation objects
21  maximumOccupancy = cms.uint32(0), # no tracks > 1 GeV allowed
22 
23  applySumPtCut = cms.bool(False), # apply a cut on the sum Pt of the isolation objects
24  maximumSumPtCut = cms.double(6.0),
25 
26  applyRelativeSumPtCut = cms.bool(False), # apply a cut on IsoPt/TotalPt
27  relativeSumPtCut = cms.double(0.0),
28 
29  qualityCuts = PFTauQualityCuts,# set the standard quality cuts
30 )
31