Skip to content
Snippets Groups Projects

Move instantiation of LoKi service from Phys to DaVinci

Merged Eduardo Rodrigues requested to merge erodrigu-loki-svc into master
1 file
+ 11
3
Compare changes
  • Side-by-side
  • Inline
@@ -9,10 +9,8 @@
# or submit itself to any jurisdiction. #
###############################################################################
"""
High level configuration tools for DaVinci
High level configuration tools for DaVinci.
"""
__version__ = "$Id: Configuration.py,v 1.125 2010-09-10 11:31:19 jpalac Exp $"
__author__ = "Juan Palacios <juan.palacios@nikhef.nl>"
from LHCbKernel.Configuration import *
from Configurables import GaudiSequencer
@@ -383,6 +381,15 @@ class DaVinci(LHCbConfigurableUser) :
Members = initSeqs,
IgnoreFilterPassed = True)
# LoKi service
def loki(self):
"""
Define the LoKi service.
"""
from Configurables import LoKiSvc
lokiService = LoKiSvc()
ApplicationMgr().ExtSvc += [lokiService]
################################################################################
# Lumi setup
#
@@ -762,6 +769,7 @@ class DaVinci(LHCbConfigurableUser) :
msgSvc.setWarning += ['RFileCnv']
self._defineMonitors()
self.loki()
self._defineEvents()
self._defineInput()
self._rootFiles()
Loading