Functions | |
def | customise |
def generatorProducer::customise | ( | process | ) |
Definition at line 3 of file generatorProducer.py.
00003 : 00004 process.RandomNumberGeneratorService.generator = process.RandomNumberGeneratorService.theSource 00005 00006 process.genParticles.abortOnUnknownPDGCode = False 00007 process.genParticles.src = 'generator' 00008 process.genParticleCandidates.src = 'generator' 00009 process.genEventWeight.src = 'generator' 00010 process.genEventScale.src = 'generator' 00011 process.genEventPdfInfo.src = 'generator' 00012 try: 00013 process.genEventProcID.src = 'generator' 00014 except: 00015 pass 00016 00017 process.VtxSmeared.src = 'generator' 00018 00019 try: 00020 process.g4SimHits.Generator.HepMCProductLabel = 'generator' 00021 process.mergedtruth.HepMCDataLabels.append('generator') 00022 except: 00023 pass 00024 00025 process.output.outputCommands.append('keep *_source_*_*') 00026 process.output.outputCommands.append('keep *_generator_*_*') 00027 00028 return process return process