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("TtFullHadSignalSelMVATrainer",
0007     #input tags used in the example
0008     jets   = cms.InputTag("selectedPatJets"),
0009 
0010     #three possibilities:
0011     # whatData=-1: in your training-file both, signal and background events are available
0012     # whatData=1: your training-file contains only signal events
0013     # whatData=0: your training-file contains only background events
0014     whatData = cms.int32(1),
0015 
0016     #maximum number of training events to be used
0017     # maxEv = -1: all events are used
0018     # for example maxEv = 5000: writes only the first 5000 events to the training tree
0019     maxEv = cms.int32(-1),
0020     #event weight to be put here:
0021     # standard is set to 1, so no weight is applied
0022     # for example if different samples with different integrated luminosities have to be combined
0023     weight = cms.double(1.0)
0024 )