CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/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,
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,
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,
00038     # Clusterize photons and electrons (PF numbering)
00039     stripCandidatesParticleIds   = cms.vint32(2, 4),
00040     stripEtaAssociationDistance  = cms.double(0.05),
00041     stripPhiAssociationDistance  = cms.double(0.2),
00042     makeCombinatoricStrips = cms.bool(False)
00043 )
00044 
00045 comboStrips = cms.PSet(
00046     name = cms.string("cs"),
00047     plugin = cms.string("RecoTauPiZeroStripPlugin"),
00048     qualityCuts = PFTauQualityCuts,
00049     # Clusterize photons and electrons (PF numbering)
00050     stripCandidatesParticleIds   = cms.vint32(2, 4),
00051     stripEtaAssociationDistance  = cms.double(0.05),
00052     stripPhiAssociationDistance  = cms.double(0.2),
00053     makeCombinatoricStrips = cms.bool(True),
00054     maxInputStrips = cms.int32(5),
00055     stripMassWhenCombining = cms.double(0.0), # assume photon like
00056 )
00057 
00058 # Produce a "strips" of photons
00059 # with no track quality cuts applied to PFElectrons
00060 modStrips = strips.clone(
00061     plugin = cms.string('RecoTauPiZeroStripPlugin2'),
00062     applyElecTrackQcuts = cms.bool(False),
00063     minGammaEtStripSeed = cms.double(0.5),
00064     minGammaEtStripAdd = cms.double(0.),
00065     minStripEt = cms.double(1.0),
00066     updateStripAfterEachDaughter = cms.bool(False),
00067     maxStripBuildIterations = cms.int32(-1)
00068 )
00069