CMS 3D CMS Logo

TtSemiLepJetCombMVATrainTreeSaver_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ## import MVA trainer cfi
5 
6 ## ------------------------------------------------------------------------------------------
7 ## configuration of event looper for MVA taining
8 
15 looper = cms.Looper("TtSemiLepJetCombMVATrainerLooper",
16  trainers = cms.VPSet(cms.PSet(
17  monitoring = cms.untracked.bool(False),
18  loadState = cms.untracked.bool(False),
19  saveState = cms.untracked.bool(True),
20  calibrationRecord = cms.string('ttSemiLepJetCombMVA'),
21  trainDescription = cms.untracked.FileInPath(
22  'TopQuarkAnalysis/TopJetCombination/data/TtSemiLepJetCombMVATrainTreeSaver.xml'),
23  useXSLT = cms.untracked.bool(True)
24  ))
25 )
26 
27 ## provide a sequence to save a tree for the training
28 saveTtSemiLepJetCombMVATrainTree = cms.Sequence(trainTtSemiLepJetCombMVA)
import MVA trainer cfi