CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/TopQuarkAnalysis/TopTools/python/TtSemiLepJetPartonMatch_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 semi-leptonic
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, HadB, LepB)
00008 #
00009 TtSemiLepJetPartonMatch = cms.EDProducer("TtSemiLepJetPartonMatch",
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 >= 4, can be set to -1 if you want to 
00040     # take all)
00041     #-------------------------------------------------
00042     maxNJets = cms.int32(4),
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", "HadB", "LepB"
00055     #-------------------------------------------------
00056     partonsToIgnore = cms.vstring(),
00057 
00058     #-------------------------------------------------
00059     # verbosity level: 0: no additional printout
00060     #                  1: print info for each event
00061     #-------------------------------------------------
00062     verbosity = cms.int32(0)
00063 )
00064 
00065