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