The Gaudi Framework  v36r1 (3e2fb5a8)
HistoEx Namespace Reference

Classes

class  HistoEx
 

Functions

def configure (gaudi=None)
 

Variables

string __author__ = 'Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr'
 
 gaudi = AppMgr()
 
 alg = gaudi.algorithm('HistoEx')
 
 histos = alg.Histos()
 
 histo = histos[key]
 

Function Documentation

◆ configure()

def HistoEx.configure (   gaudi = None)
Configuration of the job 

Definition at line 56 of file HistoEx.py.

56 def configure(gaudi=None):
57  """ Configuration of the job """
58 
59  if not gaudi:
60  from GaudiPython.Bindings import AppMgr
61  gaudi = AppMgr()
62 
63  gaudi.JobOptionsType = 'NONE'
64  gaudi.EvtSel = 'NONE'
65  gaudi.HistogramPersistency = 'ROOT'
66 
67  gaudi.config()
68 
69  gaudi.DLLs = [
70  'GaudiAlg',
71  'RootHistCnv',
72  ]
73 
74  alg = HistoEx('HistoEx')
75  gaudi.setAlgorithms([alg])
76  alg.HistoPrint = True
77 
78  hsvc = gaudi.service('HistogramPersistencySvc')
79  hsvc.OutputFile = "histo1.root"
80 
81  # This does not harm and tests bug #50389
82  getMyalgBack = gaudi.algorithm('HistoEx')
83 
84  return SUCCESS
85 
86 
87 # =============================================================================
88 # The actual job excution
89 # =============================================================================

Variable Documentation

◆ __author__

string HistoEx.__author__ = 'Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr'
private

Definition at line 23 of file HistoEx.py.

◆ alg

HistoEx.alg = gaudi.algorithm('HistoEx')

Definition at line 100 of file HistoEx.py.

◆ gaudi

HistoEx.gaudi = AppMgr()

Definition at line 94 of file HistoEx.py.

◆ histo

HistoEx.histo = histos[key]

Definition at line 103 of file HistoEx.py.

◆ histos

HistoEx.histos = alg.Histos()

Definition at line 101 of file HistoEx.py.

HistoEx
Definition: HistoEx.py:1
GaudiPython.Bindings
Definition: Bindings.py:1
HistoEx.configure
def configure(gaudi=None)
Definition: HistoEx.py:56