CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TtFullLepJetPartonMatch_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # module to make jet-parton matches for full-leptonic
5 # ttbar decays; the product will be a std::vector of
6 # matches, each match a std::vector<int> in the order
7 # (B, BBar)
8 #
9 ttFullLepJetPartonMatch = cms.EDProducer("TtFullLepJetPartonMatch",
10  ## sources
11  jets = cms.InputTag("selectedPatJets"),
12 
13  #-------------------------------------------------
14  # algorithms: totalMinDist
15  # minSumDist
16  # ptOrderedMinDist
17  # unambiguousOnly
18  #-------------------------------------------------
19  algorithm = cms.string("totalMinDist"),
20 
21  #-------------------------------------------------
22  # use DeltaR (eta, phi) for calculating the
23  # distance between jets and partons; the normal
24  # space angle (theta, phi) is used otherwise
25  #-------------------------------------------------
26  useDeltaR = cms.bool(True),
27 
28  #-------------------------------------------------
29  # do an outlier rejection based on an upper cut
30  # on the distance between matched jet and parton
31  # (useMaxDist = true is enforced for the
32  # unambiguousOnly algorithm)
33  #-------------------------------------------------
34  useMaxDist = cms.bool(False),
35  maxDist = cms.double(0.3),
36 
37  #-------------------------------------------------
38  # number of jets to be considered in the matching
39  # (has to be >= 2, can be set to -1 if you want to
40  # take all)
41  #-------------------------------------------------
42  maxNJets = cms.int32(2),
43 
44  #-------------------------------------------------
45  # number of different combinations to be stored
46  # (can be set to -1 if you want to take all,
47  # minSumDist is the only algorithm that provides
48  # more than only the best combination)
49  #-------------------------------------------------
50  maxNComb = cms.int32(1),
51 
52  #-------------------------------------------------
53  # partons to be ignored in the matching;
54  # "B", "BBar"
55  #-------------------------------------------------
56  partonsToIgnore = cms.vstring(),
57 
58  #-------------------------------------------------
59  # verbosity level: 0: no additional printout
60  # 1: print info for each event
61  #-------------------------------------------------
62  verbosity = cms.int32(0)
63 )
64 
65