CMS 3D CMS Logo

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 from RecoTauTag.RecoTau.recoTauDiscriminantCutMultiplexerDefault_cfi import recoTauDiscriminantCutMultiplexerDefault
13 
14 recoTauDiscriminantCutMultiplexer = recoTauDiscriminantCutMultiplexerDefault.clone(
15  PFTauProducer = cms.InputTag("fixme"),
16  toMultiplex = cms.InputTag("fixme"),
17  mapping = cms.VPSet(
18  cms.PSet(
19  category = cms.uint32(0),
20  cut = cms.double(0.5),
21  ),
22  cms.PSet(
23  category = cms.uint32(1),
24  cut = cms.double(0.2),
25  ),
26  )
27 )