The Gaudi Framework  v36r10 (fc05264c)
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 
62  gaudi = AppMgr()
63 
64  gaudi.JobOptionsType = "NONE"
65  gaudi.EvtSel = "NONE"
66  gaudi.HistogramPersistency = "ROOT"
67 
68  gaudi.config()
69 
70  gaudi.DLLs = [
71  "GaudiAlg",
72  "RootHistCnv",
73  ]
74 
75  alg = HistoEx("HistoEx")
76  gaudi.setAlgorithms([alg])
77  alg.HistoPrint = True
78 
79  hsvc = gaudi.service("HistogramPersistencySvc")
80  hsvc.OutputFile = "histoex.root"
81 
82  # This does not harm and tests bug #50389
83  getMyalgBack = gaudi.algorithm("HistoEx")
84 
85  return SUCCESS
86 
87 
88 # =============================================================================
89 # The actual job excution
90 # =============================================================================

Variable Documentation

◆ __author__

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

Definition at line 24 of file HistoEx.py.

◆ alg

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

Definition at line 102 of file HistoEx.py.

◆ gaudi

HistoEx.gaudi = AppMgr()

Definition at line 96 of file HistoEx.py.

◆ histo

HistoEx.histo = histos[key]

Definition at line 105 of file HistoEx.py.

◆ histos

HistoEx.histos = alg.Histos()

Definition at line 103 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