CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/TopQuarkAnalysis/TopTools/python/TtFullHadJetPartonMatch_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #
00004 # module to make jet-parton matches for full-hadronic
00005 # ttbar decays; the product will be a std::vector of
00006 # matches, each match a std::vector<int> in the order
00007 # (LightQ, LightQBar, B, LightP, LightPBar, BBar)
00008 #
00009 TtFullHadJetPartonMatch = cms.EDProducer("TtFullHadJetPartonMatch",
00010     ## sources
00011     jets = cms.InputTag("selectedPatJets"),
00012 
00013     #-------------------------------------------------
00014     # algorithms: totalMinDist
00015     #             minSumDist
00016     #             ptOrderedMinDist
00017     #             unambiguousOnly
00018     #-------------------------------------------------
00019     algorithm = cms.string("totalMinDist"),
00020 
00021     #-------------------------------------------------
00022     # use DeltaR (eta, phi) for calculating the
00023     # distance between jets and partons; the normal
00024     # space angle (theta, phi) is used otherwise
00025     #-------------------------------------------------
00026     useDeltaR = cms.bool(True),
00027 
00028     #-------------------------------------------------
00029     # do an outlier rejection based on an upper cut
00030     # on the distance between matched jet and parton
00031     # (useMaxDist = true is enforced for the
00032     #  unambiguousOnly algorithm)
00033     #-------------------------------------------------
00034     useMaxDist = cms.bool(False),
00035     maxDist = cms.double(0.3),
00036 
00037     #-------------------------------------------------
00038     # number of jets to be considered in the matching
00039     # (has to be >= 6, can be set to -1 if you want to 
00040     # take all)
00041     #-------------------------------------------------
00042     maxNJets = cms.int32(6),
00043 
00044     #-------------------------------------------------
00045     # number of different combinations to be stored
00046     # (can be set to -1 if you want to take all,
00047     #  minSumDist is the only algorithm that provides
00048     #  more than only the best combination)
00049     #-------------------------------------------------
00050     maxNComb = cms.int32(1),
00051 
00052     #-------------------------------------------------
00053     # partons to be ignored in the matching;
00054     # "LightQ", "LightQBar", "B",
00055     # "LightP", "LightPBar", "BBar"
00056     #-------------------------------------------------
00057     partonsToIgnore = cms.vstring(),
00058 
00059     #-------------------------------------------------
00060     # verbosity level: 0: no additional printout
00061     #                  1: print info for each event
00062     #-------------------------------------------------
00063     verbosity = cms.int32(0)
00064 )
00065 
00066