Newer
Older
TB_Chris / Kepler / options / online / .svn / text-base / OnlineMonitor.py.svn-base
@iaro iaro on 9 May 2016 618 bytes first attempt of automated anal
  1.  
  2. #-------------- EXTRA LINES TO RUN MONITOR SERVICE ONLINE --------------#
  3. import os
  4. from Gaudi.Configuration import ApplicationMgr
  5.  
  6. from Configurables import LHCb__EventRunable
  7. ApplicationMgr().Runable= LHCb__EventRunable("Runable",NumErrorToStop=1)
  8.  
  9. from Configurables import MonitorSvc
  10. ApplicationMgr().ExtSvc += ["MonitorSvc"]
  11. MonitorSvc().ExpandNameInfix=os.environ["UTGID"]+"/"
  12. MonitorSvc().ExpandCounterServices = 1
  13. MonitorSvc().DimUpdateInterval = 1
  14.  
  15. def run():
  16. import OnlineEnv as Online
  17. Online.end_config(False)
  18.  
  19.  
  20.  
  21. #----------------------- USER JOB CONFIGURATION ------------------------#
  22. import example