CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoTauTag/RecoTau/python/PFRecoTauDiscriminationByHPSSelection_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from RecoTauTag.RecoTau.TauDiscriminatorTools import noPrediscriminants
00004 
00005 hpsSelectionDiscriminator = cms.EDProducer(
00006     "PFRecoTauDiscriminationByHPSSelection",
00007     PFTauProducer = cms.InputTag('combinatoricRecoTaus'),
00008     Prediscriminants = noPrediscriminants,
00009     matchingCone = cms.double(0.1),
00010     minTauPt = cms.double(0.0),
00011     coneSizeFormula = cms.string("max(min(0.1, 2.8/pt()),0.05)"),
00012     decayModes = cms.VPSet(
00013         cms.PSet(
00014             nCharged = cms.uint32(1),
00015             nPiZeros = cms.uint32(0),
00016             # Always passes
00017             # If an PF electron is selected as the lead track, the tau can have
00018             # negative mass. FIXME - investigate this
00019             minMass = cms.double(-1.e3),
00020             maxMass = cms.string("1.")
00021         ),
00022         cms.PSet(
00023             nCharged = cms.uint32(1),
00024             nPiZeros = cms.uint32(1),
00025             minMass = cms.double(0.3),
00026             maxMass = cms.string("max(1.3, min(1.3*sqrt(pt/200.), 2.1))"),
00027             assumeStripMass = cms.double(0.1349)
00028         ),
00029         cms.PSet(
00030             nCharged = cms.uint32(1),
00031             nPiZeros = cms.uint32(2),
00032             minMass = cms.double(0.4),
00033             maxMass = cms.string("max(1.2, min(1.2*sqrt(pt/200.), 2.0))"),
00034             minPi0Mass = cms.double(0.05),
00035             maxPi0Mass = cms.double(0.2),
00036             # Here the strips are assumed to correspond to photons
00037             assumeStripMass = cms.double(0.0)
00038         ),
00039         cms.PSet(
00040             nCharged = cms.uint32(3),
00041             nPiZeros = cms.uint32(0),
00042             minMass = cms.double(0.8),
00043             maxMass = cms.string("1.5")
00044         )
00045     )
00046 )
00047 
00048 
00049