Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:26:05

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #
0004 # module to make mvaTraining for jet parton associations
0005 #
0006 buildTraintree = cms.EDAnalyzer("TtSemiLepSignalSelMVATrainer",
0007     #input tags used in the example
0008     muons  = cms.InputTag("selectedPatMuons"),
0009     elecs  = cms.InputTag("selectedPatElectrons"),
0010     jets   = cms.InputTag("cleanPatJets"),
0011     mets   = cms.InputTag("patMETs"),
0012 
0013     # ------------------------------------------------
0014     # select semileptonic signal channel
0015     # (all others are taken as background for training)
0016     # 1: electron, 2: muon, 3: tau
0017     # ------------------------------------------------
0018     lepChannel = cms.int32(2),
0019 
0020     #three possibilities:
0021     # whatData=-1: in your training-file both, signal and background events are available
0022     # whatData=1: your training-file contains only signal events
0023     # whatData=0: your training-file contains only background events
0024     whatData = cms.int32(1),
0025 
0026     #maximum number of training events to be used
0027     # maxEv = -1: all events are used
0028     # for example maxEv = 5000: writes only the first 5000 events to the training tree
0029     maxEv = cms.int32(-1),
0030 )