test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TtFullHadJetPartonMatch_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-hadronic
5 # ttbar decays; the product will be a std::vector of
6 # matches, each match a std::vector<int> in the order
7 # (LightQ, LightQBar, B, LightP, LightPBar, BBar)
8 #
9 ttFullHadJetPartonMatch = cms.EDProducer("TtFullHadJetPartonMatch",
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 >= 6, can be set to -1 if you want to
40  # take all)
41  #-------------------------------------------------
42  maxNJets = cms.int32(6),
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  # "LightQ", "LightQBar", "B",
55  # "LightP", "LightPBar", "BBar"
56  #-------------------------------------------------
57  partonsToIgnore = cms.vstring(),
58 
59  #-------------------------------------------------
60  # verbosity level: 0: no additional printout
61  # 1: print info for each event
62  #-------------------------------------------------
63  verbosity = cms.int32(0)
64 )
65 
66