CMS 3D CMS Logo

PFRecoTauDiscriminationAgainstMuonMVA_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 pfRecoTauDiscriminationAgainstMuonMVA = cms.EDProducer("PFRecoTauDiscriminationAgainstMuonMVA",
6 
7  # tau collection to discriminate
8  PFTauProducer = cms.InputTag('pfTauProducer'),
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  loadMVAfromDB = cms.bool(True),
15  inputFileName = cms.FileInPath("RecoTauTag/RecoTau/data/emptyMVAinputFile"), # the filename for MVA if it is not loaded from DB
16  mvaName = cms.string("againstMuonMVA"),
17  returnMVA = cms.bool(True),
18  mvaMin = cms.double(0.0),
19 
20  srcMuons = cms.InputTag('muons'),
21  dRmuonMatch = cms.double(0.3),
22  verbosity = cms.int32(0),
23 )
TauDiscriminatorTools