Skip to content

Commit

Permalink
Revert "Call gen particles pruner only for MC"
Browse files Browse the repository at this point in the history
This reverts commit 39d066d.
  • Loading branch information
Ivan Marchesini committed Jan 15, 2016
1 parent 39d066d commit e584ac5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/runBTagAnalyzer_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,17 +751,17 @@
# Remove MC matching when running over data
from PhysicsTools.PatAlgos.tools.coreTools import removeMCMatching
removeMCMatching( process, ['All'] )
else:

#-------------------------------------
## Add GenParticlePruner for boosted b-tagging studies
process.prunedGenParticlesBoost = cms.EDProducer('GenParticlePruner',
src = cms.InputTag(genParticles),
select = cms.vstring(
"drop * ", #by default
"keep ( status = 3 || (status>=21 && status<=29) )", #keep hard process particles
"keep abs(pdgId) = 13 || abs(pdgId) = 15" #keep muons and taus
)
)
process.prunedGenParticlesBoost = cms.EDProducer('GenParticlePruner',
src = cms.InputTag(genParticles),
select = cms.vstring(
"drop * ", #by default
"keep ( status = 3 || (status>=21 && status<=29) )", #keep hard process particles
"keep abs(pdgId) = 13 || abs(pdgId) = 15" #keep muons and taus
)
)

#-------------------------------------

Expand Down

0 comments on commit e584ac5

Please sign in to comment.