CMS 3D CMS Logo

photonProducer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 allLayer1Photons = cms.EDProducer("PATPhotonProducer",
00004     # General configurables
00005     photonSource = cms.InputTag("photons"),
00006 
00007                                   
00008     # user data to add
00009     userData = cms.PSet(
00010       # add custom classes here
00011       userClasses = cms.PSet(
00012         src = cms.VInputTag('')
00013       ),
00014       # add doubles here
00015       userFloats = cms.PSet(
00016         src = cms.VInputTag('')
00017       ),
00018       # add ints here
00019       userInts = cms.PSet(
00020         src = cms.VInputTag('')
00021       ),
00022       # add "inline" functions here
00023       userFunctions = cms.vstring(""),
00024       userFunctionLabels = cms.vstring("")
00025     ),
00026 
00027     embedSuperCluster = cms.bool(True), ## whether to embed in AOD externally stored supercluster
00028 
00029     # Isolation configurables
00030     #   store isolation values
00031     isolation = cms.PSet(
00032         tracker = cms.PSet(
00033             src = cms.InputTag("gamIsoFromDepsTk"),
00034         ),
00035         ecal = cms.PSet(
00036             src = cms.InputTag("gamIsoFromDepsEcalFromHits"),
00037         ),
00038         hcal = cms.PSet(
00039             src = cms.InputTag("gamIsoFromDepsHcalFromTowers"),
00040         ),
00041         user = cms.VPSet(),
00042     ),
00043     #   store isodeposits to recompute isolation
00044     isoDeposits = cms.PSet(
00045         tracker = cms.InputTag("gamIsoDepositTk"),
00046         ecal    = cms.InputTag("gamIsoDepositEcalFromHits"),
00047         hcal    = cms.InputTag("gamIsoDepositHcalFromTowers"),
00048     ),
00049 
00050     # PhotonID configurables
00051     addPhotonID = cms.bool(True),
00052     photonIDSource = cms.InputTag("PhotonIDProd","PhotonAssociatedID"), ## ValueMap<reco::PhotonID> keyed to photonSource
00053 
00054     # Trigger matching configurables
00055     addTrigMatch = cms.bool(True),
00056     trigPrimMatch = cms.VInputTag(cms.InputTag("photonTrigMatchHLT1PhotonRelaxed")),
00057 
00058     # MC matching configurables
00059     addGenMatch = cms.bool(True),
00060     embedGenMatch = cms.bool(False),
00061     genParticleMatch = cms.InputTag("photonMatch"), ## particles source to be used for the matching
00062 
00063     # Efficiencies
00064     addEfficiencies = cms.bool(False),
00065     efficiencies    = cms.PSet(),
00066 
00067     # Resolutions
00068     addResolutions  = cms.bool(False),
00069 )
00070 
00071 

Generated on Tue Jun 9 17:41:44 2009 for CMSSW by  doxygen 1.5.4