CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecoTauDiscriminationByHPSSelection_cfi.py
Go to the documentation of this file.
2 
3 from RecoTauTag.RecoTau.TauDiscriminatorTools import noPrediscriminants
4 
5 hpsSelectionDiscriminator = cms.EDProducer(
6  "PFRecoTauDiscriminationByHPSSelection",
7  PFTauProducer = cms.InputTag('combinatoricRecoTaus'),
8  Prediscriminants = noPrediscriminants,
9  matchingCone = cms.double(0.1),
10  minTauPt = cms.double(0.0),
11  coneSizeFormula = cms.string("max(min(0.1, 2.8/pt()),0.05)"),
12  decayModes = cms.VPSet(
13  cms.PSet(
14  nCharged = cms.uint32(1),
15  nPiZeros = cms.uint32(0),
16  # Always passes
17  # If an PF electron is selected as the lead track, the tau can have
18  # negative mass. FIXME - investigate this
19  minMass = cms.double(-1.e3),
20  maxMass = cms.string("1.")
21  ),
22  cms.PSet(
23  nCharged = cms.uint32(1),
24  nPiZeros = cms.uint32(1),
25  minMass = cms.double(0.3),
26  maxMass = cms.string("max(1.3, min(1.3*sqrt(pt/200.), 2.1))"),
27  assumeStripMass = cms.double(0.1349)
28  ),
29  cms.PSet(
30  nCharged = cms.uint32(1),
31  nPiZeros = cms.uint32(2),
32  minMass = cms.double(0.4),
33  maxMass = cms.string("max(1.2, min(1.2*sqrt(pt/200.), 2.0))"),
34  minPi0Mass = cms.double(0.05),
35  maxPi0Mass = cms.double(0.2),
36  # Here the strips are assumed to correspond to photons
37  assumeStripMass = cms.double(0.0)
38  ),
39  cms.PSet(
40  nCharged = cms.uint32(3),
41  nPiZeros = cms.uint32(0),
42  minMass = cms.double(0.8),
43  maxMass = cms.string("1.5")
44  )
45  )
46 )
47 
48 
49