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.
2 
3 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
4 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack
5 
6 pfRecoTauDiscriminationByTrackIsolation = cms.EDProducer("PFRecoTauDiscriminationByIsolation",
7 
8  PFTauProducer = cms.InputTag('pfRecoTauProducer'), #tau collection to discriminate
9 
10  # Require leading pion ensures that:
11  # 1) these is at least one track above threshold (0.5 GeV) in the signal cone
12  # 2) a track in the signal cone has pT > 5 GeV
13  Prediscriminants = requireLeadTrack,
14 
15  # Select which collections to use for isolation. You can select one or both
16  ApplyDiscriminationByECALIsolation = cms.bool(False), # use PFGammas when isolating
17  ApplyDiscriminationByTrackerIsolation = cms.bool(True), # use PFChargedHadr when isolating
18 
19  applyOccupancyCut = cms.bool(True), # apply a cut on number of isolation objects
20  maximumOccupancy = cms.uint32(0), # no tracks > 1 GeV allowed
21 
22  applySumPtCut = cms.bool(False), # apply a cut on the sum Pt of the isolation objects
23  maximumSumPtCut = cms.double(6.0),
24 
25  applyRelativeSumPtCut = cms.bool(False), # apply a cut on IsoPt/TotalPt
26  relativeSumPtCut = cms.double(0.0),
27 
28  qualityCuts = PFTauQualityCuts,# set the standard quality cuts
29 )
30