CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
00003 
00004 hpsPFRecoTauProducer = cms.EDProducer("PFRecoTauProducer",
00005       #Standard Input
00006       PFTauTagInfoProducer = cms.InputTag("pfRecoTauTagInfoProducer"),
00007       JetPtMin             = cms.double(0.0),
00008       ElectronPreIDProducer                = cms.InputTag("elecpreid"),
00009       PVProducer      = PFTauQualityCuts.primaryVertexSrc,
00010       smearedPVsigmaY = cms.double(0.0015),
00011       smearedPVsigmaX = cms.double(0.0015),
00012       smearedPVsigmaZ = cms.double(0.005),
00013 
00014       Algorithm       = cms.string("HPS"),
00015       #HPS Specific
00016 
00017       #Setup the merger
00018       emMergingAlgorithm           = cms.string("StripBased"), #Strip Algorithm
00019       stripCandidatesPdgIds        = cms.vint32(22,11),        #Clusterize photons and electrons
00020       stripEtaAssociationDistance  = cms.double(0.05),         #Eta Association for the strips
00021       stripPhiAssociationDistance  = cms.double(0.2),          #Phi Association for the strips
00022       stripPtThreshold             = cms.double(1.0),          # Strip Pt Threshold
00023 
00024       candOverlapCriterion   = cms.string("Isolation"),        #Overlap filter double decay modes by Isolation
00025       #Select Decay Modes
00026       doOneProng             = cms.bool(True),
00027       doOneProngStrip        = cms.bool(True),
00028       doOneProngTwoStrips    = cms.bool(True),
00029       doThreeProng           = cms.bool(True),
00030 
00031       #Minimum Pt for the tau
00032       tauPtThreshold         = cms.double(15.),
00033       #Leading Pion Threshold
00034       leadPionThreshold      = cms.double(1.0),
00035 
00036 
00037       #Isolation cone definitions
00038       chargeHadrIsolationConeSize = cms.double(0.5),
00039       gammaIsolationConeSize      = cms.double(0.5),
00040       neutrHadrIsolationConeSize  = cms.double(0.5),
00041 
00042       # If it is true the algorithm will calculate the signal cone
00043       # and put in the Isolation items that are outside it
00044       #If it is False it will associate to the Isolation
00045       #any non signal constituent
00046       useIsolationAnnulus = cms.bool(False),
00047       #Mass Windows
00048       oneProngStripMassWindow = cms.vdouble(0.3,1.3),
00049       oneProngTwoStripsMassWindow = cms.vdouble(0.4,1.2),
00050       oneProngTwoStripsPi0MassWindow = cms.vdouble(0.05,0.2),
00051       threeProngMassWindow = cms.vdouble(0.8,1.5),
00052       #Matching cone for the taus
00053       matchingCone= cms.double(0.1),
00054       #Add converted electrons to the Tau LV
00055       coneMetric        = cms.string("DR"),
00056       coneSizeFormula   = cms.string("2.8/ET"),
00057       minimumSignalCone = cms.double(0.05),
00058       maximumSignalCone = cms.double(0.1)
00059 )