CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TtSemiLepEvtBuilder_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # module to fill the semi-leptonic ttbar event structure
5 #
6 ttSemiLepEvent = cms.EDProducer("TtSemiLepEvtBuilder",
7  ## choose leptonic decay modes
8  decayChannel1 = cms.int32(2), # 0: none
9  # 1: electron
10  # 2: muon
11  # 3: tau
12 
13  decayChannel2 = cms.int32(0), # 0: none
14  # 1: electron
15  # 2: muon
16  # 3: tau
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  ## labels for event hypotheses
26  ## (this vector of strings can be modified using the functions
27  ## addTtSemiLepHypotheses and removeTtSemiLepHypGenMatch in
28  ## TopQuarkAnalysis.TopEventProducers.sequences.ttSemiLepEvtBuilder_cff)
29  hypotheses = cms.VInputTag("ttSemiLepHypGenMatch"), # "ttSemiLepHypGeom"
30  # "ttSemiLepHypWMassMaxSumPt"
31  # "ttSemiLepHypWMassDeltaTopMass"
32  # "ttSemiLepHypMaxSumPtWMass"
33  # "ttSemiLepHypKinFit"
34  # "ttSemiLepHypHitFit"
35  # "ttSemiLepHypMVADisc"
36 
37  ## add extra information on kinFit
38  kinFit = cms.PSet(
39  chi2 = cms.InputTag("kinFitTtSemiLepEventHypothesis","Chi2"),
40  prob = cms.InputTag("kinFitTtSemiLepEventHypothesis","Prob"),
41  ),
42 
43  ## add extra information on hitFit
44  hitFit = cms.PSet(
45  chi2 = cms.InputTag("hitFitTtSemiLepEventHypothesis","Chi2"),
46  prob = cms.InputTag("hitFitTtSemiLepEventHypothesis","Prob"),
47  mt = cms.InputTag("hitFitTtSemiLepEventHypothesis","MT"),
48  sigmt = cms.InputTag("hitFitTtSemiLepEventHypothesis","SigMT"),
49  ),
50 
51  ## add extra information on genMatch
52  genMatch = cms.PSet(
53  sumPt = cms.InputTag("ttSemiLepJetPartonMatch","SumPt"),
54  sumDR = cms.InputTag("ttSemiLepJetPartonMatch","SumDR"),
55  ),
56 
57  ## add extra information on mvaDisc
58  mvaDisc = cms.PSet(
59  meth = cms.InputTag("findTtSemiLepJetCombMVA","Method"),
60  disc = cms.InputTag("findTtSemiLepJetCombMVA","Discriminators")
61  )
62 )