Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:22

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 kinFitTtSemiLepEvent = cms.EDProducer("TtSemiLepKinFitProducerElectron",
0004     jets = cms.InputTag("selectedPatJets"),
0005     leps = cms.InputTag("selectedPatElectrons"),
0006     mets = cms.InputTag("patMETs"),
0007 
0008     # ------------------------------------------------
0009     # maximum number of jets to be considered in the
0010     # jet combinatorics (has to be >= 4, can be set to
0011     # -1 if you want to take all)
0012     # ------------------------------------------------
0013     maxNJets = cms.int32(4),
0014 
0015     #-------------------------------------------------
0016     # maximum number of jet combinations finally
0017     # written into the event, starting from the "best"
0018     # (has to be >= 1, can be set to -1 if you want to 
0019     # take all)
0020     #-------------------------------------------------
0021     maxNComb = cms.int32(1),
0022 
0023     # ------------------------------------------------
0024     # option to take only a given jet combination
0025     # instead of going through the full combinatorics
0026     # ------------------------------------------------
0027     match = cms.InputTag("findTtSemiLepJetCombMVA"),
0028     useOnlyMatch = cms.bool(False),
0029 
0030     # ------------------------------------------------
0031     # option to use b-tagging
0032     # ------------------------------------------------
0033     bTagAlgo          = cms.string("trackCountingHighEffBJetTags"),
0034     minBDiscBJets     = cms.double(1.0),
0035     maxBDiscLightJets = cms.double(3.0),
0036     useBTagging       = cms.bool(False),
0037 
0038     # ------------------------------------------------
0039     # settings for the KinFitter
0040     # ------------------------------------------------    
0041     maxNrIter = cms.uint32(500),
0042     maxDeltaS = cms.double(5e-05),
0043     maxF      = cms.double(0.0001),
0044     # ------------------------------------------------
0045     # select parametrisation
0046     # 0: EMom, 1: EtEtaPhi, 2: EtThetaPhi
0047     # ------------------------------------------------
0048     jetParametrisation = cms.uint32(1),
0049     lepParametrisation = cms.uint32(1),
0050     metParametrisation = cms.uint32(1),
0051 
0052     # ------------------------------------------------
0053     # set constraints
0054     # 1: Whad-mass, 2: Wlep-mass, 3: thad-mass,
0055     # 4: tlep-mass, 5: nu-mass, 6: equal t-masses
0056     # 7: sum-pt conservation
0057     # ------------------------------------------------                                   
0058     constraints = cms.vuint32(1, 2),
0059 
0060     # ------------------------------------------------
0061     # set mass values used in the constraints
0062     # ------------------------------------------------    
0063     mW   = cms.double(80.4),
0064     mTop = cms.double(173.),
0065                                       
0066     # ------------------------------------------------
0067     # set correction factor(s) for the jet energy resolution:
0068     # - (optional) eta dependence assumed to be symmetric
0069     #   around eta=0, i.e. parametrized in |eta|
0070     # - any negative value as last bin edge is read as "inf"
0071     # - make sure that number of entries in vector with
0072     #   bin edges = number of scale factors + 1
0073     # ------------------------------------------------
0074     jetEnergyResolutionScaleFactors = cms.vdouble(1.0),
0075     jetEnergyResolutionEtaBinning = cms.vdouble(0.0,-1.0)
0076 )
0077 
0078