CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/PhysicsTools/PatAlgos/python/producersLayer1/photonProducer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 patPhotons = cms.EDProducer("PATPhotonProducer",
00004     # input collection
00005     photonSource = cms.InputTag("photons"),
00006                                  
00007     # user data to add
00008     userData = cms.PSet(
00009       # add custom classes here
00010       userClasses = cms.PSet(
00011         src = cms.VInputTag('')
00012       ),
00013       # add doubles here
00014       userFloats = cms.PSet(
00015         src = cms.VInputTag('')
00016       ),
00017       # add ints here
00018       userInts = cms.PSet(
00019         src = cms.VInputTag('')
00020       ),
00021       # add candidate ptrs here
00022       userCands = cms.PSet(
00023         src = cms.VInputTag('')
00024       ),
00025       # add "inline" functions here
00026       userFunctions = cms.vstring(),
00027       userFunctionLabels = cms.vstring()
00028     ),
00029 
00030     # embedding of AOD items
00031     embedSuperCluster = cms.bool(True), ## whether to embed in AOD externally stored supercluster
00032 
00033     # embed IsoDeposits to recompute isolation
00034     isoDeposits = cms.PSet(),
00035 
00036     # user defined isolation variables the variables defined here will be accessible
00037     # via pat::Photon::userIsolation(IsolationKeys key) with the key as defined in
00038     # DataFormats/PatCandidates/interface/Isolation.h
00039     userIsolation = cms.PSet(),
00040 
00041     # photon ID
00042     addPhotonID = cms.bool(True),
00043     photonIDSources = cms.PSet(
00044              PhotonCutBasedIDLoose = cms.InputTag('PhotonIDProd',
00045                                                   'PhotonCutBasedIDLoose'),
00046              PhotonCutBasedIDTight = cms.InputTag('PhotonIDProd',
00047                                                   'PhotonCutBasedIDTight')
00048            ),
00049     # mc matching
00050     addGenMatch = cms.bool(True),
00051     embedGenMatch = cms.bool(True),
00052     genParticleMatch = cms.InputTag("photonMatch"), ## particles source to be used for the matching
00053 
00054     # efficiencies
00055     addEfficiencies = cms.bool(False),
00056     efficiencies    = cms.PSet(),
00057 
00058     # resolutions
00059     addResolutions  = cms.bool(False),
00060     resolutions     = cms.PSet()
00061 
00062 )