CMS 3D CMS Logo

TtSemiLepJetCombMVATrainTreeSaver_Muons_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #
00004 # produce mvaComputer with all necessary ingredients
00005 #
00006 
00007 ## import MVA trainer cfi
00008 from TopQuarkAnalysis.TopJetCombination.TtSemiLepJetCombMVATrainer_Muons_cfi import *
00009 
00010 ## ------------------------------------------------------------------------------------------
00011 ## configuration of event looper for mva taining; take care to make the 
00012 ## looper known to the process. The way to do that is to add the following
00013 ## lines to your cfg.py
00014 ##
00015 ## from TopQuarkAnalysis.TopJetCombination.TtSemiLepJetCombMVATrainTreeSaver_Muons_cff import looper
00016 ## process.looper = looper
00017 ## ------------------------------------------------------------------------------------------ 
00018 looper = cms.Looper("TtSemiLepJetCombMVATrainerLooper",
00019     trainers = cms.VPSet(cms.PSet(
00020         monitoring = cms.untracked.bool(False),
00021         loadState  = cms.untracked.bool(False),
00022         saveState  = cms.untracked.bool(True),
00023         calibrationRecord = cms.string('ttSemiLepJetCombMVA'),
00024         trainDescription = cms.untracked.FileInPath(
00025             'TopQuarkAnalysis/TopJetCombination/data/ttSemiLepJetCombMVATrainTreeSaver_Muons.xml')
00026     ))
00027 )
00028 
00029 ## provide a sequence to save a tree for the training
00030 saveTtSemiLepJetCombMVATrainTree = cms.Sequence(trainTtSemiLepJetCombMVA)
00031 

Generated on Tue Jun 9 17:48:13 2009 for CMSSW by  doxygen 1.5.4