Variables | |
tuple | myJetGenJetMatch |
tuple | myMuonMatch |
00001 cms.EDProducer("GenJetMatcher", # cut on deltaR, deltaPt/Pt; pick best by deltaR 00002 src = cms.InputTag("ak5CaloJets"), # RECO jets (any View<Jet> is ok) 00003 matched = cms.InputTag("ak5GenJets"), # GEN jets (must be GenJetCollection) 00004 mcPdgId = cms.vint32(), # n/a 00005 mcStatus = cms.vint32(), # n/a 00006 checkCharge = cms.bool(False), # n/a 00007 maxDeltaR = cms.double(0.4), # Minimum deltaR for the match 00008 maxDPtRel = cms.double(3.0), # Minimum deltaPt/Pt for the match 00009 resolveAmbiguities = cms.bool(True), # Forbid two RECO objects to match to the same GEN object 00010 resolveByMatchQuality = cms.bool(False) # False = just match input in order; True = pick lowest deltaR pair first 00011 )
Definition at line 14 of file mcMatch_cfi.py.
tuple mcMatch_cfi::myMuonMatch |
00001 cms.EDProducer("MCMatcher", # cut on deltaR, deltaPt/Pt; pick best by deltaR 00002 src = cms.InputTag("muons"), # RECO objects to match 00003 matched = cms.InputTag("genParticles"), # mc-truth particle collection 00004 mcPdgId = cms.vint32(13), # one or more PDG ID (13 = muon); absolute values (see below) 00005 checkCharge = cms.bool(True), # True = require RECO and MC objects to have the same charge 00006 mcStatus = cms.vint32(1), # PYTHIA status code (1 = stable, 2 = shower, 3 = hard scattering) 00007 maxDeltaR = cms.double(0.5), # Minimum deltaR for the match 00008 maxDPtRel = cms.double(0.5), # Minimum deltaPt/Pt for the match 00009 resolveAmbiguities = cms.bool(True), # Forbid two RECO objects to match to the same GEN object 00010 resolveByMatchQuality = cms.bool(False) # False = just match input in order; True = pick lowest deltaR pair first 00011 )
Definition at line 3 of file mcMatch_cfi.py.