CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecoTauDiscriminationByIsolationChargedPtSum_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 requireLeadPion
5 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByIsolation_cfi import pfRecoTauDiscriminationByIsolation
6 
7 # Cut on sum pt < 8GeV isolation tracks.
8 
9 pfRecoTauDiscriminationByIsolationChargedSumPt = pfRecoTauDiscriminationByIsolation.clone(
10  PFTauProducer = cms.InputTag('pfRecoTauProducer'),
11 
12  # Require leading pion ensures that: theee is at least one track above
13  # threshold (0.5 GeV) in the signal cone a track in the signal cone has
14  # pT > 5 GeV
15  Prediscriminants = requireLeadPion,
16 
17  # Select which collections to use for isolation.
18  ApplyDiscriminationByECALIsolation = cms.bool(False),
19  ApplyDiscriminationByTrackerIsolation = cms.bool(True),
20 
21  applyOccupancyCut = cms.bool(False),
22  maximumOccupancy = cms.uint32(1),
23 
24  applySumPtCut = cms.bool(True),
25  maximumSumPtCut = cms.double(8.0),
26 
27  applyRelativeSumPtCut = cms.bool(False),
28  relativeSumPtCut = cms.double(0.0),
29 
30  # Set the standard quality cuts on the isolation candidates
31  qualityCuts = PFTauQualityCuts,
32  PVProducer = PFTauQualityCuts.primaryVertexSrc # need for Q cuts
33 )