CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TtSemiLepJetCombMVATrainTreeSaver_cff.py
Go to the documentation of this file.
2 
3 ## import MVA trainer cfi
5 
6 ## ------------------------------------------------------------------------------------------
7 ## configuration of event looper for MVA taining
8 ##
9 ## take care to make the looper known to the process!
10 ## the way to do that is to add the following lines to your cfg.py:
11 ##
12 ## from TopQuarkAnalysis.TopJetCombination.TtSemiLepJetCombMVATrainTreeSaver_cff import looper
13 ## process.looper = looper
14 ## ------------------------------------------------------------------------------------------
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