CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/TopQuarkAnalysis/TopEventSelection/python/TtSemiLepSignalSelMVATrainer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #
00004 # module to make mvaTraining for jet parton associations
00005 #
00006 buildTraintree = cms.EDAnalyzer("TtSemiLepSignalSelMVATrainer",
00007     #input tags used in the example
00008     muons  = cms.InputTag("selectedPatMuons"),
00009     elecs  = cms.InputTag("selectedPatElectrons"),                         
00010     jets   = cms.InputTag("selectedPatJets"),
00011     mets   = cms.InputTag("patMETs"),
00012 
00013     # ------------------------------------------------
00014     # select semileptonic signal channel
00015     # (all others are taken as background for training)
00016     # 1: electron, 2: muon, 3: tau
00017     # ------------------------------------------------
00018     lepChannel = cms.int32(2),
00019 
00020     #three possibilities:
00021     # whatData=-1: in your training-file both, signal and background events are available
00022     # whatData=1: your training-file contains only signal events
00023     # whatData=0: your training-file contains only background events
00024     whatData = cms.int32(1),
00025 
00026     #maximum number of training events to be used
00027     # maxEv = -1: all events are used
00028     # for example maxEv = 5000: writes only the first 5000 events to the training tree
00029     maxEv = cms.int32(-1),
00030 )