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