test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TtSemiEvtSolProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # module to build semi-leptonic ttbar event solutions
5 # (one solution for each possible jet combination)
6 #
7 solutions = cms.EDProducer("TtSemiEvtSolutionMaker",
8  metSource = cms.InputTag("patMETs"),
9  muonSource = cms.InputTag("selectedPatMuons"),
10  electronSource = cms.InputTag("selectedPatElectrons"),
11  jetSource = cms.InputTag("selectedPatJets"),
12 
13  ## considered channel
14  leptonFlavour = cms.string('muon'),
15 
16  ## choose jet correction scheme
17  jetCorrectionScheme = cms.int32(0),
18 
19  ## match to gen event?
20  matchToGenEvt = cms.bool(True),
21  matchingAlgorithm = cms.int32(0),
22  useDeltaR = cms.bool(True),
23  maximalDistance = cms.double(0.3),
24  useMaximalDistance = cms.bool(True),
25 
26  ## configure kinematic fit
27  doKinFit = cms.bool(True),
28  maxNrIter = cms.int32(200),
29  maxDeltaS = cms.double(5e-05),
30  maxF = cms.double(0.0001),
31  constraints = cms.vuint32(1),
32  jetParametrisation = cms.int32(0),
33  metParametrisation = cms.int32(0),
34  lepParametrisation = cms.int32(0),
35 
36  ## configuration of private LH ratio method
37  addLRJetComb = cms.bool(True),
38  lrJetCombObs = cms.vint32(-1),
39  lrJetCombFile = cms.string('TopQuarkAnalysis/TopJetCombination/data/TtSemiLRJetCombSelObsAndPurity.root'),
40 
41  addLRSignalSel = cms.bool(True),
42  lrSignalSelObs = cms.vint32(-1),
43  lrSignalSelFile = cms.string('TopQuarkAnalysis/TopEventSelection/data/TtSemiLRSignalSelSelObsAndPurity.root'),
44 
45  nrCombJets = cms.uint32(4)
46 )
47 
48