Skip to content
Snippets Groups Projects
Commit 8f8fb927 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'dsoFix.GeneratorModules-20181017' into 'master'

GeneratorModules: Avoid loading DSOs during job configuration.

See merge request atlas/athena!15115
parents dcbee6fa ad54e161
No related branches found
No related tags found
No related merge requests found
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
from AthenaPython import PyAthena
from AthenaPython.PyAthena import StatusCode, McEventCollection, HepMC, CLHEP
import McParticleEvent.Pythonizations
from AthenaPython.PyAthena import StatusCode
import ROOT
......@@ -28,11 +27,14 @@ class EvgenAlg(PyAthena.Alg):
def initialize(self):
import McParticleEvent.Pythonizations
self.msg.debug("Initializing [%s]", self.name())
return self.genInitialize()
def execute(self):
from AthenaPython.PyAthena import McEventCollection, HepMC
self.msg.debug("Executing [%s]", self.name())
## Retrieve MC event collection or create a new one
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment