CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoTauPiZeroBuilderPlugins_cfi.py
Go to the documentation of this file.
2 
3 '''
4 
5 Configuration for Pi Zero producer plugins.
6 
7 Author: Evan K. Friis, UC Davis
8 
9 
10 '''
11 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
12 
13 # Produce a PiZero candidate for each photon - the "trivial" case
14 allSinglePhotons = cms.PSet(
15  name = cms.string("1"),
16  plugin = cms.string("RecoTauPiZeroTrivialPlugin"),
17  qualityCuts = PFTauQualityCuts.signalQualityCuts,
18 )
19 
20 # Produce a PiZero candidate for each possible photon pair
21 combinatoricPhotonPairs = cms.PSet(
22  name = cms.string("2"),
23  plugin = cms.string("RecoTauPiZeroCombinatoricPlugin"),
24  qualityCuts = PFTauQualityCuts.signalQualityCuts,
25  # Determine the maximum number of PiZeros to use. -1 for all
26  maxInputGammas = cms.uint32(10),
27  # Mass constraints taken care of during cleaning.
28  minMass = cms.double(0.0),
29  maxMass = cms.double(-1.0),
30  choose = cms.uint32(2),
31 )
32 
33 # Produce a "strips" of photons
34 strips = cms.PSet(
35  name = cms.string("s"),
36  plugin = cms.string("RecoTauPiZeroStripPlugin"),
37  qualityCuts = PFTauQualityCuts.signalQualityCuts,
38  primaryVertexSrc = cms.InputTag("offlinePrimaryVertices"),
39  # Clusterize photons and electrons (PF numbering)
40  stripCandidatesParticleIds = cms.vint32(2, 4),
41  stripEtaAssociationDistance = cms.double(0.05),
42  stripPhiAssociationDistance = cms.double(0.2),
43 )