00001 import FWCore.ParameterSet.Config as cms 00002 00003 kinFitTtSemiLepEvent = cms.EDProducer("TtSemiLepKinFitProducerElectron", 00004 jets = cms.InputTag("selectedPatJets"), 00005 leps = cms.InputTag("selectedPatElectrons"), 00006 mets = cms.InputTag("patMETs"), 00007 00008 # ------------------------------------------------ 00009 # maximum number of jets to be considered in the 00010 # jet combinatorics (has to be >= 4, can be set to 00011 # -1 if you want to take all) 00012 # ------------------------------------------------ 00013 maxNJets = cms.int32(4), 00014 00015 #------------------------------------------------- 00016 # maximum number of jet combinations finally 00017 # written into the event, starting from the "best" 00018 # (has to be >= 1, can be set to -1 if you want to 00019 # take all) 00020 #------------------------------------------------- 00021 maxNComb = cms.int32(1), 00022 00023 # ------------------------------------------------ 00024 # option to take only a given jet combination 00025 # instead of going through the full combinatorics 00026 # ------------------------------------------------ 00027 match = cms.InputTag("findTtSemiLepJetCombMVA"), 00028 useOnlyMatch = cms.bool(False), 00029 00030 # ------------------------------------------------ 00031 # option to use b-tagging 00032 # ------------------------------------------------ 00033 bTagAlgo = cms.string("trackCountingHighEffBJetTags"), 00034 minBDiscBJets = cms.double(1.0), 00035 maxBDiscLightJets = cms.double(3.0), 00036 useBTagging = cms.bool(False), 00037 00038 # ------------------------------------------------ 00039 # settings for the KinFitter 00040 # ------------------------------------------------ 00041 maxNrIter = cms.uint32(500), 00042 maxDeltaS = cms.double(5e-05), 00043 maxF = cms.double(0.0001), 00044 # ------------------------------------------------ 00045 # select parametrisation 00046 # 0: EMom, 1: EtEtaPhi, 2: EtThetaPhi 00047 # ------------------------------------------------ 00048 jetParametrisation = cms.uint32(1), 00049 lepParametrisation = cms.uint32(1), 00050 metParametrisation = cms.uint32(1), 00051 00052 # ------------------------------------------------ 00053 # set constraints 00054 # 1: Whad-mass, 2: Wlep-mass, 3: thad-mass, 00055 # 4: tlep-mass, 5: nu-mass, 6: equal t-masses 00056 # ------------------------------------------------ 00057 constraints = cms.vuint32(1, 2), 00058 00059 # ------------------------------------------------ 00060 # set mass values used in the constraints 00061 # ------------------------------------------------ 00062 mW = cms.double(80.4), 00063 mTop = cms.double(173.) 00064 ) 00065 00066