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  mapping = cms.VPSet(
26  cms.PSet(
27  category = cms.uint32(0),
28  cut = cms.double(0.5),
29  ),
30  cms.PSet(
31  category = cms.uint32(1),
32  cut = cms.double(0.2),
33  ),
34  )
35 )