|
Gaudi Framework, version v25r2 |
| Home | Generated: Wed Jun 4 2014 |

Public Member Functions | |
| def | __init__ |
| def | save |
| def | close |
Public Attributes | |
| file | |
| aida2root | |
| aidaTypes | |
Private Member Functions | |
| def | __convertibleType |
Static Private Attributes | |
| string | __author__ "Juan Palacios juan.palacios@nikhef.nl" |
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 814 of file HistoUtils.py.
| def GaudiPython.HistoUtils.HistoFile.__init__ | ( | self, | |
| fileName | |||
| ) |
Definition at line 831 of file HistoUtils.py.
|
private |
Definition at line 842 of file HistoUtils.py.
| def GaudiPython.HistoUtils.HistoFile.close | ( | self | ) |
Definition at line 863 of file HistoUtils.py.
| def GaudiPython.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 848 of file HistoUtils.py.
|
staticprivate |
Definition at line 829 of file HistoUtils.py.
| GaudiPython.HistoUtils.HistoFile.aida2root |
Definition at line 834 of file HistoUtils.py.
| GaudiPython.HistoUtils.HistoFile.aidaTypes |
Definition at line 835 of file HistoUtils.py.
| GaudiPython.HistoUtils.HistoFile.file |
Definition at line 832 of file HistoUtils.py.