CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TtFullLepEvtBuilder_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # module to fill the full-leptonic ttbar event structure
5 #
6 ttFullLepEvent = cms.EDProducer("TtFullLepEvtBuilder",
7  ## choose leptonic decay modes
8  decayChannel1 = cms.int32(2), # 0: none
9  # 1: electron
10  # 2: muon
11  # 3: tau
12  decayChannel2 = cms.int32(2), # 0: none
13  # 1: electron
14  # 2: muon
15  # 3: tau
16 
17 
18  ## set verbosity level
19  verbosity = cms.int32(0), # 0: no additional printout
20  # 1: print a summary for each event
21 
22  ## add genEvt (if available)
23  genEvent = cms.InputTag("genEvt"),
24 
25  ## maximum number of jets taken into account per event for each hypothesis
26  ## (this parameter is used in the ttFullLepEvtBuilder_cff to synchronize
27  ## the individual maxNJets parameters)
28  maxNJets = cms.int32(4), # has to be >= 2
29  # can be set to -1 to take all jets
30 
31  ## labels for event hypotheses
32  hypotheses = cms.VInputTag("ttFullLepHypGenMatch",
33  "ttFullLepHypKinSolution"),
34 
35  ## add extra information on kinSolution
36  kinSolution = cms.PSet(
37  solWeight = cms.InputTag("kinSolutionTtFullLepEventHypothesis","solWeight"),
38  wrongCharge = cms.InputTag("kinSolutionTtFullLepEventHypothesis","isWrongCharge"),
39  ),
40 
41  ## add extra information on genMatch
42  genMatch = cms.PSet(
43  sumPt = cms.InputTag("ttFullLepJetPartonMatch","SumPt"),
44  sumDR = cms.InputTag("ttFullLepJetPartonMatch","SumDR"),
45  ),
46 )