CMS 3D CMS Logo

PATTauDiscriminantCutMultiplexer_cfi.py
Go to the documentation of this file.
1 '''
2 
3 Multiplex a cut on a PATTauDiscriminator using another PATTauDiscriminator 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 patTauDiscriminantCutMultiplexer = cms.EDProducer(
14  "PATTauDiscriminantCutMultiplexer",
15  PATTauProducer = 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 )