CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Variables
TtSemiLepSignalSelMVATrainer_cfi Namespace Reference

Variables

tuple buildTraintree
 

Variable Documentation

tuple TtSemiLepSignalSelMVATrainer_cfi.buildTraintree
Initial value:
1 = cms.EDAnalyzer("TtSemiLepSignalSelMVATrainer",
2  #input tags used in the example
3  muons = cms.InputTag("selectedPatMuons"),
4  elecs = cms.InputTag("selectedPatElectrons"),
5  jets = cms.InputTag("cleanPatJets"),
6  mets = cms.InputTag("patMETs"),
7 
8  # ------------------------------------------------
9  # select semileptonic signal channel
10  # (all others are taken as background for training)
11  # 1: electron, 2: muon, 3: tau
12  # ------------------------------------------------
13  lepChannel = cms.int32(2),
14 
15  #three possibilities:
16  # whatData=-1: in your training-file both, signal and background events are available
17  # whatData=1: your training-file contains only signal events
18  # whatData=0: your training-file contains only background events
19  whatData = cms.int32(1),
20 
21  #maximum number of training events to be used
22  # maxEv = -1: all events are used
23  # for example maxEv = 5000: writes only the first 5000 events to the training tree
24  maxEv = cms.int32(-1),
25 )

Definition at line 6 of file TtSemiLepSignalSelMVATrainer_cfi.py.