![]() |
ATLAS Offline Software
|
This package holds various python classes and scripts of general use.
The PyUtils package contains the following classes:
checkFile.py) is provided to easily inspect and dump the content of such POOL files: checkPlugins.py) is also provided: The PyUtils package provides some useful scripts:
checkFile.py : as mentionned above this script can inspect a POOL file and dump on screen its 'high level' content. It will tell you what kind of containers have been stored (eg: ElectronContainer, TruthParticleContainer,...) but it won't tell you more detailed properties (such as pt,eta distributions). That's however already useful and can be used for example to quickly check your algorithm did its job if it was supposed to process 100 events and create 100 MyZeeBosonContainer. Ex: magnifyPoolFile.py : even if the checkFile.py is rather useful it relies on ROOT to provide sensible informations. It may happen however that (for ROOT technical reasons) the reported disk sizes be inaccurate. This ROOT shortcoming can be worked around via the magnifyPoolFile.py script which will create a new POOL file whose content is the same than an input POOL file, only being many times replicated. Informations displayed by checkFile.py for this magnified POOL file should be more accurate. diffPoolFiles.py : little script to compare the content of 2 POOL files. It will check that 2 given POOL files have the same container names and for each matching container name, will check that the memory sizes are the same.