CMS 3D CMS Logo

RecoTauDiscriminantConfiguration.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 discriminantConfiguration = cms.PSet(
4 
5  FlightPathSignificance = cms.PSet(
6  plugin = cms.string("RecoTauDiscriminantFromDiscriminator"),
7  discSrc = cms.VInputTag(cms.InputTag('hpsTancTausDiscriminationByFlightPath')),
8  minValue = cms.double(-25),
9  maxValue = cms.double(25),
10  takeAbs = cms.bool(False),
11  ),
12 
13  InvariantOpeningAngle = cms.PSet(
14  plugin = cms.string("RecoTauDiscriminantInvariantWidth"),
15  decayModes = cms.VPSet(
16  cms.PSet(
17  nCharged = cms.uint32(1),
18  nPiZeros = cms.uint32(1),
19  mean = cms.string("5.0e-3 + 0.43/max(pt, 1.0)"),
20  rms = cms.string("2.7e-3 + 0.23/max(pt, 1.0)"),
21  ),
22  cms.PSet(
23  nCharged = cms.uint32(1),
24  nPiZeros = cms.uint32(2),
25  mean = cms.string("4.7e-3 + 0.9/max(pt, 1.0)"),
26  rms = cms.string("7.5e-3 + 0.3/max(pt, 1.0)"),
27  ),
28  cms.PSet(
29  nCharged = cms.uint32(3),
30  nPiZeros = cms.uint32(0),
31  mean = cms.string("0.87/max(pt, 1.0)"),
32  rms = cms.string("0.38/max(pt, 1.0)"),
33  ),
34  ),
35  # These shouldn't happen.
36  defaultMean = cms.string("max(0.87/max(pt, 1.0), 0.005)"),
37  defaultRMS = cms.string("max(0.3/max(pt, 1.0), 0.005)"),
38  ),
39 
40  # Binned isolation plugins are defined in
41  # RecoTauTag/RecoTau/plugins/RecoTauIsolationDiscriminantPlugins.cc
42  BinnedTrackIsolation = cms.PSet(
43  plugin = cms.string("RecoTauDiscriminationBinnedTrackIsolation"),
44  vtxSource = cms.InputTag("recoTauPileUpVertices"),
45  binning = cms.VPSet(
46  cms.PSet(
47  nPUVtx = cms.int32(0),
48  binLowEdges = cms.vdouble(0.50, 0.86, 1.87)
49  ),
50  cms.PSet(
51  nPUVtx = cms.int32(1),
52  binLowEdges = cms.vdouble(0.51, 0.86, 1.87)
53  ),
54  cms.PSet(
55  nPUVtx = cms.int32(2),
56  binLowEdges = cms.vdouble(0.51, 0.86, 1.87)
57  ),
58  cms.PSet(
59  nPUVtx = cms.int32(3),
60  binLowEdges = cms.vdouble(0.52, 0.86, 1.87)
61  ),
62  cms.PSet(
63  nPUVtx = cms.int32(4),
64  binLowEdges = cms.vdouble(0.52, 0.86, 1.87)
65  ),
66  ),
67  defaultBinning = cms.vdouble(0.52, 0.86, 1.87)
68  ),
69 
70  BinnedMaskedEcalIsolation = cms.PSet(
71  plugin = cms.string("RecoTauDiscriminationBinnedMaskedECALIsolation"),
72  vtxSource = cms.InputTag("recoTauPileUpVertices"),
73  mask = cms.PSet(
74  ecalCone = cms.double(0.15),
75  hcalCone = cms.double(0.3),
76  finalHcalCone = cms.double(0.08),
77  maxSigmas = cms.double(2)
78  ),
79  binning = cms.VPSet(
80  cms.PSet(
81  nPUVtx = cms.int32(0),
82  binLowEdges = cms.vdouble(0.50, 0.88, 2.53)
83  ),
84  cms.PSet(
85  nPUVtx = cms.int32(1),
86  binLowEdges = cms.vdouble(0.65, 0.98, 2.53)
87  ),
88  cms.PSet(
89  nPUVtx = cms.int32(2),
90  binLowEdges = cms.vdouble(0.74, 1.05, 2.54)
91  ),
92  cms.PSet(
93  nPUVtx = cms.int32(3),
94  binLowEdges = cms.vdouble(0.80, 1.11, 2.54)
95  ),
96  cms.PSet(
97  nPUVtx = cms.int32(4),
98  binLowEdges = cms.vdouble(0.86, 1.15, 2.54)
99  ),
100  cms.PSet(
101  nPUVtx = cms.int32(5),
102  binLowEdges = cms.vdouble(0.90, 1.19, 2.55)
103  ),
104  cms.PSet(
105  nPUVtx = cms.int32(6),
106  binLowEdges = cms.vdouble(0.94, 1.22, 2.55)
107  ),
108  cms.PSet(
109  nPUVtx = cms.int32(7),
110  binLowEdges = cms.vdouble(0.97, 1.25, 2.55)
111  ),
112  cms.PSet(
113  nPUVtx = cms.int32(8),
114  binLowEdges = cms.vdouble(1.00, 1.27, 2.56)
115  ),
116  cms.PSet(
117  nPUVtx = cms.int32(9),
118  binLowEdges = cms.vdouble(1.03, 1.30, 2.56)
119  ),
120  ),
121  defaultBinning = cms.vdouble(1.03, 1.30, 2.56)
122  ),
123 
124  BinnedMaskedHcalIsolation = cms.PSet(
125  plugin = cms.string("RecoTauDiscriminationBinnedMaskedHCALIsolation"),
126  vtxSource = cms.InputTag("recoTauPileUpVertices"),
127  mask = cms.PSet(
128  ecalCone = cms.double(0.15),
129  hcalCone = cms.double(0.3),
130  finalHcalCone = cms.double(0.08),
131  maxSigmas = cms.double(2)
132  ),
133  binning = cms.VPSet(
134  cms.PSet(
135  nPUVtx = cms.int32(0),
136  binLowEdges = cms.vdouble(1.00, 1.79, 4.03)
137  ),
138  cms.PSet(
139  nPUVtx = cms.int32(1),
140  binLowEdges = cms.vdouble(1.15, 1.80, 4.03)
141  ),
142  cms.PSet(
143  nPUVtx = cms.int32(2),
144  binLowEdges = cms.vdouble(1.22, 1.81, 4.03)
145  ),
146  cms.PSet(
147  nPUVtx = cms.int32(3),
148  binLowEdges = cms.vdouble(1.27, 1.83, 4.03)
149  ),
150  cms.PSet(
151  nPUVtx = cms.int32(4),
152  binLowEdges = cms.vdouble(1.31, 1.84, 4.03)
153  ),
154  ),
155  defaultBinning = cms.vdouble(1.31, 1.84, 4.03)
156  ),
157 )