Skip to content

Commit ad90237

Browse files
authored
Merge pull request #48391 from tvami/CMSFastGenParticleCandidateProducerCleanup
Remove deprecated genParticleCandidates
2 parents d4f920d + a04220a commit ad90237

16 files changed

+16
-34
lines changed

CommonTools/CandAlgos/test/testCandSelectors.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,31 +12,31 @@
1212

1313
# select the 10 particles with the larget Pt
1414
process.largestPtCands = EDProducer("LargestPtCandSelector",
15-
src = InputTag("genParticleCandidates"),
15+
src = InputTag("genParticles"),
1616
maxNumber = uint32( 10 )
1717
)
1818

1919
# select only electrons, and save a vector of references
2020
process.electronRefs = EDProducer("PdgIdCandRefVectorSelector",
21-
src = InputTag("genParticleCandidates"),
21+
src = InputTag("genParticles"),
2222
pdgId = vint32( 11 )
2323
)
2424

2525
# select only electrons, and save clones
2626
process.electrons = EDProducer("PdgIdCandSelector",
27-
src = InputTag("genParticleCandidates"),
27+
src = InputTag("genParticles"),
2828
pdgId = vint32( 11 )
2929
)
3030

3131
# select only muons, and save a vector of references
3232
process.muonRefs = EDProducer("PdgIdCandRefVectorSelector",
33-
src = InputTag("genParticleCandidates"),
33+
src = InputTag("genParticles"),
3434
pdgId = vint32( 13 )
3535
)
3636

3737
# select only muons, and save clones
3838
process.muons = EDProducer("PdgIdCandSelector",
39-
src = InputTag("genParticleCandidates"),
39+
src = InputTag("genParticles"),
4040
pdgId = vint32( 13 )
4141
)
4242

GeneratorInterface/AlpgenInterface/test/test_TEMPLATE_cfg.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545

4646
#process.VtxSmeared.src = 'generator'
4747
#process.genParticles.src = 'VtxSmeared'
48-
#process.genParticleCandidates.src = 'VtxSmeared'
4948

5049
# Needed for the SIM step.
5150
#process.g4SimHits.Generator.HepMCProductLabel = 'VtxSmeared'

PhysicsTools/HepMCCandAlgos/python/allElectronsGenParticlesMatch_cfi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
src = cms.InputTag("allElectrons"),
55
distMin = cms.double(0.15),
66
matchPDGId = cms.vint32(11),
7-
matched = cms.InputTag("genParticleCandidates")
7+
matched = cms.InputTag("genParticles")
88
)
99

1010

PhysicsTools/HepMCCandAlgos/python/allMuonsGenParticlesMatch_cfi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
src = cms.InputTag("allMuons"),
55
distMin = cms.double(0.15),
66
matchPDGId = cms.vint32(13),
7-
matched = cms.InputTag("genParticleCandidates")
7+
matched = cms.InputTag("genParticles")
88
)
99

1010

PhysicsTools/HepMCCandAlgos/python/allStandAloneMuonTracksGenParticlesLeptonMatch_cfi.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# poor resolution
77
distMin = cms.double(0.5),
88
matchPDGId = cms.vint32(13),
9-
matched = cms.InputTag("genParticleCandidates")
9+
matched = cms.InputTag("genParticles")
1010
)
1111

12-

PhysicsTools/HepMCCandAlgos/python/allSuperClustersGenParticlesLeptonMatch_cfi.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
src = cms.InputTag("allSuperClusters"),
55
distMin = cms.double(0.15),
66
matchPDGId = cms.vint32(11),
7-
matched = cms.InputTag("genParticleCandidates")
7+
matched = cms.InputTag("genParticles")
88
)
99

10-

PhysicsTools/HepMCCandAlgos/python/allTracksGenParticlesLeptonMatch_cfi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
src = cms.InputTag("allTracks"),
55
distMin = cms.double(0.15),
66
matchPDGId = cms.vint32(11, 13),
7-
matched = cms.InputTag("genParticleCandidates")
7+
matched = cms.InputTag("genParticles")
88
)
99

1010

PhysicsTools/HepMCCandAlgos/python/allTracksGenParticlesMatch_cfi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
src = cms.InputTag("allTracks"),
55
distMin = cms.double(0.15),
66
matchPDGId = cms.vint32(),
7-
matched = cms.InputTag("genParticleCandidates")
7+
matched = cms.InputTag("genParticles")
88
)
99

1010

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import FWCore.ParameterSet.Config as cms
22

33
genParticles = cms.EDProducer("GenParticleCandidate2GenParticleProducer",
4-
src = cms.InputTag("genParticleCandidates")
4+
src = cms.InputTag("genParticles")
55
)
66

77

PhysicsTools/HepMCCandAlgos/python/genParticleCandidatesFast_cfi.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)