CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
photonProducer_cfi.py
Go to the documentation of this file.
2 
3 patPhotons = cms.EDProducer("PATPhotonProducer",
4  # input collection
5  photonSource = cms.InputTag("gedPhotons"),
6 
7  # user data to add
8  userData = cms.PSet(
9  # add custom classes here
10  userClasses = cms.PSet(
11  src = cms.VInputTag('')
12  ),
13  # add doubles here
14  userFloats = cms.PSet(
15  src = cms.VInputTag('')
16  ),
17  # add ints here
18  userInts = cms.PSet(
19  src = cms.VInputTag('')
20  ),
21  # add candidate ptrs here
22  userCands = cms.PSet(
23  src = cms.VInputTag('')
24  ),
25  # add "inline" functions here
26  userFunctions = cms.vstring(),
27  userFunctionLabels = cms.vstring()
28  ),
29 
30  # embedding of AOD items
31  embedSuperCluster = cms.bool(True), ## whether to embed in AOD externally stored supercluster
32 
33  # embed IsoDeposits to recompute isolation
34  isoDeposits = cms.PSet(),
35 
36  # user defined isolation variables the variables defined here will be accessible
37  # via pat::Photon::userIsolation(IsolationKeys key) with the key as defined in
38  # DataFormats/PatCandidates/interface/Isolation.h
39  userIsolation = cms.PSet(),
40 
41  # photon ID
42  addPhotonID = cms.bool(True),
43  photonIDSources = cms.PSet(
44  PhotonCutBasedIDLoose = cms.InputTag('PhotonIDProdGED',
45  'PhotonCutBasedIDLoose'),
46  PhotonCutBasedIDTight = cms.InputTag('PhotonIDProdGED',
47  'PhotonCutBasedIDTight')
48  ),
49  # mc matching
50  addGenMatch = cms.bool(True),
51  embedGenMatch = cms.bool(True),
52  genParticleMatch = cms.InputTag("photonMatch"), ## particles source to be used for the matching
53 
54  # efficiencies
55  addEfficiencies = cms.bool(False),
56  efficiencies = cms.PSet(),
57 
58  # resolutions
59  addResolutions = cms.bool(False),
60  resolutions = cms.PSet()
61 
62 )