The Gaudi Framework
master (594c33fa)
|
Public Member Functions | |
def | __init__ (self, fileName) |
def | save (self, *args) |
def | close (self) |
Public Attributes | |
file | |
aida2root | |
aidaTypes | |
Private Member Functions | |
def | __convertibleType (self, histo) |
Static Private Attributes | |
__author__ | |
Class to write histograms to a ROOT file. hFile = HistoFile("myFile.root") myHisto = ... hFile.save(myHisto) myHisto0 = ... myHisto1 = ... myHisto2 = ... hFile.save(myHisto0, myHisto1, myHisto2) histoList = [h0, h1, h2, h3] hFile.save(histoList) ... hWriter.close()
Definition at line 1008 of file HistoUtils.py.
def GaudiAlg.HistoUtils.HistoFile.__init__ | ( | self, | |
fileName | |||
) |
Definition at line 1026 of file HistoUtils.py.
|
private |
Definition at line 1040 of file HistoUtils.py.
def GaudiAlg.HistoUtils.HistoFile.close | ( | self | ) |
Definition at line 1063 of file HistoUtils.py.
def GaudiAlg.HistoUtils.HistoFile.save | ( | self, | |
* | args | ||
) |
This function stores histograms on the file for future saving. It takes an arbitrary number of AIDA or ROOT histograms or a list of them.
Definition at line 1047 of file HistoUtils.py.
|
staticprivate |
Definition at line 1024 of file HistoUtils.py.
GaudiAlg.HistoUtils.HistoFile.aida2root |
Definition at line 1030 of file HistoUtils.py.
GaudiAlg.HistoUtils.HistoFile.aidaTypes |
Definition at line 1031 of file HistoUtils.py.
GaudiAlg.HistoUtils.HistoFile.file |
Definition at line 1027 of file HistoUtils.py.