CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TtDecayChannelFilter_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ttDecayChannelFilter = cms.EDFilter("TtDecayChannelFilter",
4  ## input source for decay channel selection
5  src = cms.InputTag("genParticles"),
6  ## invert the selection choice
7  invert = cms.bool(False),
8 
9  ## allow given lepton in corresponding decay
10  ## branch for a given decay-channel selection;
11  ## all leptons to 'False' corresponds to the
12  ## fully-hadronic decay channel
13  allowedTopDecays = cms.PSet(
14  decayBranchA = cms.PSet(
15  electron = cms.bool(False),
16  muon = cms.bool(False),
17  tau = cms.bool(False)
18  ),
19  decayBranchB= cms.PSet(
20  electron = cms.bool(False),
21  muon = cms.bool(False),
22  tau = cms.bool(False)
23  )
24  ),
25 
26  ## add a restriction to the decay channel of taus
27  ## by redefining the following ParameterSet in
28  ## your cfg file; the following restrictions are
29  ## available:
30  restrictTauDecays = cms.PSet(
31  # electron = cms.bool(True),
32  # muon = cms.bool(True),
33  # oneProng = cms.bool(True),
34  # threeProng = cms.bool(True)
35  )
36 )
37 
38