![]() |
ATLAS Offline Software
|
Classes | |
| class | Counter |
| class | DiffFiles |
| class | PoolFile |
| class | PoolFileCatalog |
| class | PoolOpts |
| class | PoolRecord |
| class | Units |
| — data ---------------------------------------------------------------— More... | |
Functions | |
| def | isRNTuple (obj) |
| def | _get_total_size (branch) |
| def | file_name (fname) |
| def | _setup_ssl (root) |
| def | _root_open (fname) |
| def | retrieveBranchInfos (branch, poolRecord, ident="") |
| def | make_pool_record (branch, dirType) |
| def | poolRecord (self, name) |
| def | saveReport (self, fileName) |
| def | _save_shelve_report (self, fileName) |
| def | _save_csv_report (self, fileName) |
| def | __del__ (self) |
Variables | |
| __author__ | |
| __all__ | |
| — data ---------------------------------------------------------------— More... | |
| stdout | |
| out.write( "#### Map ####" + os.linesep ) out.flush() self.poolFile.Map() out.write( "#" * 80 + os.linesep ) More... | |
| poolFile | |
| def python.PoolFile.__del__ | ( | self | ) |
Definition at line 946 of file PoolFile.py.
|
private |
Definition at line 308 of file PoolFile.py.
|
private |
Definition at line 394 of file PoolFile.py.
|
private |
|
private |
Save all the gathered informations into a python shelve
Data can then be read like so:
>>> import shelve
>>> db = shelve.open( 'myfile.dat', 'r' )
>>> report = db['report']
>>> print ('fileSize:',report['fileSize'])
>>> print ('dataHeader/memSize:',report['dataHeader'].memSize)
>>> for d in report['data']:
... print ('data:',d.name,d.nEntries,d.memSize)
Definition at line 899 of file PoolFile.py.
|
private |
Definition at line 380 of file PoolFile.py.
| def python.PoolFile.file_name | ( | fname | ) |
take a file name, return the pair (protocol, 'real' file name)
Definition at line 320 of file PoolFile.py.
| def python.PoolFile.isRNTuple | ( | obj | ) |
Definition at line 35 of file PoolFile.py.
| def python.PoolFile.make_pool_record | ( | branch, | |
| dirType | |||
| ) |
Definition at line 440 of file PoolFile.py.
| def python.PoolFile.poolRecord | ( | self, | |
| name | |||
| ) |
Return a PoolRecord according to its (branch) name Raise KeyError if no match is found
Definition at line 879 of file PoolFile.py.
| def python.PoolFile.retrieveBranchInfos | ( | branch, | |
| poolRecord, | |||
ident = "" |
|||
| ) |
Definition at line 419 of file PoolFile.py.
| def python.PoolFile.saveReport | ( | self, | |
| fileName | |||
| ) |
Save all the gathered informations into a python shelve or a CSV file (depending on the @param `fileName` extension)
Definition at line 889 of file PoolFile.py.
|
private |
— data ---------------------------------------------------------------—
Definition at line 11 of file PoolFile.py.
|
private |
Definition at line 8 of file PoolFile.py.
| python.PoolFile.poolFile |
Definition at line 950 of file PoolFile.py.
| python.PoolFile.stdout |
out.write( "#### Map ####" + os.linesep ) out.flush() self.poolFile.Map() out.write( "#" * 80 + os.linesep )
Definition at line 876 of file PoolFile.py.
1.8.18