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