CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoTauTag/RecoTau/python/RecoTauPiZeroBuilderPlugins_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 '''
00004 
00005 Configuration for Pi Zero producer plugins.
00006 
00007 Author: Evan K. Friis, UC Davis
00008 
00009 
00010 '''
00011 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
00012 
00013 # Produce a PiZero candidate for each photon - the "trivial" case
00014 allSinglePhotons = cms.PSet(
00015     name = cms.string("1"),
00016     plugin = cms.string("RecoTauPiZeroTrivialPlugin"),
00017     qualityCuts = PFTauQualityCuts.signalQualityCuts,
00018 )
00019 
00020 # Produce a PiZero candidate for each possible photon pair
00021 combinatoricPhotonPairs = cms.PSet(
00022     name = cms.string("2"),
00023     plugin = cms.string("RecoTauPiZeroCombinatoricPlugin"),
00024     qualityCuts = PFTauQualityCuts.signalQualityCuts,
00025     # Determine the maximum number of PiZeros to use. -1 for all
00026     maxInputGammas = cms.uint32(10),
00027     # Mass constraints taken care of during cleaning.
00028     minMass = cms.double(0.0),
00029     maxMass = cms.double(-1.0),
00030     choose = cms.uint32(2),
00031 )
00032 
00033 # Produce a "strips" of photons
00034 strips = cms.PSet(
00035     name = cms.string("s"),
00036     plugin = cms.string("RecoTauPiZeroStripPlugin"),
00037     qualityCuts = PFTauQualityCuts.signalQualityCuts,
00038     primaryVertexSrc = cms.InputTag("offlinePrimaryVertices"),
00039     # Clusterize photons and electrons (PF numbering)
00040     stripCandidatesParticleIds   = cms.vint32(2, 4),
00041     stripEtaAssociationDistance  = cms.double(0.05),
00042     stripPhiAssociationDistance  = cms.double(0.2),
00043     makeCombinatoricStrips = cms.bool(False)
00044 )
00045 
00046 comboStrips = cms.PSet(
00047     name = cms.string("cs"),
00048     plugin = cms.string("RecoTauPiZeroStripPlugin"),
00049     qualityCuts = PFTauQualityCuts.signalQualityCuts,
00050     primaryVertexSrc = cms.InputTag("offlinePrimaryVertices"),
00051     # Clusterize photons and electrons (PF numbering)
00052     stripCandidatesParticleIds   = cms.vint32(2, 4),
00053     stripEtaAssociationDistance  = cms.double(0.05),
00054     stripPhiAssociationDistance  = cms.double(0.2),
00055     makeCombinatoricStrips = cms.bool(True),
00056     maxInputStrips = cms.int32(5),
00057     stripMassWhenCombining = cms.double(0.0), # assume photon like
00058 )