CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoTauTag/TauTagTools/python/TauMVADiscriminator_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 import copy
00003 
00004 #Define the mapping of Decay mode IDs onto the names of trained MVA files Note
00005 #that one category can apply to multiple decay modes, a decay mode can not have
00006 #multiple categories
00007 
00008 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack
00009 
00010 shrinkingConeLeadTrackFinding = copy.deepcopy(requireLeadTrack)
00011 shrinkingConeLeadTrackFinding.leadTrack.Producer = \
00012         cms.InputTag("shrinkingConePFTauDiscriminationByLeadingTrackFinding")
00013 
00014 shrinkingConePFTauDiscriminationByTaNC = cms.EDProducer(
00015     "RecoTauMVADiscriminator",
00016     PFTauProducer     = cms.InputTag("shrinkingConePFTauProducer"),
00017     Prediscriminants  = shrinkingConeLeadTrackFinding,
00018     discriminantOptions = cms.PSet(),
00019     dbLabel           = cms.string(""),      # Allow multiple record types
00020     remapOutput       = cms.bool(True),
00021     mvas = cms.VPSet(
00022         cms.PSet(
00023             nCharged = cms.uint32(1),
00024             nPiZeros = cms.uint32(0),
00025             mvaLabel = cms.string("OneProngNoPiZero"),
00026         ),
00027         cms.PSet(
00028             nCharged = cms.uint32(1),
00029             nPiZeros = cms.uint32(1),
00030             mvaLabel = cms.string("OneProngOnePiZero"),
00031         ),
00032         cms.PSet(
00033             nCharged = cms.uint32(1),
00034             nPiZeros = cms.uint32(2),
00035             mvaLabel = cms.string("OneProngTwoPiZero"),
00036         ),
00037         cms.PSet(
00038             nCharged = cms.uint32(3),
00039             nPiZeros = cms.uint32(0),
00040             mvaLabel = cms.string("ThreeProngNoPiZero"),
00041         ),
00042         cms.PSet(
00043             nCharged = cms.uint32(3),
00044             nPiZeros = cms.uint32(1),
00045             mvaLabel = cms.string("ThreeProngOnePiZero"),
00046         ),
00047     ),
00048     prefailValue      = cms.double(-2.0),
00049 )