CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoTauDiscriminantCutMultiplexer_cfi.py
Go to the documentation of this file.
1 '''
2 
3 Multiplex a cut on a PFTauDiscriminator using another PFTauDiscriminator as the
4 index.
5 
6 Used by the anti-electron MVA, which needs to choose what cut to apply on the
7 MVA output depending on what the category is.
8 
9 '''
10 
11 import FWCore.ParameterSet.Config as cms
12 
13 recoTauDiscriminantCutMultiplexer = cms.EDProducer(
14  "RecoTauDiscriminantCutMultiplexer",
15  PFTauProducer = cms.InputTag("fixme"),
16  toMultiplex = cms.InputTag("fixme"),
17  Prediscriminants = cms.PSet(
18  BooleanOperator = cms.string("and"),
19  decayMode = cms.PSet(
20  Producer = cms.InputTag("fixme"),
21  cut = cms.double(0.)
22  )
23  ),
24  key = cms.InputTag("fixme"), # a discriminator
25  loadMVAfromDB = cms.bool(True),
26  mapping = cms.VPSet(
27  cms.PSet(
28  category = cms.uint32(0),
29  cut = cms.double(0.5),
30  ),
31  cms.PSet(
32  category = cms.uint32(1),
33  cut = cms.double(0.2),
34  ),
35  )
36 )