CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PFRecoTauDiscriminationAgainstMuon_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack
4 
5 pfRecoTauDiscriminationAgainstMuon = cms.EDProducer("PFRecoTauDiscriminationAgainstMuon",
6 
7  # tau collection to discriminate
8  PFTauProducer = cms.InputTag('pfRecoTauProducer'),
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 OR a pi-zero in the signal cone has pT > 5 GeV
13  Prediscriminants = requireLeadTrack,
14 
15  # algorithm parameters
16  a = cms.double(0.5), ## user definde 2D Cut. Reject tau if calo * a + seg * b < 0
17 
18  b = cms.double(0.5),
19  c = cms.double(0.0),
20  HoPMin = cms.double(0.2),
21  discriminatorOption = cms.string('noSegMatch'), ## available options are; noSegMatch, twoDCut, merePresence, combined
22  maxNumberOfMatches = cms.int32(0),
23  checkNumMatches = cms.bool(False)
24 )
25 
26