Skip to content
Snippets Groups Projects
README.rst 40.4 KiB
Newer Older
Zineb Aly's avatar
Zineb Aly committed

reading mc hits data
""""""""""""""""""""

to read mc hits data:

.. code-block:: python3

Zineb Aly's avatar
Zineb Aly committed
    >>> r.mc_hits
Zineb Aly's avatar
Zineb Aly committed
    <OfflineHits: 10 parsed elements>

that's it! All branches in mc hits tree can be accessed in the exact same way described in the section `reading hits data <#reading-hits-data>`__ . All data is easily accesible and if you are stuck, hit tab key to see all the available branches:

Zineb Aly's avatar
Zineb Aly committed
.. image:: https://git.km3net.de/km3py/km3io/raw/master/examples/pictures/mc_hits.png
Zineb Aly's avatar
Zineb Aly committed

reading mc tracks data
""""""""""""""""""""""

to read mc tracks data:

.. code-block:: python3

Zineb Aly's avatar
Zineb Aly committed
    >>> r.mc_tracks
Zineb Aly's avatar
Zineb Aly committed
    <OfflineTracks: 10 parsed elements>

that's it! All branches in mc tracks tree can be accessed in the exact same way described in the section `reading tracks data <#reading-tracks-data>`__ . All data is easily accesible and if you are stuck, hit tab key to see all the available branches:

Zineb Aly's avatar
Zineb Aly committed
.. image:: https://git.km3net.de/km3py/km3io/raw/master/examples/pictures/mc_tracks.png