CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  loadMVAfromDB = cms.bool(True),
25  inputFileName = cms.FileInPath("RecoTauTag/RecoTau/data/emptyMVAinputFile"), # the filename for MVA if it is not loaded from DB
26  mvaOutput_normalization = cms.string(""), # the special value for not using a string parameter is empty string ""
27  # it's the same value as the atribute of this plugin class is initialized with anyway
28  # and throughout configs this parameter is everywhere set to non-empty value
29 
30  mapping = cms.VPSet(
31  cms.PSet(
32  category = cms.uint32(0),
33  cut = cms.double(0.5),
34  ),
35  cms.PSet(
36  category = cms.uint32(1),
37  cut = cms.double(0.2),
38  ),
39  ),
40  workingPoints = cms.vstring(),
41  verbosity = cms.int32(0)
42 )