/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
PhysicsTools/PatAlgos/python/mcMatchLayer0/trackMuMatch_cfi.py
18 строк
1 KB
Giulio Eulisse
Snapshot of CMSSW_6_2_0_pre8.
26 июн 2013, 18:12
26 июн 2013, 18:12
214ab73
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms # # Example for a configuration of the MC match # for muons (cuts are NOT tuned) # (using old values from TQAF, january 2008) # trackMuMatch = cms.EDProducer("MCMatcher", # cut on deltaR, deltaPt/Pt; pick best by deltaR src = cms.InputTag("allLayer0TrackCands"), # RECO objects to match matched = cms.InputTag("genParticles"), # mc-truth particle collection mcPdgId = cms.vint32(13), # one or more PDG ID (13 = muon); absolute values (see below) checkCharge = cms.bool(True), # True = require RECO and MC objects to have the same charge mcStatus = cms.vint32(1), # PYTHIA status code (1 = stable, 2 = shower, 3 = hard scattering) maxDeltaR = cms.double(0.5), # Minimum deltaR for the match maxDPtRel = cms.double(0.5), # Minimum deltaPt/Pt for the match resolveAmbiguities = cms.bool(True), # Forbid two RECO objects to match to the same GEN object resolveByMatchQuality = cms.bool(False), # False = just match input in order; True = pick lowest deltaR pair first )