CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/RecoTauTag/RecoTau/python/RecoTauDiscriminantConfiguration.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 discriminantConfiguration = cms.PSet(
00004 
00005     FlightPathSignificance = cms.PSet(
00006         plugin = cms.string("RecoTauDiscriminantFromDiscriminator"),
00007         discSrc = cms.InputTag('hpsTancTausDiscriminationByFlightPath'),
00008         minValue = cms.double(-25),
00009         maxValue = cms.double(25),
00010     ),
00011 
00012     InvariantOpeningAngle = cms.PSet(
00013         plugin = cms.string("RecoTauDiscriminantInvariantWidth"),
00014         decayModes = cms.VPSet(
00015             cms.PSet(
00016                 nCharged = cms.uint32(1),
00017                 nPiZeros = cms.uint32(1),
00018                 mean = cms.string("5.0e-3 + 0.43/max(pt, 1.0)"),
00019                 rms = cms.string("2.7e-3 + 0.23/max(pt, 1.0)"),
00020             ),
00021             cms.PSet(
00022                 nCharged = cms.uint32(1),
00023                 nPiZeros = cms.uint32(2),
00024                 mean = cms.string("4.7e-3 + 0.9/max(pt, 1.0)"),
00025                 rms = cms.string("7.5e-3 + 0.3/max(pt, 1.0)"),
00026             ),
00027             cms.PSet(
00028                 nCharged = cms.uint32(3),
00029                 nPiZeros = cms.uint32(0),
00030                 mean = cms.string("0.87/max(pt, 1.0)"),
00031                 rms = cms.string("0.38/max(pt, 1.0)"),
00032             ),
00033         ),
00034         # These shouldn't happen.
00035         defaultMean = cms.string("max(0.87/max(pt, 1.0), 0.005)"),
00036         defaultRMS = cms.string("max(0.3/max(pt, 1.0), 0.005)"),
00037     ),
00038 
00039     # Binned isolation plugins are defined in
00040     # RecoTauTag/RecoTau/plugins/RecoTauIsolationDiscriminantPlugins.cc
00041     BinnedTrackIsolation = cms.PSet(
00042         plugin = cms.string("RecoTauDiscriminationBinnedTrackIsolation"),
00043         vtxSource = cms.InputTag("recoTauPileUpVertices"),
00044         binning = cms.VPSet(
00045             cms.PSet(
00046                 nPUVtx = cms.int32(0),
00047                 binLowEdges = cms.vdouble(0.50, 0.86, 1.87)
00048             ),
00049             cms.PSet(
00050                 nPUVtx = cms.int32(1),
00051                 binLowEdges = cms.vdouble(0.51, 0.86, 1.87)
00052             ),
00053             cms.PSet(
00054                 nPUVtx = cms.int32(2),
00055                 binLowEdges = cms.vdouble(0.51, 0.86, 1.87)
00056             ),
00057             cms.PSet(
00058                 nPUVtx = cms.int32(3),
00059                 binLowEdges = cms.vdouble(0.52, 0.86, 1.87)
00060             ),
00061             cms.PSet(
00062                 nPUVtx = cms.int32(4),
00063                 binLowEdges = cms.vdouble(0.52, 0.86, 1.87)
00064             ),
00065         ),
00066         defaultBinning = cms.vdouble(0.52, 0.86, 1.87)
00067     ),
00068 
00069     BinnedMaskedEcalIsolation = cms.PSet(
00070         plugin = cms.string("RecoTauDiscriminationBinnedMaskedECALIsolation"),
00071         vtxSource = cms.InputTag("recoTauPileUpVertices"),
00072         mask = cms.PSet(
00073             ecalCone = cms.double(0.15),
00074             hcalCone = cms.double(0.3),
00075             finalHcalCone = cms.double(0.08),
00076             maxSigmas = cms.double(2)
00077         ),
00078         binning = cms.VPSet(
00079             cms.PSet(
00080                 nPUVtx = cms.int32(0),
00081                 binLowEdges = cms.vdouble(0.50, 0.88, 2.53)
00082             ),
00083             cms.PSet(
00084                 nPUVtx = cms.int32(1),
00085                 binLowEdges = cms.vdouble(0.65, 0.98, 2.53)
00086             ),
00087             cms.PSet(
00088                 nPUVtx = cms.int32(2),
00089                 binLowEdges = cms.vdouble(0.74, 1.05, 2.54)
00090             ),
00091             cms.PSet(
00092                 nPUVtx = cms.int32(3),
00093                 binLowEdges = cms.vdouble(0.80, 1.11, 2.54)
00094             ),
00095             cms.PSet(
00096                 nPUVtx = cms.int32(4),
00097                 binLowEdges = cms.vdouble(0.86, 1.15, 2.54)
00098             ),
00099             cms.PSet(
00100                 nPUVtx = cms.int32(5),
00101                 binLowEdges = cms.vdouble(0.90, 1.19, 2.55)
00102             ),
00103             cms.PSet(
00104                 nPUVtx = cms.int32(6),
00105                 binLowEdges = cms.vdouble(0.94, 1.22, 2.55)
00106             ),
00107             cms.PSet(
00108                 nPUVtx = cms.int32(7),
00109                 binLowEdges = cms.vdouble(0.97, 1.25, 2.55)
00110             ),
00111             cms.PSet(
00112                 nPUVtx = cms.int32(8),
00113                 binLowEdges = cms.vdouble(1.00, 1.27, 2.56)
00114             ),
00115             cms.PSet(
00116                 nPUVtx = cms.int32(9),
00117                 binLowEdges = cms.vdouble(1.03, 1.30, 2.56)
00118             ),
00119         ),
00120         defaultBinning = cms.vdouble(1.03, 1.30, 2.56)
00121     ),
00122 
00123     BinnedMaskedHcalIsolation = cms.PSet(
00124         plugin = cms.string("RecoTauDiscriminationBinnedMaskedHCALIsolation"),
00125         vtxSource = cms.InputTag("recoTauPileUpVertices"),
00126         mask = cms.PSet(
00127             ecalCone = cms.double(0.15),
00128             hcalCone = cms.double(0.3),
00129             finalHcalCone = cms.double(0.08),
00130             maxSigmas = cms.double(2)
00131         ),
00132         binning = cms.VPSet(
00133             cms.PSet(
00134                 nPUVtx = cms.int32(0),
00135                 binLowEdges = cms.vdouble(1.00, 1.79, 4.03)
00136             ),
00137             cms.PSet(
00138                 nPUVtx = cms.int32(1),
00139                 binLowEdges = cms.vdouble(1.15, 1.80, 4.03)
00140             ),
00141             cms.PSet(
00142                 nPUVtx = cms.int32(2),
00143                 binLowEdges = cms.vdouble(1.22, 1.81, 4.03)
00144             ),
00145             cms.PSet(
00146                 nPUVtx = cms.int32(3),
00147                 binLowEdges = cms.vdouble(1.27, 1.83, 4.03)
00148             ),
00149             cms.PSet(
00150                 nPUVtx = cms.int32(4),
00151                 binLowEdges = cms.vdouble(1.31, 1.84, 4.03)
00152             ),
00153         ),
00154         defaultBinning = cms.vdouble(1.31, 1.84, 4.03)
00155     ),
00156 )