CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
genericParticleProducer_cfi.py
Go to the documentation of this file.
2 
3 # NOTE: THIS IS JUST A SKELETON, YOU SHOULD FILL IT IN WITH "replace"
4 
5 patGenericParticles = cms.EDProducer("PATGenericParticleProducer",
6  ## Input (anything readable with View<Candidate>
7  src = cms.InputTag("REPLACE_ME"),
8 
9  # add user data
10  userData = cms.PSet(
11  # add custom classes here
12  userClasses = cms.PSet(
13  src = cms.VInputTag('')
14  ),
15  # add doubles here
16  userFloats = cms.PSet(
17  src = cms.VInputTag('')
18  ),
19  # add ints here
20  userInts = cms.PSet(
21  src = cms.VInputTag('')
22  ),
23  # add candidate ptrs here
24  userCands = cms.PSet(
25  src = cms.VInputTag('')
26  ),
27  # add "inline" functions here
28  userFunctions = cms.vstring(),
29  userFunctionLabels = cms.vstring()
30  ),
31 
32  # AOD embedding
33  embedTrack = cms.bool(False),
34  embedGsfTrack = cms.bool(False), ## whether to embed in AOD externally stored gsf track
35  embedStandAloneMuon = cms.bool(False), ## whether to embed in AOD externally stored standalone muon track
36  embedCombinedMuon = cms.bool(False), ## whether to embed in AOD externally stored combined muon track
37  embedMultipleTracks = cms.bool(False), ## whether to embed in AOD externally stored multiple tracks (as per recoCandidate.track(int idx) )
38  embedSuperCluster = cms.bool(False), ## whether to embed in AOD externally stored supercluster
39  embedCaloTower = cms.bool(False), ## whether to embed in AOD externally stored calo tower
40 
41  # embed IsoDeposits to recompute isolation
42  isoDeposits = cms.PSet(
43  ),
44 
45  # user defined isolation variables the variables defined here will be accessible
46  # via pat::GenericParticle::userIsolation(IsolationKeys key) with the key as defined in
47  # DataFormats/PatCandidates/interface/Isolation.h
48  userIsolation = cms.PSet(
49  ),
50 
51  # any sort of "quality" value
52  addQuality = cms.bool(False),
53  qualitySource = cms.InputTag("REPLACE_ME"), ## must be ValueMap<float> associated to the input collection
54 
55  # MC matching configurables
56  addGenMatch = cms.bool(False),
57  embedGenMatch = cms.bool(False),
58  genParticleMatch = cms.InputTag("REPLACE_ME"), ## particles source to be used for the matching
59 
60  # Efficiencies
61  addEfficiencies = cms.bool(False),
62  efficiencies = cms.PSet(),
63 
64  # resolution
65  addResolutions = cms.bool(False),
66  resolutions = cms.PSet(),
67 )