1 from __future__
import print_function
2 import FWCore.ParameterSet.Config
as cms
6 analyzer = getattr(process,analyzerName)
8 print(
"Changing weight in "+analyzerName)
9 analyzer.UseWeightFromHepMC = cms.bool(
False)
10 analyzer.genEventInfos = vWeightProducerTags
11 setattr(process, analyzerName, analyzer)
29 analyzer = getattr(process,analyzerName)
31 print(
"Changing inputSource in "+analyzerName)
32 analyzer.hepmcCollection = source
33 setattr(process, analyzerName, analyzer)
37 process.genParticles.src =
'lhe2HepMCConverter'
S & print(S &os, JobReport::InputFile const &f)