Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:16:22

0001 import FWCore.ParameterSet.Config as cms
0002 import PhysicsTools.PatAlgos.PATPhotonProducer_cfi as _mod
0003 
0004 patPhotons = _mod.PATPhotonProducer.clone(
0005     # input collection
0006     photonSource   = "gedPhotons",
0007     electronSource = "gedGsfElectrons",
0008     beamLineSrc    = "offlineBeamSpot",
0009 
0010     # user data to add
0011     userData = dict(
0012       # add custom classes here
0013       userClasses = cms.PSet(
0014         src = cms.VInputTag('')
0015       ),
0016       # add doubles here
0017       userFloats = cms.PSet(
0018         src = cms.VInputTag('')
0019       ),
0020       # add ints here
0021       userInts = cms.PSet(
0022         src = cms.VInputTag('')
0023       ),
0024       # add candidate ptrs here
0025       userCands = cms.PSet(
0026         src = cms.VInputTag('')
0027       ),
0028       # add "inline" functions here
0029       userFunctions = [],
0030       userFunctionLabels = []
0031     ),
0032 
0033     # embedding of AOD items
0034     embedSuperCluster      = True, ## whether to embed in AOD externally stored supercluster
0035     embedSeedCluster       = True, ## embed in AOD externally stored the photon's seedcluster 
0036     embedBasicClusters     = True, ## embed in AOD externally stored the photon's basic clusters 
0037     embedPreshowerClusters = True, ## embed in AOD externally stored the photon's preshower clusters 
0038     embedRecHits           = True, ## embed in AOD externally stored the RecHits - can be called from the PATPhotonProducer 
0039     saveRegressionData     = True, ## save regression input variables
0040     
0041     # embed IsoDeposits to recompute isolation
0042     isoDeposits = cms.PSet(),
0043 
0044     # user defined isolation variables the variables defined here will be accessible
0045     # via pat::Photon::userIsolation(IsolationKeys key) with the key as defined in
0046     # DataFormats/PatCandidates/interface/Isolation.h
0047     userIsolation = dict(
0048         #PFClusterEcalIso = 'electronEcalPFClusterIsolationProducer',
0049         #PFClusterHcalIso = 'electronHcalPFClusterIsolationProducer',
0050         ),
0051 
0052     # photon ID
0053     addPhotonID     = False,
0054     photonIDSources = cms.PSet(),
0055     # mc matching
0056     addGenMatch      = True,
0057     embedGenMatch    = True,
0058     genParticleMatch = "photonMatch", ## particles source to be used for the matching
0059 
0060     # efficiencies
0061     addEfficiencies = False,
0062     efficiencies    = dict(),
0063 
0064     # resolutions
0065     addResolutions  = False,
0066     resolutions     = dict(),
0067 
0068     # PFClusterIso
0069     addPFClusterIso     = False,
0070     ecalPFClusterIsoMap = "",
0071     hcalPFClusterIsoMap = "",
0072     addPuppiIsolation   = False
0073 )
0074 del patPhotons.photonIDSource