CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TtSemiLepHypGenMatch_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # module to make the genMatch hypothesis
5 #
6 ttSemiLepHypGenMatch = cms.EDProducer("TtSemiLepHypGenMatch",
7  ## met input
8  mets = cms.InputTag("patMETs"),
9  ## jet input
10  jets = cms.InputTag("selectedPatJets"),
11  ## lepton input
12  leps = cms.InputTag("selectedPatMuons"),
13  ## matched jet combination
14  match = cms.InputTag("ttSemiLepJetPartonMatch"),
15  ## number of considered jets
16  nJetsConsidered = cms.InputTag("ttSemiLepJetPartonMatch","NumberOfConsideredJets"),
17  ## specify jet correction level as, Uncorrected, L1Offset, L2Relative, L3Absolute,
18  ## L4Emf, L5Hadron, L6UE, L7Parton, a flavor specification will be added automatically,
19  ## when chosen
20  jetCorrectionLevel = cms.string("L3Absolute"),
21  ## different ways to calculate a neutrino pz:
22  ## -1 : take MET as neutrino directly, i.e. pz = 0
23  ## or use mW = 80.4 GeV to solve the quadratic equation for the neutrino pz;
24  ## if two real solutions...
25  ## 0 : take the one closer to the lepton pz if neutrino pz < 300 GeV,
26  ## otherwise the more central one
27  ## 1 : always take the one closer to the lepton pz
28  ## 2 : always take the more central one, i.e. minimize neutrino pz
29  ## 3 : maximize the cosine of the angle between lepton and reconstructed W
30  ## in all these cases (0, 1, 2, 3), only the real part is used if solutions are complex
31  neutrinoSolutionType = cms.int32(-1)
32 )