1 import FWCore.ParameterSet.Config
as cms
5 analyzer = getattr(process,analyzerName)
7 print "Changing weight in "+analyzerName
8 analyzer.UseWeightFromHepMC = cms.bool(
False)
9 analyzer.genEventInfos = vWeightProducerTags
10 setattr(process, analyzerName, analyzer)
28 analyzer = getattr(process,analyzerName)
30 print "Changing inputSource in "+analyzerName
31 analyzer.hepmcCollection = source
32 setattr(process, analyzerName, analyzer)
36 process.genParticles.src =
'lhe2HepMCConverter'