CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 standardHighEffDecayModeSetupSignal = cms.PSet(
00004      truthMatchSource = cms.InputTag("matchMCTausShrinkingCone"),
00005      decayModeAssociationSource = cms.InputTag("shrinkingConePFTauDecayModeProducer")
00006 )
00007 
00008 standardHighEffDecayModeSetupBackground = cms.PSet(
00009      truthMatchSource = cms.InputTag("matchMCQCDShrinkingCone"),
00010      decayModeAssociationSource = cms.InputTag("shrinkingConePFTauDecayModeProducer")
00011 )
00012 
00013 #### Future collections #####
00014 standardInsideOutDecayModeSetupSignal = cms.PSet(
00015      truthMatchSource = cms.InputTag("matchMCTausInsideOut"),
00016      decayModeAssociationSource = cms.InputTag("pfTauDecayModeInsideOut")
00017 )
00018 
00019 
00020 standardInsideOutDecayModeSetupBackground = cms.PSet(
00021      truthMatchSource = cms.InputTag("matchMCQCDInsideOut"),
00022      decayModeAssociationSource = cms.InputTag("pfTauDecayModeInsideOut")
00023 )
00024 
00025 """
00026 #### Define the trainers for signal & background ####
00027 You can add additional algorithms in the match sources, if you wish to compare performance.
00028 """
00029 tauMVATrainerSignal = cms.EDProducer("TauMVATrainer",
00030     outputRootFileName = cms.string('output_signal.root'),
00031     matchingSources = cms.VPSet(standardHighEffDecayModeSetupSignal),
00032     #any object with a multiplicity larger than the given two parameters is
00033     #automatically marked as "__PREFAIL__" in the output tree
00034     maxPiZeroes = cms.uint32(4),
00035     maxTracks = cms.uint32(3),
00036     mcTruthSource = cms.InputTag("makeMCTauDecayModes"),
00037     iAmSignal = cms.bool(True)
00038 )
00039 
00040 tauMVATrainerBackground = cms.EDProducer("TauMVATrainer",
00041     outputRootFileName = cms.string('output_qcd.root'),
00042     matchingSources = cms.VPSet(standardHighEffDecayModeSetupBackground),                
00043     #any object with a multiplicity larger than the given two parameters is
00044     #automatically marked as "__PREFAIL__" in the output tree
00045     maxPiZeroes = cms.uint32(4),
00046     maxTracks = cms.uint32(3),
00047     mcTruthSource = cms.InputTag("makeMCQCDTauDecayModes"),
00048     iAmSignal = cms.bool(False)
00049 )
00050 
00051