CMS 3D CMS Logo

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