CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TtSemiLepJetCombMVATrainer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # module to perform MVA training for jet-parton association
5 #
6 trainTtSemiLepJetCombMVA = cms.EDAnalyzer("TtSemiLepJetCombMVATrainer",
7  #-------------------------------------------------
8  # sources (leptons, jets, MET, jet-parton matching)
9  #-------------------------------------------------
10  leps = cms.InputTag("selectedPatMuons"),
11  jets = cms.InputTag("selectedPatJets"),
12  mets = cms.InputTag("patMETs"),
13  matching = cms.InputTag("ttSemiLepJetPartonMatch"),
14 
15  # ------------------------------------------------
16  # select semileptonic signal channel
17  # (all others are taken as background for training)
18  # either "kElec", "kMuon" or "kTau"
19  # ------------------------------------------------
20  leptonType = cms.string("kMuon"),
21 
22  # ------------------------------------------------
23  # maximum number of jets to be considered
24  # (has to be >= 4, can be set to -1 if you
25  # want to take all)
26  # ------------------------------------------------
27  maxNJets = cms.int32(4)
28 )
29 
30