Skip to content
Snippets Groups Projects

Added first edition of genParticleProducer for 2016.

Closed Alexx Perloff requested to merge github/fork/sbein/Run2 into Run2
3 files
+ 95
98
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -155,15 +155,16 @@ signal=False
## GenParticles
## ----------------------------------------------------------------------------------------------
if geninfo :
process.genParticles = cms.EDProducer("genParticlesProducer",
process.genParticles = cms.EDProducer("GenParticlesProducer",
genCollection = cms.untracked.InputTag("prunedGenParticles"),
debug = cms.untracked.bool(False)
)
process.Baseline += process.genParticles
## JACK--do we really need to save all of these?
VectorTLorentzVector.append("genParticles(genParticles)")
VectorInt.append("genParticles:PDGid(genParticles_PDGid)")
#VectorInt.append("genParticles:parent(genParticles_parent)")
VectorInt.append("genParticles:PdgId(genParticles_PdgId)")
VectorInt.append("genParticles:Status(genParticles_Status)")
VectorInt.append("genParticles:Parent(genParticles_ParentIdx)")
VectorInt.append("genParticles:ParentId(genParticles_ParentId)")
# mother and LSP masses for SUSY signal scans
# branches always added, but only have values for fastsim samples
Loading