CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloRecoTauDiscriminationAgainstMuon_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrackCalo
4 
5 caloRecoTauDiscriminationAgainstMuon = cms.EDProducer("CaloRecoTauDiscriminationAgainstMuon",
6 
7  # tau collection to discriminate
8  CaloTauProducer = cms.InputTag('caloRecoTauProducer'),
9 
10  Prediscriminants = requireLeadTrackCalo,
11 
12  # algorithm parameters
13  caloCompCoefficient = cms.double(0.5), ## user definde 2D Cut. Reject tau if calo * caloCompCoeff + segm * segmCompCoeff > cut
14  segmCompCoefficient = cms.double(0.5),
15  muonCompCut = cms.double(0.0),
16 
17  discriminatorOption = cms.string('noSegMatch'), ## available options are; noSegMatch, twoDCut, merePresence, combined
18 
19  muonSource = cms.InputTag("muons"),
20  dRmatch = cms.double(0.5)
21 )
22 
23