CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HPSPFRecoTauProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
3 from RecoTauTag.RecoTau.PFRecoTauProducer_cfi import pfRecoTauProducer
4 
5 hpsPFRecoTauProducer = pfRecoTauProducer.clone(
6  #Standard Input
7  PFTauTagInfoProducer = cms.InputTag("pfRecoTauTagInfoProducer"),
8  JetPtMin = cms.double(0.0),
9  ElectronPreIDProducer = cms.InputTag("elecpreid"),
10  PVProducer = PFTauQualityCuts.primaryVertexSrc,
11  smearedPVsigmaY = cms.double(0.0015),
12  smearedPVsigmaX = cms.double(0.0015),
13  smearedPVsigmaZ = cms.double(0.005),
14 
15  Algorithm = cms.string("HPS"),
16  #HPS Specific
17 
18  #Setup the merger
19  emMergingAlgorithm = cms.string("StripBased"), #Strip Algorithm
20  stripCandidatesPdgIds = cms.vint32(22,11), #Clusterize photons and electrons
21  stripEtaAssociationDistance = cms.double(0.05), #Eta Association for the strips
22  stripPhiAssociationDistance = cms.double(0.2), #Phi Association for the strips
23  stripPtThreshold = cms.double(1.0), # Strip Pt Threshold
24 
25  candOverlapCriterion = cms.string("Isolation"), #Overlap filter double decay modes by isolation
26  #Select Decay Modes
27  doOneProng = cms.bool(True),
28  doOneProngStrip = cms.bool(True),
29  doOneProngTwoStrips = cms.bool(True),
30  doThreeProng = cms.bool(True),
31 
32  #Minimum Pt for the tau
33  tauPtThreshold = cms.double(15.),
34  #Leading Pion Threshold
35  leadPionThreshold = cms.double(1.0),
36 
37 
38  #isolation cone definitions
39  chargeHadrIsolationConeSize = cms.double(0.5),
40  gammaIsolationConeSize = cms.double(0.5),
41  neutrHadrIsolationConeSize = cms.double(0.5),
42 
43  # If it is true the algorithm will calculate the signal cone
44  # and put in the isolation items that are outside it
45  #If it is False it will associate to the isolation
46  #any non signal constituent
47  useIsolationAnnulus = cms.bool(False),
48  #Mass Windows
49  oneProngStripMassWindow = cms.vdouble(0.3,1.3),
50  oneProngTwoStripsMassWindow = cms.vdouble(0.4,1.2),
51  oneProngTwoStripsPi0MassWindow = cms.vdouble(0.05,0.2),
52  threeProngMassWindow = cms.vdouble(0.8,1.5),
53  #Matching cone for the taus
54  matchingCone= cms.double(0.1),
55  #Add converted electrons to the Tau LV
56  coneMetric = cms.string("DR"),
57  coneSizeFormula = cms.string("2.8/ET"),
58  minimumSignalCone = cms.double(0.05),
59  maximumSignalCone = cms.double(0.1)
60 )