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 
0003 # NOTE: THIS IS JUST A SKELETON, YOU SHOULD FILL IT IN WITH "replace"
0004 
0005 patGenericParticles = cms.EDProducer("PATGenericParticleProducer",
0006     ## Input (anything readable with View<Candidate>
0007     src = cms.InputTag("REPLACE_ME"),
0008 
0009     # add user data
0010     userData = cms.PSet(
0011       # add custom classes here
0012       userClasses = cms.PSet(
0013         src = cms.VInputTag('')
0014       ),
0015       # add doubles here
0016       userFloats = cms.PSet(
0017         src = cms.VInputTag('')
0018       ),
0019       # add ints here
0020       userInts = cms.PSet(
0021         src = cms.VInputTag('')
0022       ),
0023       # add candidate ptrs here
0024       userCands = cms.PSet(
0025         src = cms.VInputTag('')
0026       ),
0027       # add "inline" functions here
0028       userFunctions = cms.vstring(),
0029       userFunctionLabels = cms.vstring()
0030     ),
0031 
0032     # AOD embedding
0033     embedTrack          = cms.bool(False),
0034     embedGsfTrack       = cms.bool(False), ## whether to embed in AOD externally stored gsf track
0035     embedStandAloneMuon = cms.bool(False), ## whether to embed in AOD externally stored standalone muon track
0036     embedCombinedMuon   = cms.bool(False), ## whether to embed in AOD externally stored combined muon track
0037     embedMultipleTracks = cms.bool(False), ## whether to embed in AOD externally stored multiple tracks (as per recoCandidate.track(int idx) )
0038     embedSuperCluster   = cms.bool(False), ## whether to embed in AOD externally stored supercluster
0039     embedCaloTower      = cms.bool(False), ## whether to embed in AOD externally stored calo tower
0040 
0041     # embed IsoDeposits to recompute isolation
0042     isoDeposits = cms.PSet(
0043     ),
0044 
0045     # user defined isolation variables the variables defined here will be accessible
0046     # via pat::GenericParticle::userIsolation(IsolationKeys key) with the key as defined in
0047     # DataFormats/PatCandidates/interface/Isolation.h
0048     userIsolation = cms.PSet(
0049     ),
0050                                            
0051     # any sort of "quality" value
0052     addQuality = cms.bool(False),
0053     qualitySource = cms.InputTag("REPLACE_ME"), ## must be ValueMap<float> associated to the input collection
0054 
0055     # MC matching configurables
0056     addGenMatch = cms.bool(False),
0057     embedGenMatch = cms.bool(False),
0058     genParticleMatch = cms.InputTag("REPLACE_ME"), ## particles source to be used for the matching
0059 
0060     # Efficiencies
0061     addEfficiencies = cms.bool(False),
0062     efficiencies    = cms.PSet(),
0063 
0064     # resolution
0065     addResolutions  = cms.bool(False),
0066     resolutions     = cms.PSet(),
0067 )